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.001434/0.001434, allocations: 88.86 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.001028/0.001028, allocations: 159.9 kB / 24.91 MB, free: 8.719 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.9856/0.9856, allocations: 177 MB / 205.2 MB, free: 5.035 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.2606/0.2606, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 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.483e-06/1.483e-06, allocations: 0 / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.585e-05, allocations: 2.312 kB / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.0295/0.02952, allocations: 18.84 MB / 344.8 MB, free: 4.191 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02227/0.0518, allocations: 15.25 MB / 360 MB, free: 4.891 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006767/0.05248, allocations: 43.62 kB / 360.1 MB, free: 4.848 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006159/0.05309, allocations: 345.5 kB / 360.4 MB, free: 4.508 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008639/0.06173, allocations: 4.918 MB / 365.3 MB, free: 15.57 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00406/0.06579, allocations: 2.329 MB / 367.7 MB, free: 13.23 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002304/0.06809, allocations: 3.073 MB / 370.7 MB, free: 10.15 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007391/0.06883, allocations: 0.7284 MB / 371.5 MB, free: 9.402 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003244/0.07208, allocations: 3.093 MB / 374.6 MB, free: 6.281 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007145/0.07922, allocations: 7.401 MB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.0794, allocations: 112 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009831/0.08923, allocations: 7.842 MB / 389.9 MB, free: 6.809 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003434/0.08958, allocations: 430.6 kB / 390.3 MB, free: 6.387 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004223/0.09, allocations: 0.495 MB / 390.8 MB, free: 5.891 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007833/0.09783, allocations: 6.418 MB / 397.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.09784, allocations: 0 / 397.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.09784, allocations: 0 / 397.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.09785, allocations: 0 / 397.3 MB, free: 15.45 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.002786/0.1006, allocations: 2.026 MB / 399.3 MB, free: 13.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1007, allocations: 12.03 kB / 399.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00268/0.1034, allocations: 0.8813 MB / 400.2 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007364/0.1041, allocations: 0.6089 MB / 400.8 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.1042, allocations: 312.2 kB / 401.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.1044, allocations: 108.3 kB / 401.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.1063, allocations: 1.737 MB / 402.9 MB, free: 9.457 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.1063, allocations: 11.88 kB / 402.9 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.07e-05/0.1064, allocations: 44 kB / 403 MB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-05/0.1064, allocations: 42 kB / 403 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.1078, allocations: 0.8378 MB / 403.9 MB, free: 8.523 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.003959/0.1118, allocations: 5.114 MB / 409 MB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.1131, allocations: 0.7452 MB / 409.7 MB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.1133, allocations: 158.7 kB / 409.9 MB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2548/0.3681, allocations: 68.88 MB / 478.8 MB, free: 79.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.3682, allocations: 42.47 kB / 478.8 MB, free: 79.16 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004815/0.3686, allocations: 102.9 kB / 478.9 MB, free: 79.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 3.266e-06/0.3686, allocations: 0 / 478.9 MB, free: 79.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.00401/0.3727, allocations: 2.234 MB / 481.1 MB, free: 77.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.3727, allocations: 111.5 kB / 481.2 MB, free: 77.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.3731, allocations: 0.697 MB / 481.9 MB, free: 76.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.3731, allocations: 35.7 kB / 482 MB, free: 76.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.3733, allocations: 0.5275 MB / 482.5 MB, free: 76.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.3734, allocations: 298 kB / 482.8 MB, free: 75.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.3736, allocations: 256.2 kB / 483 MB, free: 75.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.3737, allocations: 415.2 kB / 483.5 MB, free: 75.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.3738, allocations: 155 kB / 483.6 MB, free: 75.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.3742, allocations: 0.8044 MB / 484.4 MB, free: 74.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006121/0.3748, allocations: 1.047 MB / 485.5 MB, free: 73.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.3748, allocations: 4 kB / 485.5 MB, free: 73.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.0008529/0.3756, allocations: 0.9755 MB / 486.4 MB, free: 72.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3757, allocations: 12 kB / 486.4 MB, free: 72.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.3757, allocations: 20 kB / 486.5 MB, free: 72.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009801/0.3767, allocations: 455.1 kB / 486.9 MB, free: 71.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.377, allocations: 250.2 kB / 487.2 MB, free: 71.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005706/0.3776, allocations: 1.374 MB / 488.5 MB, free: 70.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.3779, allocations: 54.36 kB / 488.6 MB, free: 70.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.3779, allocations: 65.77 kB / 488.6 MB, free: 70.2 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.0001879/0.3781, allocations: 221.5 kB / 488.9 MB, free: 70.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.387e-05/0.3782, allocations: 87.11 kB / 488.9 MB, free: 69.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.3798, allocations: 2.463 MB / 491.4 MB, free: 67.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/0.3798, allocations: 68.48 kB / 491.5 MB, free: 67.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.3798, allocations: 4 kB / 491.5 MB, free: 67.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3798, allocations: 3.984 kB / 491.5 MB, free: 67.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.3819, allocations: 3.018 MB / 494.5 MB, free: 65.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3819, allocations: 2.562 kB / 494.5 MB, free: 65.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.3821, allocations: 133.9 kB / 494.6 MB, free: 65.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000596/0.3827, allocations: 367.8 kB / 495 MB, free: 64.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/0.3828, allocations: 22.73 kB / 495 MB, free: 64.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004451/0.3832, allocations: 1.284 MB / 496.3 MB, free: 63.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3832, allocations: 0 / 496.3 MB, free: 63.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.3844, allocations: 1.795 MB / 498.1 MB, free: 61.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.3846, allocations: 230.8 kB / 498.3 MB, free: 61.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/0.3846, allocations: 37.59 kB / 498.4 MB, free: 61.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.3848, allocations: 31.05 kB / 498.4 MB, free: 61.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.619e-05/0.3849, allocations: 74.16 kB / 498.5 MB, free: 61.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.385, allocations: 23.36 kB / 498.5 MB, free: 61.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001985/0.3852, allocations: 350.4 kB / 498.8 MB, free: 61.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3852, allocations: 0 / 498.8 MB, free: 61.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002491/0.3876, allocations: 1.413 MB / 0.4885 GB, free: 59.7 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.002822/0.3905, allocations: 1.713 MB / 0.4902 GB, free: 58.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007535/0.3912, allocations: 0.8522 MB / 0.491 GB, free: 57.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.227e-05/0.3912, allocations: 17.44 kB / 0.491 GB, free: 57.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004468/0.3917, allocations: 0.5286 MB / 0.4916 GB, free: 56.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009945/0.3927, allocations: 0.5171 MB / 0.4921 GB, free: 56.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.3954, allocations: 3.025 MB / 0.495 GB, free: 53.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.3956, allocations: 378.2 kB / 0.4954 GB, free: 53.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004965/0.396, allocations: 495.1 kB / 0.4958 GB, free: 52.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005479/0.3966, allocations: 396.1 kB / 0.4962 GB, free: 52.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3966, allocations: 4 kB / 0.4962 GB, free: 52.52 MB / 410.7 MB Notification: Performance of Templates: time 0.05387/0.4505, allocations: 64.33 MB / 0.559 GB, free: 5.191 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 -s gbode -gbm=radauIIA3 -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.5062399902381]