Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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.001446/0.001446, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001792/0.001792, allocations: 162.5 kB / 25.7 MB, free: 8.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9321/0.9321, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.443e-05, allocations: 2.312 kB / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.01785/0.01788, allocations: 14.65 MB / 266.2 MB, free: 8.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009343/0.02722, allocations: 11.23 MB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.02742, allocations: 7.938 kB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004114/0.02783, allocations: 135.1 kB / 277.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005179/0.02835, allocations: 381.6 kB / 278 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009121/0.03747, allocations: 5.36 MB / 283.3 MB, free: 7.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000861/0.03833, allocations: 1.044 MB / 284.4 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.03848, allocations: 85.2 kB / 284.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.04144, allocations: 2.303 MB / 286.8 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.04173, allocations: 263.2 kB / 287 MB, free: 3.617 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.121e-05/0.04177, allocations: 43.94 kB / 287.1 MB, free: 3.574 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00628/0.04805, allocations: 5.743 MB / 292.8 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.04816, allocations: 123.6 kB / 292.9 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.04829, allocations: 175.7 kB / 293.1 MB, free: 13.53 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004315/0.05261, allocations: 4.432 MB / 297.5 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.05261, allocations: 0 / 297.5 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.05261, allocations: 0 / 297.5 MB, free: 9.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.05262, allocations: 0 / 297.5 MB, free: 9.09 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001609/0.05422, allocations: 0.8872 MB / 298.4 MB, free: 8.176 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.05425, allocations: 11.98 kB / 298.4 MB, free: 8.164 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007268/0.05498, allocations: 244 kB / 298.7 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.05522, allocations: 221.1 kB / 298.9 MB, free: 7.684 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.05524, allocations: 33.03 kB / 298.9 MB, free: 7.652 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.05528, allocations: 28.38 kB / 298.9 MB, free: 7.625 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006695/0.05595, allocations: 0.6552 MB / 299.6 MB, free: 6.891 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.05596, allocations: 4.125 kB / 299.6 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.05599, allocations: 23.94 kB / 299.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.056, allocations: 8 kB / 299.6 MB, free: 6.855 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/0.05645, allocations: 308.1 kB / 299.9 MB, free: 6.559 MB / 282.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.001271/0.05772, allocations: 1.45 MB / 301.4 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005653/0.05828, allocations: 346 kB / 301.7 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.8e-05/0.05837, allocations: 84.53 kB / 301.8 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06378/0.1222, allocations: 38.91 MB / 340.7 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.1222, allocations: 34.56 kB / 340.7 MB, free: 13.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 2.825e-06/0.1222, allocations: 0 / 340.7 MB, free: 13.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.002028/0.1242, allocations: 1.001 MB / 341.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.1242, allocations: 55.41 kB / 341.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.1244, allocations: 206.4 kB / 342 MB, free: 12.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1244, allocations: 29.7 kB / 342 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.1244, allocations: 180.3 kB / 342.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.503e-05/0.1245, allocations: 122.9 kB / 342.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.597e-05/0.1246, allocations: 74.11 kB / 342.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.1247, allocations: 350.7 kB / 342.7 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.618e-05/0.1247, allocations: 72.8 kB / 342.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.1249, allocations: 168.1 kB / 343 MB, free: 11.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.1251, allocations: 257.6 kB / 343.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1251, allocations: 0 / 343.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003379/0.1254, allocations: 327.6 kB / 343.6 MB, free: 10.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1254, allocations: 7.938 kB / 343.6 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1254, allocations: 4 kB / 343.6 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001847/0.1256, allocations: 86.78 kB / 343.6 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.1258, allocations: 75.91 kB / 343.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008977/0.1267, allocations: 2.225 MB / 345.9 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.1268, allocations: 28.05 kB / 346 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.1268, allocations: 12 kB / 346 MB, free: 8.051 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.506e-05/0.1269, allocations: 132.6 kB / 346.1 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.1269, allocations: 31.91 kB / 346.1 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006315/0.1276, allocations: 0.809 MB / 347 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.1276, allocations: 15.97 kB / 347 MB, free: 7.035 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.1276, allocations: 0 / 347 MB, free: 7.035 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004281/0.128, allocations: 0.809 MB / 347.8 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009037/0.1289, allocations: 1.071 MB / 348.9 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1289, allocations: 4 kB / 348.9 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.1291, allocations: 79.88 kB / 348.9 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000148/0.1292, allocations: 51.59 kB / 349 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.1292, allocations: 7.984 kB / 349 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002364/0.1295, allocations: 0.5344 MB / 349.5 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1295, allocations: 0 / 349.5 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005016/0.13, allocations: 0.6765 MB / 350.2 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.13, allocations: 47.55 kB / 350.3 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.13, allocations: 19.89 kB / 350.3 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.815e-05/0.1301, allocations: 15.98 kB / 350.3 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.1302, allocations: 31.94 kB / 350.3 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.1302, allocations: 20.02 kB / 350.3 MB, free: 3.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.286e-05/0.1303, allocations: 96.62 kB / 350.4 MB, free: 3.402 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1303, allocations: 0 / 350.4 MB, free: 3.402 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001719/0.132, allocations: 0.8696 MB / 351.3 MB, free: 2.531 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002166/0.1342, allocations: 1.14 MB / 352.4 MB, free: 1.379 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004097/0.1346, allocations: 387.8 kB / 352.8 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.1346, allocations: 4 kB / 352.8 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.1348, allocations: 196.8 kB / 353 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.1352, allocations: 180.2 kB / 353.2 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1016/0.2368, allocations: 1.061 MB / 354.3 MB, free: 83.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.2369, allocations: 144.2 kB / 354.4 MB, free: 83.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002953/0.2372, allocations: 135.4 kB / 354.5 MB, free: 83.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.2375, allocations: 166.8 kB / 354.7 MB, free: 83.63 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.2375, allocations: 5.938 kB / 354.7 MB, free: 83.63 MB / 330.7 MB Notification: Performance of Templates: time 0.02917/0.2666, allocations: 39.81 MB / 394.5 MB, free: 55.75 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.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: 4.296943068038672]