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.00134/0.00134, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001431/0.001431, allocations: 168 kB / 23.95 MB, free: 4.16 MB / 14.72 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.474/1.474, allocations: 177.1 MB / 204.3 MB, free: 9.207 MB / 190.1 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.483e-06/1.483e-06, allocations: 0 / 325.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.45e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.005022/0.005046, allocations: 2.132 MB / 327.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.00699, allocations: 0.5974 MB / 327.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002917/0.007282, allocations: 6.125 kB / 327.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.007476, allocations: 28.41 kB / 327.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005376/0.008014, allocations: 80.08 kB / 327.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.008453, allocations: 79.06 kB / 328 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00064/0.009093, allocations: 288.3 kB / 328.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.009323, allocations: 49.06 kB / 328.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005371/0.00986, allocations: 163.4 kB / 328.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003128/0.01017, allocations: 108.2 kB / 328.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.355e-05/0.01026, allocations: 26.56 kB / 328.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.044e-05/0.01033, allocations: 22.12 kB / 328.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.01047, allocations: 70.11 kB / 328.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.01066, allocations: 77.12 kB / 328.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005568/0.01121, allocations: 260.8 kB / 329 MB, free: 14.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.01122, allocations: 0.7031 kB / 329 MB, free: 14.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01122, allocations: 0 / 329 MB, free: 14.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.285e-05/0.01124, allocations: 1.031 kB / 329 MB, free: 14.11 MB / 302.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.0019/0.01314, allocations: 0.5401 MB / 329.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.01318, allocations: 9.281 kB / 329.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.01333, allocations: 41.97 kB / 329.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006637/0.014, allocations: 256.9 kB / 329.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.01401, allocations: 10.38 kB / 329.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.565e-05/0.01408, allocations: 18.39 kB / 329.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.01512, allocations: 377.7 kB / 330.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.01514, allocations: 7.938 kB / 330.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.01517, allocations: 5.562 kB / 330.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.01518, allocations: 3.531 kB / 330.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/0.01552, allocations: 84.75 kB / 330.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.01668, allocations: 441.2 kB / 330.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.01779, allocations: 307 kB / 331.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000375/0.01816, allocations: 139.4 kB / 331.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/0.0182, allocations: 3.312 kB / 331.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/0.01825, allocations: 37.94 kB / 331.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.624e-06/0.01825, allocations: 0 / 331.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.003609/0.02186, allocations: 1.151 MB / 332.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/0.02203, allocations: 137 kB / 332.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006584/0.02268, allocations: 323.3 kB / 332.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.799e-05/0.02274, allocations: 34.95 kB / 332.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.0229, allocations: 144 kB / 333 MB, free: 11.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.872e-05/0.02297, allocations: 42.33 kB / 333.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.02306, allocations: 28.25 kB / 333.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.02328, allocations: 336.8 kB / 333.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.02344, allocations: 44.78 kB / 333.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.02365, allocations: 95.62 kB / 333.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.02399, allocations: 132.7 kB / 333.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.02399, allocations: 1.688 kB / 333.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005488/0.02454, allocations: 183.8 kB / 333.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.02456, allocations: 5.531 kB / 333.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.02456, allocations: 2.25 kB / 333.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.02459, allocations: 11.92 kB / 333.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.02476, allocations: 34.89 kB / 333.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.02476, allocations: 2.812 kB / 333.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.02496, allocations: 17.14 kB / 334 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.02498, allocations: 10.56 kB / 334 MB, free: 10.54 MB / 302.1 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.0001993/0.02518, allocations: 143.5 kB / 334.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005424/0.02572, allocations: 287.7 kB / 334.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006745/0.02639, allocations: 371.3 kB / 334.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.0264, allocations: 9.5 kB / 334.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.02641, allocations: 0 / 334.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.02641, allocations: 5.203 kB / 334.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.02679, allocations: 191.1 kB / 334.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.0268, allocations: 4 kB / 335 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006242/0.02742, allocations: 123.3 kB / 335.1 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.02743, allocations: 2.406 kB / 335.1 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/0.02746, allocations: 10.48 kB / 335.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.02747, allocations: 6.25 kB / 335.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.02748, allocations: 5.031 kB / 335.1 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.02879, allocations: 0.6913 MB / 335.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-05/0.02886, allocations: 41.78 kB / 335.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.607e-05/0.02893, allocations: 9.562 kB / 335.8 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.02922, allocations: 29.08 kB / 335.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.02925, allocations: 6.5 kB / 335.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.02928, allocations: 19.55 kB / 335.9 MB, free: 9.258 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002827/0.02957, allocations: 243.1 kB / 336.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02957, allocations: 0 / 336.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003516/0.02992, allocations: 53.16 kB / 336.2 MB, free: 9.094 MB / 302.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 (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.0001462/0.03006, allocations: 105.2 kB / 336.3 MB, free: 9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004195/0.03048, allocations: 188.7 kB / 336.5 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.03049, allocations: 1.312 kB / 336.5 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.685e-05/0.03056, allocations: 31.55 kB / 336.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007445/0.03131, allocations: 187.7 kB / 336.7 MB, free: 8.816 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.03264, allocations: 0.6697 MB / 337.4 MB, free: 8.344 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.03285, allocations: 197.2 kB / 337.5 MB, free: 8.207 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.656e-05/0.03292, allocations: 28.75 kB / 337.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.03302, allocations: 34.02 kB / 337.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.03302, allocations: 0 / 337.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of Templates: time 0.008218/0.04124, allocations: 3.493 MB / 341.1 MB, free: 4.727 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 480] 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.361348822712898]