Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.001152/0.001152, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001478/0.001478, allocations: 164.7 kB / 25.6 MB, free: 8.895 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.9378/0.9378, allocations: 158.6 MB / 187.5 MB, free: 2.812 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.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 251.5 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.507e-05, allocations: 6.25 kB / 251.5 MB, free: 7.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.01364/0.01367, allocations: 14.53 MB / 266.1 MB, free: 8.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0126/0.02627, allocations: 11.06 MB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.02657, allocations: 11.94 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.02704, allocations: 131.1 kB / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006689/0.02771, allocations: 389.5 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01201/0.03972, allocations: 5.333 MB / 283 MB, free: 7.625 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.04122, allocations: 1.052 MB / 284 MB, free: 6.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.04144, allocations: 81.55 kB / 284.1 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003892/0.04533, allocations: 2.306 MB / 286.4 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003998/0.04573, allocations: 283.1 kB / 286.7 MB, free: 3.875 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.03e-05/0.04579, allocations: 40 kB / 286.7 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01784/0.06363, allocations: 5.739 MB / 292.5 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.06382, allocations: 127.6 kB / 292.6 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002769/0.0641, allocations: 171.7 kB / 292.8 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.07567, allocations: 4.44 MB / 297.2 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.07568, allocations: 4 kB / 297.2 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.07568, allocations: 7.938 kB / 297.2 MB, free: 9.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.07569, allocations: 0 / 297.2 MB, free: 9.34 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.001933/0.07762, allocations: 1.016 MB / 298.2 MB, free: 8.285 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.07767, allocations: 11.98 kB / 298.2 MB, free: 8.273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007227/0.07839, allocations: 211.9 kB / 298.4 MB, free: 8.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.07869, allocations: 268 kB / 298.7 MB, free: 7.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.0787, allocations: 25.03 kB / 298.7 MB, free: 7.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.07875, allocations: 40.33 kB / 298.8 MB, free: 7.715 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000645/0.07939, allocations: 0.6522 MB / 299.4 MB, free: 6.957 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.0794, allocations: 192 / 299.4 MB, free: 6.957 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.07943, allocations: 15.94 kB / 299.4 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.07944, allocations: 8 kB / 299.4 MB, free: 6.934 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002545/0.07969, allocations: 208.2 kB / 299.7 MB, free: 6.73 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.001849/0.08154, allocations: 2.021 MB / 301.7 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.08186, allocations: 199.2 kB / 301.9 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.668e-05/0.08193, allocations: 67.62 kB / 301.9 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0289/0.1108, allocations: 14.69 MB / 316.6 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.1109, allocations: 41.39 kB / 316.7 MB, free: 5.602 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 2.815e-06/0.1109, allocations: 0 / 316.7 MB, free: 5.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.002639/0.1135, allocations: 0.841 MB / 317.5 MB, free: 4.715 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.1135, allocations: 59.34 kB / 317.6 MB, free: 4.645 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.1138, allocations: 277.3 kB / 317.8 MB, free: 4.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.1138, allocations: 33.7 kB / 317.9 MB, free: 4.316 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.1139, allocations: 247 kB / 318.1 MB, free: 4.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.171e-05/0.114, allocations: 119 kB / 318.2 MB, free: 3.953 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.1141, allocations: 83.77 kB / 318.3 MB, free: 3.863 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1143, allocations: 0.5117 MB / 318.8 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.061e-05/0.1144, allocations: 36.97 kB / 318.8 MB, free: 3.305 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.1146, allocations: 215.5 kB / 319.1 MB, free: 3.023 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.1149, allocations: 286.4 kB / 319.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1149, allocations: 4 kB / 319.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005584/0.1154, allocations: 336.4 kB / 319.7 MB, free: 2.324 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1155, allocations: 8 kB / 319.7 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.1155, allocations: 4.5 kB / 319.7 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/0.1157, allocations: 59.34 kB / 319.7 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.116, allocations: 91.83 kB / 319.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01679/0.1328, allocations: 11.9 MB / 331.7 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.133, allocations: 15.94 kB / 331.8 MB, free: 5.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.1331, allocations: 12 kB / 331.8 MB, free: 5.945 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (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 initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001691/0.1332, allocations: 184.4 kB / 331.9 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.859e-05/0.1333, allocations: 43.81 kB / 332 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005513/0.1338, allocations: 0.5369 MB / 332.5 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.1339, allocations: 15.92 kB / 332.5 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.1339, allocations: 0 / 332.5 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004664/0.1343, allocations: 0.6978 MB / 333.2 MB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009505/0.1353, allocations: 0.9089 MB / 334.1 MB, free: 3.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1353, allocations: 7.875 kB / 334.2 MB, free: 3.402 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.1354, allocations: 51.97 kB / 334.2 MB, free: 3.352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002343/0.1356, allocations: 95.56 kB / 334.3 MB, free: 3.254 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.1356, allocations: 8 kB / 334.3 MB, free: 3.246 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009096/0.1366, allocations: 1.773 MB / 336.1 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.1366, allocations: 3.938 kB / 336.1 MB, free: 1.348 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005339/0.1371, allocations: 0.573 MB / 336.7 MB, free: 0.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.1371, allocations: 31.69 kB / 336.7 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.1372, allocations: 15.89 kB / 336.7 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.1373, allocations: 19.92 kB / 336.7 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.1373, allocations: 23.95 kB / 336.7 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.1374, allocations: 15.98 kB / 336.8 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000467/0.1378, allocations: 209.2 kB / 337 MB, free: 452 kB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1378, allocations: 4 kB / 337 MB, free: 448 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.00225/0.1401, allocations: 0.8618 MB / 337.8 MB, free: 15.57 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: 4 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00257/0.1426, allocations: 1.106 MB / 338.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006309/0.1433, allocations: 0.5991 MB / 339.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1433, allocations: 4 kB / 339.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.1435, allocations: 299.4 kB / 339.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.144, allocations: 160.6 kB / 340 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.1454, allocations: 0.8531 MB / 340.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.365e-05/0.1455, allocations: 127.3 kB / 341 MB, free: 12.31 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002689/0.1457, allocations: 174.7 kB / 341.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002932/0.146, allocations: 218 kB / 341.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.146, allocations: 0 / 341.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of Templates: time 0.154/0.3, allocations: 39.98 MB / 381.3 MB, free: 66.52 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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/WaterIF97OnePhase_ph/WaterIF97OnePhase_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.29773715371266]