Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.001091/0.001091, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001686/0.002777, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001103/0.001103, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001378/0.002481, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9612/0.9612, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0859/1.047, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2667/0.2667, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0239/0.2905, allocations: 13.1 MB / 291.3 MB, free: 7.371 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 292.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.344e-05, allocations: 3.844 kB / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.00838/0.008403, allocations: 8.064 MB / 300.7 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003551/0.01195, allocations: 2.53 MB / 303.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004344/0.01239, allocations: 27.75 kB / 303.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004434/0.01283, allocations: 254.2 kB / 303.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000951/0.01378, allocations: 0.6716 MB / 304.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.01547, allocations: 0.9919 MB / 305.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002103/0.01757, allocations: 2.548 MB / 307.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007166/0.01829, allocations: 0.6082 MB / 308.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.01952, allocations: 1.177 MB / 309.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007753/0.0203, allocations: 0.6934 MB / 310.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.02043, allocations: 84 kB / 310.3 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000556/0.02099, allocations: 223.7 kB / 310.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.02121, allocations: 307.2 kB / 310.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002825/0.0215, allocations: 311.4 kB / 311.1 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008999/0.0224, allocations: 0.8995 MB / 312 MB, free: 2.867 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.346e-05/0.02241, allocations: 0 / 312 MB, free: 2.867 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.02241, allocations: 0 / 312 MB, free: 2.867 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.933e-05/0.02244, allocations: 4 kB / 312 MB, free: 2.863 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.001552/0.02399, allocations: 1.342 MB / 313.3 MB, free: 1.496 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.02403, allocations: 16.61 kB / 313.3 MB, free: 1.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003822/0.02441, allocations: 265.6 kB / 313.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005951/0.02501, allocations: 497.9 kB / 314.1 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.02518, allocations: 403 kB / 314.5 MB, free: 220 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.621e-05/0.02527, allocations: 88.38 kB / 314.6 MB, free: 132 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000906/0.02618, allocations: 1.304 MB / 315.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/0.0262, allocations: 12.08 kB / 315.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.116e-05/0.02626, allocations: 43.94 kB / 315.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.516e-05/0.02631, allocations: 41.28 kB / 316 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.02673, allocations: 380.5 kB / 316.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003154/0.02989, allocations: 5.084 MB / 321.4 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.0301, allocations: 191.4 kB / 321.6 MB, free: 8.621 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.297e-05/0.03017, allocations: 70.73 kB / 321.7 MB, free: 8.551 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007024/0.03088, allocations: 0.6424 MB / 322.3 MB, free: 7.895 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.0309, allocations: 50.67 kB / 322.4 MB, free: 7.836 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.953e-06/0.0309, allocations: 0 / 322.4 MB, free: 7.836 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009988/0.0319, allocations: 0.7046 MB / 323.1 MB, free: 7.098 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.03193, allocations: 59.34 kB / 323.1 MB, free: 7.027 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/0.03235, allocations: 0.7114 MB / 323.8 MB, free: 6.301 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.03237, allocations: 33.7 kB / 323.9 MB, free: 6.262 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.03259, allocations: 0.5614 MB / 324.4 MB, free: 5.695 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.657e-05/0.03265, allocations: 143 kB / 324.6 MB, free: 5.555 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.03281, allocations: 238.6 kB / 324.8 MB, free: 5.316 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.03292, allocations: 394.6 kB / 325.2 MB, free: 4.922 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.03303, allocations: 105.4 kB / 325.3 MB, free: 4.816 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.03341, allocations: 0.8137 MB / 326.1 MB, free: 3.645 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006735/0.03408, allocations: 1.074 MB / 327.2 MB, free: 2.207 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.03409, allocations: 8 kB / 327.2 MB, free: 2.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.000711/0.0348, allocations: 0.8086 MB / 328 MB, free: 1.383 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.03483, allocations: 16 kB / 328 MB, free: 1.367 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.03484, allocations: 24 kB / 328 MB, free: 1.344 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.03487, allocations: 36 kB / 328.1 MB, free: 1.309 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.03533, allocations: 312.2 kB / 328.4 MB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.442e-05/0.03536, allocations: 55.8 kB / 328.4 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.03567, allocations: 48 kB / 328.5 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.474e-05/0.03572, allocations: 67.98 kB / 328.6 MB, free: 0.8359 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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.0001786/0.0359, allocations: 216 kB / 328.8 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.03596, allocations: 63.81 kB / 328.8 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.03631, allocations: 330.9 kB / 329.2 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.03631, allocations: 4 kB / 329.2 MB, free: 224 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.03631, allocations: 0 / 329.2 MB, free: 224 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.03632, allocations: 4 kB / 329.2 MB, free: 220 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006049/0.03692, allocations: 0.6451 MB / 329.8 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.03693, allocations: 192 / 329.8 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.0371, allocations: 91.89 kB / 329.9 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.976e-05/0.0372, allocations: 87.45 kB / 330 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.0372, allocations: 0 / 330 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.03721, allocations: 8 kB / 330 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.03722, allocations: 11.92 kB / 330 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.03722, allocations: 4 kB / 330 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.03753, allocations: 427.8 kB / 330.4 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.03758, allocations: 12.03 kB / 330.4 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.03773, allocations: 16 kB / 330.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.03776, allocations: 27.89 kB / 330.5 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.03778, allocations: 19.97 kB / 330.5 MB, free: 14.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001928/0.03797, allocations: 291.4 kB / 330.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03797, allocations: 0 / 330.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005382/0.03851, allocations: 243.9 kB / 331 MB, free: 14.28 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002208/0.03873, allocations: 148.2 kB / 331.2 MB, free: 14.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003871/0.03912, allocations: 461.3 kB / 331.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.767e-05/0.03915, allocations: 17.81 kB / 331.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.969e-05/0.03923, allocations: 95.19 kB / 331.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007322/0.03996, allocations: 387 kB / 332.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007333/0.04729, allocations: 1.254 MB / 333.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.04748, allocations: 191.5 kB / 333.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003987/0.04788, allocations: 145 kB / 333.7 MB, free: 11.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00045/0.04833, allocations: 310.9 kB / 334 MB, free: 11.24 MB / 330.7 MB Notification: Performance of SimCode: time 1.573e-06/0.04833, allocations: 4 kB / 334 MB, free: 11.24 MB / 330.7 MB Notification: Performance of Templates: time 0.01542/0.06375, allocations: 13.16 MB / 347.2 MB, free: 14.32 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.111012631095946]