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_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.001331/0.001331, 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.001463/0.001463, allocations: 166.9 kB / 25.61 MB, free: 8.91 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.8818/0.8818, allocations: 158.6 MB / 187.5 MB, free: 2.793 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_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 251.5 MB, free: 7.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.874e-05, allocations: 2.312 kB / 251.5 MB, free: 7.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.01537/0.0154, allocations: 14.53 MB / 266 MB, free: 8.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01698/0.03238, allocations: 11.07 MB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/0.03274, allocations: 7.938 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004862/0.03323, allocations: 135 kB / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009224/0.03415, allocations: 385.5 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02169/0.05584, allocations: 5.325 MB / 283 MB, free: 7.629 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.05714, allocations: 1.032 MB / 284 MB, free: 6.594 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.05733, allocations: 77.56 kB / 284.1 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003288/0.06062, allocations: 2.291 MB / 286.4 MB, free: 4.195 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/0.06094, allocations: 271.2 kB / 286.6 MB, free: 3.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.787e-05/0.06099, allocations: 36 kB / 286.7 MB, free: 3.895 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004844/0.06583, allocations: 3.453 MB / 290.1 MB, free: 448 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.06602, allocations: 111.6 kB / 290.2 MB, free: 336 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000244/0.06627, allocations: 171.7 kB / 290.4 MB, free: 164 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003645/0.06991, allocations: 2.639 MB / 293 MB, free: 13.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.06992, allocations: 0 / 293 MB, free: 13.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.06992, allocations: 0 / 293 MB, free: 13.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.06992, allocations: 0 / 293 MB, free: 13.52 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.001123/0.07105, allocations: 0.8377 MB / 293.9 MB, free: 12.64 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.07108, allocations: 11.98 kB / 293.9 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004532/0.07154, allocations: 171.9 kB / 294 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.07179, allocations: 248 kB / 294.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.07181, allocations: 21.03 kB / 294.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.07185, allocations: 36.38 kB / 294.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/0.07233, allocations: 0.5331 MB / 294.9 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.07234, allocations: 192 / 294.9 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.07237, allocations: 23.88 kB / 294.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.07238, allocations: 12 kB / 294.9 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.07263, allocations: 200.2 kB / 295.1 MB, free: 11.27 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.001514/0.07415, allocations: 2.362 MB / 297.5 MB, free: 8.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.07444, allocations: 187 kB / 297.6 MB, free: 8.629 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.216e-05/0.07451, allocations: 59.59 kB / 297.7 MB, free: 8.566 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01303/0.08754, allocations: 7.097 MB / 304.8 MB, free: 1.469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.08757, allocations: 41.39 kB / 304.8 MB, free: 1.418 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.08757, allocations: 0 / 304.8 MB, free: 1.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.002278/0.08985, allocations: 0.9608 MB / 305.8 MB, free: 420 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.08988, allocations: 55.41 kB / 305.9 MB, free: 352 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.09005, allocations: 280.1 kB / 306.1 MB, free: 52 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.09007, allocations: 33.7 kB / 306.2 MB, free: 12 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.09018, allocations: 262.9 kB / 306.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.09023, allocations: 107.1 kB / 306.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.09031, allocations: 87.8 kB / 306.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.09043, allocations: 0.5079 MB / 307.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-05/0.09049, allocations: 44.97 kB / 307.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.09061, allocations: 215.5 kB / 307.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.09082, allocations: 290.4 kB / 307.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.09082, allocations: 3.938 kB / 307.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003845/0.09121, allocations: 360.2 kB / 308 MB, free: 13.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.09122, allocations: 4.5 kB / 308 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.09123, allocations: 4 kB / 308 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/0.09264, allocations: 263.1 kB / 308.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.09281, allocations: 87.83 kB / 308.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04481/0.1376, allocations: 21.62 MB / 330 MB, free: 7.371 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.1378, allocations: 12 kB / 330 MB, free: 7.359 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.1379, allocations: 16 kB / 330 MB, free: 7.344 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): 43 * 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.138, allocations: 188.3 kB / 330.2 MB, free: 7.148 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.1381, allocations: 39.81 kB / 330.2 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007102/0.1388, allocations: 0.5658 MB / 330.8 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.1388, allocations: 11.98 kB / 330.8 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1388, allocations: 4 kB / 330.8 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005103/0.1393, allocations: 0.7337 MB / 331.6 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009832/0.1403, allocations: 0.9457 MB / 332.5 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.1403, allocations: 0 / 332.5 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.1404, allocations: 51.97 kB / 332.5 MB, free: 4.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008446/0.1413, allocations: 319.2 kB / 332.9 MB, free: 4.336 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.1413, allocations: 8 kB / 332.9 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.1427, allocations: 1.846 MB / 334.7 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1427, allocations: 3.938 kB / 334.7 MB, free: 2.363 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/0.1433, allocations: 0.6048 MB / 335.3 MB, free: 1.738 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.1434, allocations: 47.66 kB / 335.4 MB, free: 1.691 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.1434, allocations: 19.89 kB / 335.4 MB, free: 1.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.1435, allocations: 4 kB / 335.4 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.1435, allocations: 15.97 kB / 335.4 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1435, allocations: 19.92 kB / 335.4 MB, free: 1.633 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1436, allocations: 214.9 kB / 335.6 MB, free: 1.426 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1436, allocations: 0 / 335.6 MB, free: 1.426 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001303/0.1449, allocations: 0.5033 MB / 336.1 MB, free: 0.9219 MB / 314.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.T) * 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 (30): * Single equations (assignments): 27 * 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 {(2,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.001242/0.1462, allocations: 0.5845 MB / 336.7 MB, free: 336 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005974/0.1468, allocations: 0.6308 MB / 337.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1468, allocations: 0 / 337.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.147, allocations: 326.8 kB / 337.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.1475, allocations: 168.5 kB / 337.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.1488, allocations: 0.8568 MB / 338.7 MB, free: 14.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.815e-05/0.1489, allocations: 130.5 kB / 338.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.1491, allocations: 106.8 kB / 338.9 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.1493, allocations: 198.1 kB / 339.1 MB, free: 13.8 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1493, allocations: 0 / 339.1 MB, free: 13.8 MB / 330.7 MB Notification: Performance of Templates: time 0.1343/0.2836, allocations: 21.6 MB / 360.7 MB, free: 69.37 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_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_pT/WaterIF97_pT.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: 3.4335979763418436]