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.001066/0.001066, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001263/0.001263, allocations: 169.3 kB / 24.82 MB, free: 8.914 MB / 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.108/1.108, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.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.2705/0.2705, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.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.563e-06/1.563e-06, allocations: 0 / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.567e-05, allocations: 2.312 kB / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.00767/0.007696, allocations: 7.957 MB / 386.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004224/0.01192, allocations: 2.465 MB / 388.9 MB, free: 7.922 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006822/0.0126, allocations: 27.75 kB / 388.9 MB, free: 7.895 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007595/0.01336, allocations: 250.2 kB / 389.2 MB, free: 7.648 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.01476, allocations: 0.6755 MB / 389.9 MB, free: 6.969 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.01723, allocations: 1.013 MB / 390.9 MB, free: 5.953 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002833/0.02007, allocations: 2.482 MB / 393.4 MB, free: 3.465 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000985/0.02105, allocations: 0.5927 MB / 394 MB, free: 2.855 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.02322, allocations: 1.142 MB / 395.1 MB, free: 1.711 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.02437, allocations: 0.7363 MB / 395.8 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.02456, allocations: 84 kB / 395.9 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005989/0.02516, allocations: 223.7 kB / 396.1 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003881/0.02555, allocations: 402.8 kB / 396.5 MB, free: 276 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004583/0.02601, allocations: 383.2 kB / 396.9 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.02756, allocations: 1.012 MB / 397.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.02757, allocations: 3.938 kB / 397.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.02757, allocations: 0 / 397.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.362e-05/0.02759, allocations: 4 kB / 397.9 MB, free: 14.87 MB / 378.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.0019/0.02949, allocations: 1.275 MB / 399.2 MB, free: 13.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.02955, allocations: 12.03 kB / 399.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005442/0.03009, allocations: 224 kB / 399.4 MB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000856/0.03095, allocations: 0.5396 MB / 400 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002302/0.03118, allocations: 406.9 kB / 400.4 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.03131, allocations: 88.33 kB / 400.4 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.03263, allocations: 1.403 MB / 401.8 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.03265, allocations: 8.125 kB / 401.9 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.131e-05/0.03274, allocations: 39.94 kB / 401.9 MB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.715e-05/0.03279, allocations: 37.3 kB / 401.9 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006538/0.03345, allocations: 401.5 kB / 402.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005855/0.0393, allocations: 7.24 MB / 409.6 MB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.03962, allocations: 165.3 kB / 409.7 MB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.03975, allocations: 88.27 kB / 409.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/0.04084, allocations: 0.7403 MB / 410.6 MB, free: 1.512 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.04087, allocations: 41.62 kB / 410.6 MB, free: 1.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.825e-06/0.04088, allocations: 0 / 410.6 MB, free: 1.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.00141/0.04229, allocations: 0.6931 MB / 411.3 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.04232, allocations: 59.41 kB / 411.3 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008546/0.04317, allocations: 0.7794 MB / 412.1 MB, free: 15.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.04321, allocations: 33.7 kB / 412.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.04356, allocations: 0.653 MB / 412.8 MB, free: 15.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.04367, allocations: 146.9 kB / 413 MB, free: 15.01 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.0439, allocations: 252.2 kB / 413.2 MB, free: 14.76 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.04412, allocations: 0.578 MB / 413.8 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.04428, allocations: 94.52 kB / 413.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007338/0.04502, allocations: 1.152 MB / 415 MB, free: 12.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.04624, allocations: 1.389 MB / 416.4 MB, free: 10.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-05/0.04626, allocations: 11.94 kB / 416.4 MB, free: 10.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00142/0.04768, allocations: 0.954 MB / 417.4 MB, free: 9.578 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.04771, allocations: 16 kB / 417.4 MB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/0.04774, allocations: 27.98 kB / 417.4 MB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.441e-05/0.04779, allocations: 36 kB / 417.5 MB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006148/0.0484, allocations: 275.5 kB / 417.7 MB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.674e-05/0.04844, allocations: 51.78 kB / 417.8 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006235/0.04906, allocations: 44.44 kB / 417.8 MB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.989e-05/0.04914, allocations: 72 kB / 417.9 MB, free: 9.066 MB / 394.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.0004592/0.0496, allocations: 263.9 kB / 418.1 MB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.04975, allocations: 95.42 kB / 418.2 MB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000561/0.05031, allocations: 361.1 kB / 418.6 MB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.05032, allocations: 8 kB / 418.6 MB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.05032, allocations: 4 kB / 418.6 MB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.05033, allocations: 0 / 418.6 MB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.05153, allocations: 0.7762 MB / 419.4 MB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.05153, allocations: 0 / 419.4 MB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.05175, allocations: 71.89 kB / 419.4 MB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.05176, allocations: 8.188 kB / 419.5 MB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.05178, allocations: 8 kB / 419.5 MB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.05179, allocations: 11.94 kB / 419.5 MB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.05179, allocations: 0 / 419.5 MB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/0.05241, allocations: 0.5139 MB / 420 MB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.05264, allocations: 111.4 kB / 420.1 MB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/0.0527, allocations: 8 kB / 420.1 MB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.05295, allocations: 12 kB / 420.1 MB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.05299, allocations: 27.89 kB / 420.1 MB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/0.05303, allocations: 24.02 kB / 420.2 MB, free: 6.652 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003515/0.05339, allocations: 406.8 kB / 420.6 MB, free: 6.262 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.05339, allocations: 0 / 420.6 MB, free: 6.262 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001078/0.05446, allocations: 239.9 kB / 420.8 MB, free: 6.027 MB / 394.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.0003173/0.05478, allocations: 170.9 kB / 421 MB, free: 5.852 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007079/0.05549, allocations: 484.6 kB / 421.4 MB, free: 5.383 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.05549, allocations: 0 / 421.4 MB, free: 5.383 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.05562, allocations: 95.48 kB / 421.5 MB, free: 5.285 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.05667, allocations: 324.2 kB / 421.9 MB, free: 4.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.05877, allocations: 1.279 MB / 423.1 MB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.05894, allocations: 199.3 kB / 423.3 MB, free: 3.422 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000487/0.05942, allocations: 150.8 kB / 423.5 MB, free: 3.273 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006113/0.06004, allocations: 369.9 kB / 423.8 MB, free: 2.91 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.06004, allocations: 0 / 423.8 MB, free: 2.91 MB / 394.7 MB Notification: Performance of Templates: time 0.01808/0.07812, allocations: 12.71 MB / 436.5 MB, free: 6.422 MB / 410.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 -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.6174643873237073]