Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.0007816/0.0007816, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003082/0.003082, allocations: 160.7 kB / 24.7 MB, free: 9.41 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 0.8427/0.8427, allocations: 177.2 MB / 205 MB, free: 5.727 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.2304/0.2304, allocations: 34.25 MB / 295.7 MB, free: 0.7109 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.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 443.5 MB, free: 1.148 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.941e-05, allocations: 2.281 kB / 443.5 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2027/0.2028, allocations: 39.66 MB / 483.1 MB, free: 19.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003346/0.2061, allocations: 4.069 MB / 487.2 MB, free: 16.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.2064, allocations: 28.5 kB / 487.2 MB, free: 16.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.207, allocations: 313.7 kB / 487.5 MB, free: 16.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009749/0.2079, allocations: 0.9096 MB / 488.4 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.209, allocations: 0.9445 MB / 489.4 MB, free: 15.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009124/0.2099, allocations: 1.823 MB / 491.2 MB, free: 14.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/0.2103, allocations: 397.8 kB / 491.6 MB, free: 14.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04977/0.26, allocations: 44.58 MB / 0.5236 GB, free: 3.57 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008579/0.2686, allocations: 7.9 MB / 0.5313 GB, free: 11.58 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.2688, allocations: 60 kB / 0.5314 GB, free: 11.52 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01078/0.2796, allocations: 10.6 MB / 0.5417 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.2798, allocations: 287.1 kB / 0.542 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000337/0.2802, allocations: 275.4 kB / 0.5423 GB, free: 260 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.2814, allocations: 1.129 MB / 0.5434 GB, free: 15.12 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2814, allocations: 0 / 0.5434 GB, free: 15.12 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2814, allocations: 0 / 0.5434 GB, free: 15.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.2814, allocations: 0 / 0.5434 GB, free: 15.12 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001412/0.2828, allocations: 0.9888 MB / 0.5443 GB, free: 14.11 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2828, allocations: 12.03 kB / 0.5443 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.283, allocations: 88.47 kB / 0.5444 GB, free: 14.01 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005601/0.2836, allocations: 478 kB / 0.5449 GB, free: 13.51 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.2837, allocations: 152.4 kB / 0.545 GB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.2838, allocations: 52.36 kB / 0.5451 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.2848, allocations: 1.069 MB / 0.5461 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.2848, allocations: 7.938 kB / 0.5461 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.533e-05/0.2849, allocations: 20 kB / 0.5461 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.292e-05/0.2849, allocations: 40.98 kB / 0.5462 GB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006568/0.2856, allocations: 0.6439 MB / 0.5468 GB, free: 11.37 MB / 458.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.00252/0.2881, allocations: 3.327 MB / 0.5501 GB, free: 7.934 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/0.2886, allocations: 398.2 kB / 0.5504 GB, free: 7.539 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.2888, allocations: 191.8 kB / 0.5506 GB, free: 7.352 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.289, allocations: 56.28 kB / 0.5507 GB, free: 7.297 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.289, allocations: 34.89 kB / 0.5507 GB, free: 7.254 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 1.522e-06/0.289, allocations: 4 kB / 0.5507 GB, free: 7.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.001912/0.2909, allocations: 1.449 MB / 0.5521 GB, free: 5.762 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.291, allocations: 132.5 kB / 0.5523 GB, free: 5.602 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.2913, allocations: 0.5182 MB / 0.5528 GB, free: 5.074 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001784/0.2915, allocations: 37.7 kB / 0.5528 GB, free: 5.031 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.2917, allocations: 368.3 kB / 0.5532 GB, free: 4.664 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.57e-05/0.2917, allocations: 170.6 kB / 0.5533 GB, free: 4.496 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.2919, allocations: 138.6 kB / 0.5534 GB, free: 4.355 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.292, allocations: 370.8 kB / 0.5538 GB, free: 3.984 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.2922, allocations: 221.9 kB / 0.554 GB, free: 3.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.2926, allocations: 0.5954 MB / 0.5546 GB, free: 3.02 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.2932, allocations: 0.7845 MB / 0.5554 GB, free: 2.105 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2932, allocations: 0 / 0.5554 GB, free: 2.105 MB / 458.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001013/0.2942, allocations: 0.9353 MB / 0.5563 GB, free: 1.164 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2942, allocations: 8 kB / 0.5563 GB, free: 1.156 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.2942, allocations: 13.2 kB / 0.5563 GB, free: 1.145 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005283/0.2948, allocations: 273.6 kB / 0.5566 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.295, allocations: 131.7 kB / 0.5567 GB, free: 0.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005766/0.2956, allocations: 0.8616 MB / 0.5575 GB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.2958, allocations: 24 kB / 0.5575 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.2958, allocations: 39.92 kB / 0.5576 GB, free: 15.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.296, allocations: 250.9 kB / 0.5578 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.296, allocations: 59.62 kB / 0.5579 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007874/0.2968, allocations: 0.7088 MB / 0.5586 GB, free: 14.78 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.2968, allocations: 11.92 kB / 0.5586 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2968, allocations: 0 / 0.5586 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2969, allocations: 1.875 kB / 0.5586 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.2983, allocations: 1.238 MB / 0.5598 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2983, allocations: 4.219 kB / 0.5598 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004607/0.2987, allocations: 191.8 kB / 0.56 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.2989, allocations: 52.8 kB / 0.56 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.2989, allocations: 11.98 kB / 0.56 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.3001, allocations: 2.738 MB / 0.5627 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3001, allocations: 0 / 0.5627 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009024/0.301, allocations: 0.9974 MB / 0.5637 GB, free: 9.238 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.3012, allocations: 119.5 kB / 0.5638 GB, free: 9.121 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.3012, allocations: 15.94 kB / 0.5638 GB, free: 9.105 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.3014, allocations: 12 kB / 0.5638 GB, free: 9.094 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.3015, allocations: 43.86 kB / 0.5639 GB, free: 9.051 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.3015, allocations: 20 kB / 0.5639 GB, free: 9.031 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002445/0.3017, allocations: 350.8 kB / 0.5642 GB, free: 8.691 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3017, allocations: 0 / 0.5642 GB, free: 8.691 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004215/0.3022, allocations: 203.9 kB / 0.5644 GB, free: 8.492 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002636/0.3024, allocations: 234.3 kB / 0.5646 GB, free: 8.258 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006807/0.3031, allocations: 0.5856 MB / 0.5652 GB, free: 7.676 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3031, allocations: 0 / 0.5652 GB, free: 7.676 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005824/0.3037, allocations: 463 kB / 0.5657 GB, free: 7.211 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007468/0.3044, allocations: 320.6 kB / 0.566 GB, free: 6.922 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.3059, allocations: 1.363 MB / 0.5673 GB, free: 5.508 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.3061, allocations: 337.1 kB / 0.5676 GB, free: 5.152 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.3062, allocations: 64.48 kB / 0.5677 GB, free: 5.09 MB / 474.7 MB Notification: Performance of SimCode: time 1.442e-06/0.3062, allocations: 0 / 0.5677 GB, free: 5.09 MB / 474.7 MB Notification: Performance of Templates: time 0.01122/0.3175, allocations: 15.25 MB / 0.5826 GB, free: 5.914 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",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.891416348516941]