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.001017/0.001017, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.0009877/0.0009877, allocations: 166.9 kB / 25.33 MB, free: 8.586 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.8758/0.8758, allocations: 158.6 MB / 187.2 MB, free: 2.93 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.182e-06/1.182e-06, allocations: 0 / 251.1 MB, free: 7.461 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.108e-05, allocations: 2.312 kB / 251.1 MB, free: 7.457 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.02958/0.0296, allocations: 14.68 MB / 265.8 MB, free: 8.703 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009452/0.03905, allocations: 11.26 MB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.03921, allocations: 7.938 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.03955, allocations: 127.1 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004593/0.04001, allocations: 389.5 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008651/0.04866, allocations: 5.333 MB / 282.9 MB, free: 7.543 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007408/0.0494, allocations: 1.04 MB / 283.9 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.04954, allocations: 77.56 kB / 284 MB, free: 6.418 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002812/0.05236, allocations: 2.299 MB / 286.3 MB, free: 4.094 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.05265, allocations: 295.1 kB / 286.6 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.05269, allocations: 40 kB / 286.6 MB, free: 3.766 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006355/0.05905, allocations: 5.736 MB / 292.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.05915, allocations: 119.6 kB / 292.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.05929, allocations: 175.7 kB / 292.7 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004515/0.0638, allocations: 4.432 MB / 297.1 MB, free: 9.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.06381, allocations: 0 / 297.1 MB, free: 9.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.06381, allocations: 4 kB / 297.1 MB, free: 9.289 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.06381, allocations: 0 / 297.1 MB, free: 9.289 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.001241/0.06506, allocations: 1.016 MB / 298.1 MB, free: 8.234 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.06509, allocations: 15.98 kB / 298.1 MB, free: 8.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007127/0.06581, allocations: 219.8 kB / 298.3 MB, free: 8.004 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.0661, allocations: 264 kB / 298.6 MB, free: 7.719 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.06613, allocations: 37.03 kB / 298.6 MB, free: 7.684 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.06618, allocations: 36.33 kB / 298.7 MB, free: 7.648 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000792/0.06698, allocations: 0.6943 MB / 299.4 MB, free: 6.867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.06699, allocations: 4.125 kB / 299.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.06702, allocations: 23.94 kB / 299.4 MB, free: 6.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.06703, allocations: 8 kB / 299.4 MB, free: 6.832 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005698/0.0676, allocations: 371.4 kB / 299.8 MB, free: 6.473 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.001645/0.06925, allocations: 2.126 MB / 301.9 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006919/0.06994, allocations: 374.8 kB / 302.2 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.07007, allocations: 95.94 kB / 302.3 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003191/0.07039, allocations: 187.8 kB / 302.5 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.07042, allocations: 49.8 kB / 302.6 MB, free: 3.547 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.07042, allocations: 0 / 302.6 MB, free: 3.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.00218/0.0726, allocations: 1.132 MB / 303.7 MB, free: 2.367 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.07263, allocations: 55.41 kB / 303.8 MB, free: 2.301 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.0728, allocations: 261.7 kB / 304 MB, free: 2.027 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.07283, allocations: 41.7 kB / 304.1 MB, free: 1.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.07297, allocations: 239.1 kB / 304.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.07304, allocations: 119 kB / 304.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.966e-05/0.07313, allocations: 83.84 kB / 304.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.07326, allocations: 0.5078 MB / 305 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.07339, allocations: 88.86 kB / 305.1 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.07355, allocations: 220.8 kB / 305.3 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.0739, allocations: 323.6 kB / 305.6 MB, free: 292 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.07391, allocations: 0 / 305.6 MB, free: 292 kB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005358/0.07444, allocations: 444 kB / 306 MB, free: 15.83 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.07445, allocations: 4 kB / 306.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.07446, allocations: 7.984 kB / 306.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002292/0.07469, allocations: 87 kB / 306.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.07487, allocations: 84.23 kB / 306.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.07617, allocations: 3.349 MB / 309.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.07627, allocations: 20.25 kB / 309.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.0763, allocations: 23.98 kB / 309.6 MB, free: 12.06 MB / 298.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 0.0001127/0.07641, allocations: 184.4 kB / 309.8 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.07646, allocations: 39.81 kB / 309.8 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007887/0.07725, allocations: 0.8946 MB / 310.7 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.07727, allocations: 19.91 kB / 310.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.07727, allocations: 0 / 310.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005859/0.07785, allocations: 0.9385 MB / 311.7 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.07893, allocations: 1.344 MB / 313 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.07893, allocations: 3.938 kB / 313 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.07911, allocations: 79.89 kB / 313.1 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001755/0.07928, allocations: 55.58 kB / 313.2 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.0793, allocations: 4 kB / 313.2 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002588/0.07956, allocations: 0.7961 MB / 314 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.07956, allocations: 3.938 kB / 314 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000711/0.08027, allocations: 0.8305 MB / 314.8 MB, free: 6.652 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.08031, allocations: 59.47 kB / 314.9 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.08034, allocations: 19.89 kB / 314.9 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.08045, allocations: 23.91 kB / 314.9 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.08051, allocations: 31.94 kB / 314.9 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.08053, allocations: 12 kB / 314.9 MB, free: 6.508 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001354/0.08066, allocations: 231 kB / 315.2 MB, free: 6.277 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08066, allocations: 4.031 kB / 315.2 MB, free: 6.273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001833/0.0825, allocations: 0.8696 MB / 316 MB, free: 5.402 MB / 298.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.002266/0.08476, allocations: 1.071 MB / 317.1 MB, free: 4.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000583/0.08535, allocations: 0.4894 MB / 317.6 MB, free: 3.812 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.08535, allocations: 0 / 317.6 MB, free: 3.812 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.0856, allocations: 236.4 kB / 317.8 MB, free: 3.578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.08613, allocations: 180.2 kB / 318 MB, free: 3.402 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.08777, allocations: 1.098 MB / 319.1 MB, free: 2.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.007e-05/0.08786, allocations: 148.2 kB / 319.3 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001892/0.08804, allocations: 138.7 kB / 319.4 MB, free: 1.977 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.99e-05/0.08811, allocations: 36.48 kB / 319.4 MB, free: 1.941 MB / 298.7 MB Notification: Performance of SimCode: time 1.693e-06/0.08812, allocations: 0 / 319.4 MB, free: 1.941 MB / 298.7 MB Notification: Performance of Templates: time 0.1312/0.2193, allocations: 35.82 MB / 355.3 MB, free: 82.94 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.560652809217572]