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.0008959/0.0008959, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0008898/0.0008898, allocations: 160.3 kB / 24.91 MB, free: 8.758 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.9396/0.9396, allocations: 177 MB / 205.2 MB, free: 5.434 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.2826/0.2826, allocations: 34.86 MB / 296.6 MB, free: 0.5 MB / 266.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.213e-06/1.213e-06, allocations: 0 / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.219e-05, allocations: 2.312 kB / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.01561/0.01563, allocations: 18.8 MB / 344.7 MB, free: 4.301 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.02957, allocations: 15.25 MB / 360 MB, free: 4.996 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004726/0.03004, allocations: 39.62 kB / 360 MB, free: 4.957 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006663/0.03071, allocations: 353.5 kB / 360.3 MB, free: 4.609 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009762/0.04047, allocations: 5.38 MB / 365.7 MB, free: 15.21 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004303/0.04477, allocations: 2.466 MB / 368.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002731/0.04751, allocations: 3.077 MB / 371.3 MB, free: 9.645 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008828/0.04839, allocations: 0.7325 MB / 372 MB, free: 8.895 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004442/0.05283, allocations: 3.125 MB / 375.1 MB, free: 5.742 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.011/0.06383, allocations: 7.405 MB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.06401, allocations: 112 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01046/0.07447, allocations: 7.297 MB / 389.9 MB, free: 6.812 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003424/0.07481, allocations: 430.6 kB / 390.3 MB, free: 6.391 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005144/0.07533, allocations: 0.5028 MB / 390.9 MB, free: 5.887 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007356/0.08268, allocations: 6.415 MB / 397.3 MB, free: 15.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.08269, allocations: 0 / 397.3 MB, free: 15.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.08269, allocations: 0 / 397.3 MB, free: 15.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.0827, allocations: 0 / 397.3 MB, free: 15.46 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.003329/0.08603, allocations: 2.015 MB / 399.3 MB, free: 13.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.08606, allocations: 8.031 kB / 399.3 MB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003398/0.08946, allocations: 0.8891 MB / 400.2 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008229/0.09028, allocations: 0.6167 MB / 400.8 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.09043, allocations: 312.2 kB / 401.1 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.09055, allocations: 112.3 kB / 401.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.09224, allocations: 1.732 MB / 402.9 MB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.09227, allocations: 11.86 kB / 403 MB, free: 9.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.098e-05/0.09236, allocations: 48 kB / 403 MB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/0.0924, allocations: 42 kB / 403 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.09362, allocations: 0.8326 MB / 403.9 MB, free: 8.531 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.003775/0.0974, allocations: 5.125 MB / 409 MB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.09855, allocations: 0.7422 MB / 409.7 MB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.09872, allocations: 158.7 kB / 409.9 MB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2697/0.3684, allocations: 68.88 MB / 478.8 MB, free: 79.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.3685, allocations: 46.53 kB / 478.8 MB, free: 79.34 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004287/0.3689, allocations: 100.7 kB / 478.9 MB, free: 79.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 3.016e-06/0.3689, allocations: 0 / 478.9 MB, free: 79.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.003638/0.3725, allocations: 2.232 MB / 481.1 MB, free: 77.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.3726, allocations: 119.5 kB / 481.3 MB, free: 77.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.373, allocations: 0.6949 MB / 482 MB, free: 76.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.373, allocations: 41.2 kB / 482 MB, free: 76.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.3732, allocations: 0.5189 MB / 482.5 MB, free: 76.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.3733, allocations: 300.6 kB / 482.8 MB, free: 76.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.3735, allocations: 254.2 kB / 483.1 MB, free: 76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.723e-05/0.3735, allocations: 408.8 kB / 483.5 MB, free: 75.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.3737, allocations: 162.2 kB / 483.6 MB, free: 75.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.374, allocations: 0.8078 MB / 484.4 MB, free: 74.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005702/0.3746, allocations: 1.041 MB / 485.5 MB, free: 73.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3746, allocations: 4 kB / 485.5 MB, free: 73.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.0008031/0.3754, allocations: 0.9723 MB / 486.4 MB, free: 72.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3754, allocations: 12 kB / 486.5 MB, free: 72.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.3754, allocations: 20 kB / 486.5 MB, free: 72.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009211/0.3763, allocations: 466.2 kB / 486.9 MB, free: 72.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.3767, allocations: 234.2 kB / 487.2 MB, free: 71.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005648/0.3772, allocations: 1.367 MB / 488.5 MB, free: 70.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.3775, allocations: 57.3 kB / 488.6 MB, free: 70.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/0.3776, allocations: 63.17 kB / 488.6 MB, free: 70.39 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.0001822/0.3778, allocations: 216.8 kB / 488.9 MB, free: 70.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.309e-05/0.3779, allocations: 86.36 kB / 488.9 MB, free: 70.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.3794, allocations: 2.475 MB / 491.4 MB, free: 67.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/0.3794, allocations: 62.72 kB / 491.5 MB, free: 67.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.3794, allocations: 0 / 491.5 MB, free: 67.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3794, allocations: 7.875 kB / 491.5 MB, free: 67.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.3814, allocations: 3.018 MB / 494.5 MB, free: 65.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3814, allocations: 0 / 494.5 MB, free: 65.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.3816, allocations: 133.5 kB / 494.6 MB, free: 65.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005549/0.3822, allocations: 355.2 kB / 495 MB, free: 64.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.3822, allocations: 30.36 kB / 495 MB, free: 64.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004009/0.3826, allocations: 1.283 MB / 496.3 MB, free: 63.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3826, allocations: 0 / 496.3 MB, free: 63.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.3837, allocations: 1.802 MB / 498.1 MB, free: 61.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.3839, allocations: 223.5 kB / 498.3 MB, free: 61.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.155e-05/0.384, allocations: 38.03 kB / 498.3 MB, free: 61.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.3842, allocations: 30.36 kB / 498.4 MB, free: 61.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/0.3842, allocations: 74.08 kB / 498.5 MB, free: 61.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.3843, allocations: 23.8 kB / 498.5 MB, free: 61.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001878/0.3845, allocations: 350.4 kB / 498.8 MB, free: 61.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3845, allocations: 0 / 498.8 MB, free: 61.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002125/0.3866, allocations: 1.417 MB / 0.4885 GB, free: 59.89 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.002557/0.3891, allocations: 1.711 MB / 0.4902 GB, free: 58.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000718/0.3899, allocations: 0.853 MB / 0.491 GB, free: 57.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.977e-05/0.3899, allocations: 13.81 kB / 0.491 GB, free: 57.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004009/0.3903, allocations: 0.5316 MB / 0.4915 GB, free: 57.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009644/0.3913, allocations: 0.5217 MB / 0.4921 GB, free: 56.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.3938, allocations: 3.024 MB / 0.495 GB, free: 53.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/0.394, allocations: 379 kB / 0.4954 GB, free: 53.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004808/0.3944, allocations: 497.4 kB / 0.4958 GB, free: 53.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005134/0.3949, allocations: 391.6 kB / 0.4962 GB, free: 52.72 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/0.3949, allocations: 0 / 0.4962 GB, free: 52.72 MB / 410.7 MB Notification: Performance of Templates: time 0.04986/0.4448, allocations: 64.32 MB / 0.559 GB, free: 5.395 MB / 426.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: 5.250520428176969]