Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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.001617/0.001617, allocations: 122.5 kB / 18.5 MB, free: 4.52 MB / 14.72 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.002277/0.002277, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 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 1.498/1.498, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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.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_trunk_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_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 59.89 kB / 373.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.108, allocations: 53.32 MB / 427.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003652/0.1117, allocations: 2.233 MB / 429.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.113, allocations: 0.6199 MB / 430 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.1131, allocations: 3.938 kB / 430 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.1133, allocations: 27.61 kB / 430 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.1136, allocations: 79.42 kB / 430.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.1139, allocations: 75.78 kB / 430.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.1142, allocations: 275.1 kB / 430.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.1144, allocations: 52.73 kB / 430.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/0.1147, allocations: 123.4 kB / 430.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.1149, allocations: 143.2 kB / 430.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.1149, allocations: 23.94 kB / 430.8 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.657e-05/0.1149, allocations: 24 kB / 430.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.351e-05/0.115, allocations: 63.69 kB / 430.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.1152, allocations: 127.1 kB / 431 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.1155, allocations: 266.7 kB / 431.3 MB, free: 352 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1155, allocations: 0 / 431.3 MB, free: 352 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1155, allocations: 0 / 431.3 MB, free: 352 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1155, allocations: 3.938 kB / 431.3 MB, free: 348 kB / 350.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.2194/0.3349, allocations: 0.6179 MB / 431.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.335, allocations: 9.812 kB / 431.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.229e-05/0.335, allocations: 37.27 kB / 431.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.3354, allocations: 315.2 kB / 432.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3354, allocations: 11.17 kB / 432.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.3355, allocations: 16.72 kB / 432.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006424/0.3361, allocations: 367 kB / 432.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3361, allocations: 4.344 kB / 432.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.3361, allocations: 12.16 kB / 432.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.3362, allocations: 3.75 kB / 432.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.3364, allocations: 88.75 kB / 432.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.337, allocations: 0.5301 MB / 433.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006748/0.3377, allocations: 301.4 kB / 433.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.3379, allocations: 137.7 kB / 433.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.3379, allocations: 0.5625 kB / 433.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.3379, allocations: 39.72 kB / 433.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.824e-06/0.3379, allocations: 0.8906 kB / 433.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002168/0.3401, allocations: 1.345 MB / 435.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/0.3402, allocations: 139 kB / 435.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.3405, allocations: 331.3 kB / 435.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.3405, allocations: 33.14 kB / 435.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.3406, allocations: 147.9 kB / 435.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.509e-05/0.3406, allocations: 53.72 kB / 435.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.3407, allocations: 71.38 kB / 435.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.717e-05/0.3408, allocations: 344 kB / 436.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.3409, allocations: 69.41 kB / 436.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.3412, allocations: 318.5 kB / 436.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.3415, allocations: 416.8 kB / 437 MB, free: 8.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3415, allocations: 2.25 kB / 437 MB, free: 8.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005761/0.3421, allocations: 410.9 kB / 437.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3421, allocations: 8.469 kB / 437.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.3421, allocations: 13.78 kB / 437.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.169e-05/0.3421, allocations: 11.47 kB / 437.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.3424, allocations: 95.2 kB / 437.5 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/0.3424, allocations: 19.73 kB / 437.5 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.3426, allocations: 24.48 kB / 437.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.3427, allocations: 21.8 kB / 437.5 MB, free: 8.262 MB / 350.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.0001552/0.3428, allocations: 174 kB / 437.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004568/0.3433, allocations: 298.6 kB / 438 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006163/0.3439, allocations: 379 kB / 438.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.3439, allocations: 6.734 kB / 438.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3439, allocations: 1.125 kB / 438.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.3439, allocations: 3.812 kB / 438.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003949/0.3443, allocations: 318.9 kB / 438.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3443, allocations: 5.062 kB / 438.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/0.3449, allocations: 127.1 kB / 438.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3449, allocations: 2.75 kB / 438.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.3449, allocations: 17.86 kB / 438.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.345, allocations: 2.906 kB / 438.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.345, allocations: 1.25 kB / 438.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009714/0.3459, allocations: 0.713 MB / 439.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.099e-05/0.346, allocations: 119.5 kB / 439.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.3461, allocations: 13.95 kB / 439.7 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.3463, allocations: 15.38 kB / 439.7 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.3463, allocations: 7.438 kB / 439.7 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.3464, allocations: 14.8 kB / 439.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002595/0.3466, allocations: 243 kB / 440 MB, free: 6.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3466, allocations: 4 kB / 440 MB, free: 6.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004495/0.3471, allocations: 64.38 kB / 440 MB, free: 6.812 MB / 350.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.0001156/0.3472, allocations: 106.5 kB / 440.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005544/0.3477, allocations: 292.4 kB / 440.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3477, allocations: 1.125 kB / 440.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.842e-05/0.3478, allocations: 31.25 kB / 440.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007427/0.3486, allocations: 203.8 kB / 440.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.3498, allocations: 0.7435 MB / 441.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.35, allocations: 0.807 MB / 442.2 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.423e-05/0.3501, allocations: 35.55 kB / 442.2 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.205e-05/0.3502, allocations: 34.48 kB / 442.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3502, allocations: 0 / 442.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of Templates: time 0.009467/0.3597, allocations: 3.672 MB / 445.9 MB, free: 5.109 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.808923441916704]