Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007495/0.0007495, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.001757, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000669/0.000669, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009005/0.001569, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9266/0.9266, allocations: 177.5 MB / 190 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08932/1.016, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|filter.x.[0-9,]+.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|filter.x.[0-9,]+.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.651e-06/5.651e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.217e-05/3.782e-05, allocations: 5.406 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002442/0.002479, allocations: 2.108 MB / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008126/0.003292, allocations: 0.5844 MB / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.003385, allocations: 0 / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.02e-05/0.003465, allocations: 23.67 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.003654, allocations: 83.36 kB / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.003822, allocations: 63.84 kB / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.004056, allocations: 263 kB / 248.3 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.004149, allocations: 34.88 kB / 248.4 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.004411, allocations: 236.5 kB / 248.6 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.004529, allocations: 95.62 kB / 248.7 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.004557, allocations: 16 kB / 248.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.496e-05/0.004582, allocations: 20 kB / 248.7 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.866e-05/0.00464, allocations: 47.8 kB / 248.8 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.874e-05/0.004689, allocations: 55.81 kB / 248.8 MB, free: 9.961 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.004844, allocations: 139.3 kB / 249 MB, free: 9.824 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.004855, allocations: 0 / 249 MB, free: 9.824 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004856, allocations: 0 / 249 MB, free: 9.824 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.004868, allocations: 4 kB / 249 MB, free: 9.82 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006024/0.00547, allocations: 0.5301 MB / 249.5 MB, free: 9.266 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.0055, allocations: 12.56 kB / 249.5 MB, free: 9.254 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.005544, allocations: 24.92 kB / 249.5 MB, free: 9.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.005733, allocations: 218.5 kB / 249.7 MB, free: 8.988 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.005742, allocations: 4.375 kB / 249.7 MB, free: 8.984 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.00577, allocations: 16.33 kB / 249.8 MB, free: 8.969 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.005891, allocations: 94.39 kB / 249.9 MB, free: 8.871 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.005898, allocations: 4 kB / 249.9 MB, free: 8.867 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.005909, allocations: 4 kB / 249.9 MB, free: 8.863 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.005915, allocations: 4 kB / 249.9 MB, free: 8.859 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.327e-05/0.005958, allocations: 27.92 kB / 249.9 MB, free: 8.832 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.006323, allocations: 290.6 kB / 250.2 MB, free: 8.531 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.006537, allocations: 122.5 kB / 250.3 MB, free: 8.402 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.006572, allocations: 24.84 kB / 250.3 MB, free: 8.375 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.006587, allocations: 0 / 250.3 MB, free: 8.375 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.006608, allocations: 42.56 kB / 250.4 MB, free: 8.324 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 7.31e-07/0.006609, allocations: 0 / 250.4 MB, free: 8.324 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007624/0.007372, allocations: 437 kB / 250.8 MB, free: 7.863 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.007397, allocations: 55.41 kB / 250.8 MB, free: 7.797 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.007565, allocations: 275 kB / 251.1 MB, free: 7.516 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.007583, allocations: 33.7 kB / 251.1 MB, free: 7.477 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.007639, allocations: 128.9 kB / 251.3 MB, free: 7.344 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/0.007689, allocations: 67.42 kB / 251.3 MB, free: 7.277 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.007731, allocations: 33.69 kB / 251.4 MB, free: 7.238 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.007814, allocations: 346.7 kB / 251.7 MB, free: 6.891 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.855e-05/0.007843, allocations: 16 kB / 251.7 MB, free: 6.875 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.917e-05/0.007872, allocations: 19.98 kB / 251.7 MB, free: 6.855 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.731e-05/0.007949, allocations: 74.94 kB / 251.8 MB, free: 6.781 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.00795, allocations: 0 / 251.8 MB, free: 6.781 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000112/0.008062, allocations: 109.6 kB / 251.9 MB, free: 6.668 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.008074, allocations: 7.938 kB / 251.9 MB, free: 6.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.008077, allocations: 4 kB / 251.9 MB, free: 6.656 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.008087, allocations: 0 / 251.9 MB, free: 6.656 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.008284, allocations: 71.94 kB / 252 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.008287, allocations: 0 / 252 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.374e-05/0.008341, allocations: 11.94 kB / 252 MB, free: 6.574 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.008349, allocations: 4 kB / 252 MB, free: 6.57 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.65e-05/0.008415, allocations: 120.6 kB / 252.1 MB, free: 6.441 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.008452, allocations: 27.91 kB / 252.2 MB, free: 6.414 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.008601, allocations: 124.7 kB / 252.3 MB, free: 6.281 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.008603, allocations: 4 kB / 252.3 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.008604, allocations: 0 / 252.3 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.008608, allocations: 7.922 kB / 252.3 MB, free: 6.27 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.008768, allocations: 153.8 kB / 252.4 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.008769, allocations: 0 / 252.4 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.009003, allocations: 85.53 kB / 252.5 MB, free: 6.02 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.009033, allocations: 31.75 kB / 252.6 MB, free: 5.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.009037, allocations: 3.984 kB / 252.6 MB, free: 5.984 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.009048, allocations: 4 kB / 252.6 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.00905, allocations: 3.984 kB / 252.6 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.009051, allocations: 0 / 252.6 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.009251, allocations: 253.1 kB / 252.8 MB, free: 5.715 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.009274, allocations: 11.98 kB / 252.8 MB, free: 5.703 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.009344, allocations: 8 kB / 252.8 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.009373, allocations: 7.984 kB / 252.8 MB, free: 5.688 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.009382, allocations: 11.98 kB / 252.9 MB, free: 5.676 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.115e-05/0.009463, allocations: 116.6 kB / 253 MB, free: 5.559 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009463, allocations: 0 / 253 MB, free: 5.559 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000146/0.009609, allocations: 40 kB / 253 MB, free: 5.52 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (invMixingUnit.c,invMixingUnit.T,filter.x[1],mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.472e-05/0.009694, allocations: 84.42 kB / 253.1 MB, free: 5.43 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.009804, allocations: 81.83 kB / 253.2 MB, free: 5.348 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.009812, allocations: 4 kB / 253.2 MB, free: 5.344 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.304e-05/0.009875, allocations: 68.66 kB / 253.2 MB, free: 5.273 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.01015, allocations: 304.5 kB / 253.5 MB, free: 4.926 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.01179, allocations: 0.5481 MB / 254.1 MB, free: 4.352 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.138e-05/0.01187, allocations: 88.31 kB / 254.2 MB, free: 4.246 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.033e-05/0.01196, allocations: 30.27 kB / 254.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.01209, allocations: 91.36 kB / 254.3 MB, free: 4.125 MB / 250.7 MB Notification: Performance of SimCode: time 1.212e-06/0.0121, allocations: 0 / 254.3 MB, free: 4.125 MB / 250.7 MB Notification: Performance of Templates: time 0.005087/0.01718, allocations: 3.296 MB / 257.6 MB, free: 0.9102 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.470384307205677]