Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002908/0.002908, allocations: 95.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003329/0.003329, allocations: 161.6 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.621/1.621, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.911e-05, allocations: 6.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003902/0.003931, allocations: 2.176 MB / 274.5 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.005209, allocations: 0.5887 MB / 275.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.005331, allocations: 4 kB / 275.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.005468, allocations: 27.61 kB / 275.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.00577, allocations: 75.42 kB / 275.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.006063, allocations: 75.77 kB / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.006458, allocations: 290.8 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.006616, allocations: 53.12 kB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003324/0.006949, allocations: 159.5 kB / 275.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.007149, allocations: 111.6 kB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.257e-05/0.007201, allocations: 20 kB / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.781e-05/0.007249, allocations: 24 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.812e-05/0.007347, allocations: 71.61 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.007456, allocations: 75.69 kB / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.007816, allocations: 262.9 kB / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.007819, allocations: 4 kB / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.00782, allocations: 0 / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.007825, allocations: 0 / 276.3 MB, free: 13.81 MB / 266.7 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.001251/0.009075, allocations: 0.655 MB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.00911, allocations: 8.031 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.009219, allocations: 48.7 kB / 277 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.009656, allocations: 260.8 kB / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.009679, allocations: 12.66 kB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.009719, allocations: 12.38 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000752/0.01047, allocations: 368.5 kB / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.01048, allocations: 3.938 kB / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.0105, allocations: 8 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.01051, allocations: 4 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.01072, allocations: 75.95 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008456/0.01156, allocations: 0.545 MB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007805/0.01234, allocations: 317.2 kB / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.01259, allocations: 131.1 kB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.01263, allocations: 7.984 kB / 278.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.01267, allocations: 41.39 kB / 278.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.433e-06/0.01267, allocations: 0 / 278.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=38): time 0.002497/0.01517, allocations: 1.118 MB / 279.9 MB, free: 9.969 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.0153, allocations: 130.8 kB / 280 MB, free: 9.816 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004948/0.0158, allocations: 406.3 kB / 280.4 MB, free: 9.402 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.01584, allocations: 33.7 kB / 280.4 MB, free: 9.363 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.016, allocations: 195.8 kB / 280.6 MB, free: 9.168 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.813e-05/0.01605, allocations: 47.81 kB / 280.7 MB, free: 9.121 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.392e-05/0.01614, allocations: 47.36 kB / 280.7 MB, free: 9.066 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002896/0.01643, allocations: 0.5157 MB / 281.2 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.68e-05/0.01651, allocations: 27.98 kB / 281.3 MB, free: 8.512 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.01667, allocations: 113.5 kB / 281.4 MB, free: 8.367 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.01692, allocations: 149.4 kB / 281.5 MB, free: 8.188 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.01692, allocations: 0 / 281.5 MB, free: 8.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003302/0.01725, allocations: 181.3 kB / 281.7 MB, free: 8.004 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.01727, allocations: 8 kB / 281.7 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.01727, allocations: 4.062 kB / 281.7 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.0173, allocations: 7.938 kB / 281.7 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.01744, allocations: 40.14 kB / 281.8 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.01745, allocations: 0 / 281.8 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.01759, allocations: 16.61 kB / 281.8 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.0176, allocations: 4 kB / 281.8 MB, free: 7.926 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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.0001977/0.0178, allocations: 191.5 kB / 282 MB, free: 7.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005123/0.01831, allocations: 266.8 kB / 282.2 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006945/0.019, allocations: 340.1 kB / 282.6 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.01901, allocations: 7.938 kB / 282.6 MB, free: 7.113 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.01902, allocations: 7.938 kB / 282.6 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.01903, allocations: 4 kB / 282.6 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003693/0.01939, allocations: 220.5 kB / 282.8 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.0194, allocations: 0 / 282.8 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/0.02, allocations: 123.8 kB / 282.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.02, allocations: 0 / 282.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.02003, allocations: 12 kB / 282.9 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.02004, allocations: 4 kB / 282.9 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.02004, allocations: 7.875 kB / 282.9 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.02116, allocations: 0.7374 MB / 283.7 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.02123, allocations: 39.69 kB / 283.7 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/0.02129, allocations: 15.98 kB / 283.7 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.02155, allocations: 12 kB / 283.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.0216, allocations: 11.92 kB / 283.8 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.02163, allocations: 8 kB / 283.8 MB, free: 5.855 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003229/0.02195, allocations: 291 kB / 284.1 MB, free: 5.574 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02195, allocations: 0 / 284.1 MB, free: 5.574 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003494/0.0223, allocations: 52 kB / 284.1 MB, free: 5.523 MB / 266.7 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 (43): * Single equations (assignments): 43 * 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.0001515/0.02245, allocations: 115.2 kB / 284.2 MB, free: 5.402 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004282/0.02288, allocations: 179.6 kB / 284.4 MB, free: 5.223 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.02288, allocations: 0 / 284.4 MB, free: 5.223 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.792e-05/0.02296, allocations: 31.81 kB / 284.4 MB, free: 5.188 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007718/0.02373, allocations: 187.3 kB / 284.6 MB, free: 5.008 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.02516, allocations: 0.687 MB / 285.3 MB, free: 4.281 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.02538, allocations: 193.6 kB / 285.5 MB, free: 4.074 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.423e-05/0.02546, allocations: 22.97 kB / 285.5 MB, free: 4.047 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.891e-05/0.02556, allocations: 32.48 kB / 285.5 MB, free: 4.016 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02556, allocations: 0 / 285.5 MB, free: 4.016 MB / 266.7 MB Notification: Performance of Templates: time 0.008718/0.03428, allocations: 3.54 MB / 289.1 MB, free: 0.5 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 4.672073815949261]