Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 108.6 kB / 21.18 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 193.1 kB / 24.47 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 43.94 kB / 371.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2626, allocations: 52.17 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003631/0.2662, allocations: 2.248 MB / 426.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.2674, allocations: 0.6004 MB / 426.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.2675, allocations: 0 / 426.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.2676, allocations: 27.61 kB / 426.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.2679, allocations: 83.39 kB / 426.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.2681, allocations: 71.86 kB / 426.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.2685, allocations: 283 kB / 427.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.2686, allocations: 49.12 kB / 427.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.2688, allocations: 119.4 kB / 427.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.269, allocations: 147.2 kB / 427.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.449e-05/0.269, allocations: 20 kB / 427.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.859e-05/0.2691, allocations: 24 kB / 427.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.846e-05/0.2692, allocations: 59.7 kB / 427.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.2693, allocations: 131.1 kB / 427.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.2696, allocations: 263.9 kB / 428 MB, free: 10.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2696, allocations: 7.984 kB / 428 MB, free: 10.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2696, allocations: 0 / 428 MB, free: 10.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.2696, allocations: 0 / 428 MB, free: 10.54 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001134/0.2707, allocations: 0.5554 MB / 428.5 MB, free: 9.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2708, allocations: 15.97 kB / 428.6 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.2708, allocations: 32.75 kB / 428.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.2713, allocations: 254.7 kB / 428.8 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.2713, allocations: 20.41 kB / 428.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.2713, allocations: 16 kB / 428.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006739/0.272, allocations: 367.3 kB / 429.2 MB, free: 9.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.272, allocations: 4 kB / 429.2 MB, free: 9.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.272, allocations: 8 kB / 429.2 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.272, allocations: 4 kB / 429.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.2723, allocations: 91.89 kB / 429.3 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007283/0.273, allocations: 0.5005 MB / 429.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006946/0.2737, allocations: 303.6 kB / 430.1 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.2739, allocations: 130.8 kB / 430.3 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.2739, allocations: 11.84 kB / 430.3 MB, free: 8.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.274, allocations: 42.44 kB / 430.3 MB, free: 8.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.372e-06/0.274, allocations: 0 / 430.3 MB, free: 8.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002334/0.2763, allocations: 1.195 MB / 431.5 MB, free: 6.801 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.2764, allocations: 134.7 kB / 431.6 MB, free: 6.645 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/0.2768, allocations: 332.7 kB / 432 MB, free: 6.316 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.2768, allocations: 33.7 kB / 432 MB, free: 6.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.2769, allocations: 145.1 kB / 432.1 MB, free: 6.129 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.285e-05/0.277, allocations: 51.72 kB / 432.2 MB, free: 6.078 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.588e-05/0.2771, allocations: 66.14 kB / 432.3 MB, free: 6.008 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2773, allocations: 346.8 kB / 432.6 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.2774, allocations: 72.83 kB / 432.7 MB, free: 5.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.2777, allocations: 314.8 kB / 433 MB, free: 5.156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005038/0.2782, allocations: 424.9 kB / 433.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2783, allocations: 3.938 kB / 433.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006379/0.2789, allocations: 409 kB / 433.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.2789, allocations: 11.98 kB / 433.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.2789, allocations: 12 kB / 433.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.2789, allocations: 8 kB / 433.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.2792, allocations: 96.53 kB / 433.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/0.2792, allocations: 23.92 kB / 433.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.2795, allocations: 16 kB / 434 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.2795, allocations: 28 kB / 434 MB, free: 4.02 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 (filter.x[1],invMixingUnit.T,invMixingUnit.c,$DER.filter.x[1],$DER.invMixingUnit.c,$DER.invMixingUnit.T) * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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 0.000184/0.2797, allocations: 173.5 kB / 434.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004976/0.2802, allocations: 290.4 kB / 434.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006659/0.2808, allocations: 379.5 kB / 434.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2808, allocations: 11.94 kB / 434.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2808, allocations: 7.938 kB / 434.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.2809, allocations: 3.984 kB / 434.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.2813, allocations: 296.4 kB / 435.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2813, allocations: 0 / 435.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/0.2818, allocations: 127.8 kB / 435.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2818, allocations: 0 / 435.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.2819, allocations: 19.92 kB / 435.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.341e-05/0.2819, allocations: 4 kB / 435.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2819, allocations: 0 / 435.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.2829, allocations: 0.7148 MB / 436 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.283, allocations: 39.97 kB / 436 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.352e-05/0.283, allocations: 12 kB / 436 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.2833, allocations: 15.98 kB / 436 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.2833, allocations: 8.047 kB / 436.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.2834, allocations: 15.98 kB / 436.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002716/0.2836, allocations: 243.1 kB / 436.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2836, allocations: 0 / 436.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000437/0.2841, allocations: 64 kB / 436.4 MB, free: 1.543 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 ($DER.invMixingUnit.T,$DER.invMixingUnit.c,$DER.filter.x[1],invMixingUnit.c,invMixingUnit.T,filter.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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 0.000133/0.2842, allocations: 111.1 kB / 436.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005373/0.2847, allocations: 293.6 kB / 436.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2847, allocations: 4 kB / 436.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.886e-05/0.2848, allocations: 31.98 kB / 436.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007246/0.2855, allocations: 204.6 kB / 437 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.2869, allocations: 0.7597 MB / 437.8 MB, free: 112 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/0.2874, allocations: 0.8113 MB / 438.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.713e-05/0.2875, allocations: 35.44 kB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2875, allocations: 0 / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of Templates: time 0.006493/0.2939, allocations: 3.976 MB / 442.6 MB, free: 11.25 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.30259950296022]