Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.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.001498/0.001498, allocations: 80.25 kB / 22.21 MB, free: 2.281 MB / 18.57 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.001567/0.001567, allocations: 165.3 kB / 25.61 MB, free: 8.914 MB / 18.57 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 0.973/0.973, allocations: 177 MB / 205.9 MB, free: 4.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1662/0.1662, allocations: 34.88 MB / 297.4 MB, free: 13.45 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mixingVolume1.medium.h|mixingVolume1.medium.p|mixingVolume2.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mixingVolume1.medium.h|mixingVolume1.medium.p|mixingVolume2.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.659e-05, allocations: 3.297 kB / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.01485/0.01486, allocations: 18.66 MB / 398.7 MB, free: 4.047 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02018/0.03504, allocations: 15.02 MB / 413.7 MB, free: 4.973 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.03618, allocations: 43.62 kB / 413.7 MB, free: 4.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008968/0.03708, allocations: 341.5 kB / 414.1 MB, free: 4.594 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01552/0.0526, allocations: 5.36 MB / 419.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005217/0.05782, allocations: 2.458 MB / 421.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003345/0.06116, allocations: 3.071 MB / 424.9 MB, free: 9.664 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.06244, allocations: 0.7356 MB / 425.7 MB, free: 8.914 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005093/0.06753, allocations: 3.117 MB / 428.8 MB, free: 5.77 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01002/0.07755, allocations: 7.44 MB / 436.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002734/0.07782, allocations: 112 kB / 436.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01246/0.09029, allocations: 7.312 MB / 443.7 MB, free: 6.789 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006125/0.0909, allocations: 426.6 kB / 444.1 MB, free: 6.371 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009253/0.09183, allocations: 0.495 MB / 444.6 MB, free: 5.875 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01655/0.1084, allocations: 6.419 MB / 451 MB, free: 15.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.1084, allocations: 0 / 451 MB, free: 15.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1084, allocations: 0 / 451 MB, free: 15.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.803e-05/0.1084, allocations: 0 / 451 MB, free: 15.44 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.005492/0.1139, allocations: 2.163 MB / 453.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.806e-05/0.114, allocations: 16.02 kB / 453.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002984/0.117, allocations: 0.8066 MB / 454 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.1183, allocations: 0.7298 MB / 454.7 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.1185, allocations: 312.2 kB / 455 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.1187, allocations: 116.2 kB / 455.1 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/0.1214, allocations: 1.794 MB / 456.9 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/0.1215, allocations: 15.86 kB / 456.9 MB, free: 9.129 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.064e-05/0.1216, allocations: 44 kB / 457 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.539e-05/0.1216, allocations: 53.92 kB / 457 MB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.1233, allocations: 0.8941 MB / 457.9 MB, free: 8.141 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007427/0.1307, allocations: 7.167 MB / 465.1 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.1323, allocations: 0.7708 MB / 465.9 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.1326, allocations: 189.4 kB / 466 MB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01798/0.1505, allocations: 8.611 MB / 474.7 MB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.607e-05/0.1506, allocations: 46.05 kB / 474.7 MB, free: 7.102 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006494/0.1513, allocations: 107.3 kB / 474.8 MB, free: 6.996 MB / 394.7 MB Notification: Performance of pre-optimization done (n=70): time 4.368e-06/0.1513, allocations: 0 / 474.8 MB, free: 6.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=78): time 0.005314/0.1566, allocations: 2.346 MB / 477.2 MB, free: 4.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.1566, allocations: 115.4 kB / 477.3 MB, free: 4.465 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009198/0.1576, allocations: 0.7717 MB / 478 MB, free: 3.676 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.748e-05/0.1576, allocations: 45.7 kB / 478.1 MB, free: 3.625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/0.158, allocations: 0.6386 MB / 478.7 MB, free: 2.977 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.1582, allocations: 301.5 kB / 479 MB, free: 2.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.1584, allocations: 284.3 kB / 479.3 MB, free: 2.395 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.1586, allocations: 0.5936 MB / 479.9 MB, free: 1.789 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.1589, allocations: 186.4 kB / 480.1 MB, free: 1.605 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006886/0.1596, allocations: 1.057 MB / 481.1 MB, free: 172 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.1608, allocations: 1.308 MB / 482.4 MB, free: 14.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.1608, allocations: 8 kB / 482.4 MB, free: 14.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.001636/0.1624, allocations: 1.215 MB / 483.7 MB, free: 13.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.1625, allocations: 15.94 kB / 483.7 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.1625, allocations: 20 kB / 483.7 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.1638, allocations: 0.4912 MB / 484.2 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006406/0.1644, allocations: 243.6 kB / 484.4 MB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.1657, allocations: 1.969 MB / 486.4 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006388/0.1663, allocations: 63.95 kB / 486.5 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.239e-05/0.1664, allocations: 67.98 kB / 486.5 MB, free: 10.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume1.heatTransfer.states[1].phase,mixingVolume1.inFlow[1],mixingVolume1.inFlow[2],mixingVolume2.inFlow[1],mixingVolume2.inFlow[2],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[1],simpleGenericOrifice2.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice1.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (3,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0003611/0.1668, allocations: 258.1 kB / 486.8 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.167, allocations: 119.4 kB / 486.9 MB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.1694, allocations: 2.596 MB / 489.5 MB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.765e-05/0.1695, allocations: 55.91 kB / 489.5 MB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1695, allocations: 0 / 489.5 MB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.1695, allocations: 7.969 kB / 489.5 MB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00368/0.1732, allocations: 3.371 MB / 492.9 MB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.1732, allocations: 4 kB / 492.9 MB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/0.1735, allocations: 131.8 kB / 493 MB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008394/0.1743, allocations: 409.7 kB / 493.4 MB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/0.1744, allocations: 23.98 kB / 493.5 MB, free: 3.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.1754, allocations: 1.827 MB / 495.3 MB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1754, allocations: 0 / 495.3 MB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1958/0.3712, allocations: 2.055 MB / 497.4 MB, free: 94.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/0.3718, allocations: 276 kB / 497.6 MB, free: 94.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.3719, allocations: 37.59 kB / 497.7 MB, free: 94.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/0.3723, allocations: 31.53 kB / 497.7 MB, free: 94.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.3724, allocations: 77.61 kB / 497.8 MB, free: 94.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.3724, allocations: 31.19 kB / 497.8 MB, free: 94.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003794/0.3728, allocations: 490.3 kB / 498.3 MB, free: 94.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3728, allocations: 3.109 kB / 498.3 MB, free: 94.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003515/0.3763, allocations: 1.414 MB / 499.7 MB, free: 94.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,10), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005042/0.3814, allocations: 1.671 MB / 0.4896 GB, free: 94.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.3835, allocations: 0.9069 MB / 0.4905 GB, free: 94.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3835, allocations: 0 / 0.4905 GB, free: 94.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007745/0.3842, allocations: 0.5948 MB / 0.4911 GB, free: 94.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.3859, allocations: 0.501 MB / 0.4916 GB, free: 94.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/0.3899, allocations: 3.074 MB / 0.4946 GB, free: 92.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.3902, allocations: 382.1 kB / 0.4949 GB, free: 92.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00104/0.3912, allocations: 0.494 MB / 0.4954 GB, free: 92.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009222/0.3922, allocations: 475.3 kB / 0.4959 GB, free: 92.8 MB / 410.7 MB Notification: Performance of SimCode: time 2.204e-06/0.3922, allocations: 3.719 kB / 0.4959 GB, free: 92.8 MB / 410.7 MB Notification: Performance of Templates: time 0.06804/0.4602, allocations: 65.73 MB / 0.5601 GB, free: 35.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumesPressureStates/TestMixingVolumesPressureStates.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: 6.76085808314383]