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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 101.9 kB / 16.94 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 175.2 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.4 MB / 224 MB, free: 13.03 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004694/0.0004694, allocations: 12 kB / 280.8 MB, free: 3.699 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09812/0.0986, allocations: 47.58 MB / 328.3 MB, free: 4.051 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.02802/0.1267, allocations: 27.27 MB / 355.6 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.1419, allocations: 13.35 MB / 368.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003321/0.1423, allocations: 4 kB / 369 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000744/0.143, allocations: 239 kB / 369.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005334/0.1436, allocations: 247.3 kB / 369.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01263/0.1562, allocations: 4.535 MB / 374 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.1572, allocations: 0.5544 MB / 374.5 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.1575, allocations: 76.94 kB / 374.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005845/0.1633, allocations: 3.259 MB / 377.9 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.1636, allocations: 195.2 kB / 378 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.775e-05/0.1637, allocations: 16 kB / 378.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2024/0.3661, allocations: 3.394 MB / 381.5 MB, free: 16.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.3664, allocations: 76.31 kB / 381.5 MB, free: 16.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003343/0.3667, allocations: 104.6 kB / 381.6 MB, free: 16.83 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004478/0.3712, allocations: 1.638 MB / 383.3 MB, free: 16.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3712, allocations: 0 / 383.3 MB, free: 16.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.3713, allocations: 0.7031 kB / 383.3 MB, free: 16.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.3713, allocations: 0 / 383.3 MB, free: 16.77 MB / 318.1 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.002737/0.374, allocations: 0.7428 MB / 384 MB, free: 16.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.3741, allocations: 8.812 kB / 384 MB, free: 16.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008849/0.375, allocations: 83.3 kB / 384.1 MB, free: 16.24 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.3754, allocations: 291.5 kB / 384.4 MB, free: 16.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.3755, allocations: 26.14 kB / 384.4 MB, free: 16.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.056e-05/0.3755, allocations: 30.66 kB / 384.4 MB, free: 16.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008809/0.3764, allocations: 440 kB / 384.9 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.3764, allocations: 2.859 kB / 384.9 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/0.3765, allocations: 20.23 kB / 384.9 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.3765, allocations: 7.594 kB / 384.9 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006152/0.3771, allocations: 311.8 kB / 385.2 MB, free: 15.89 MB / 318.1 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.002562/0.3797, allocations: 2.634 MB / 387.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/0.3803, allocations: 253.5 kB / 388.1 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03083/0.4112, allocations: 15.59 MB / 403.7 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.4112, allocations: 37.19 kB / 403.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 1.963e-06/0.4112, allocations: 0 / 403.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.004422/0.4157, allocations: 1.31 MB / 405 MB, free: 3.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.4157, allocations: 55.5 kB / 405.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.416, allocations: 265 kB / 405.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.4161, allocations: 39.17 kB / 405.4 MB, free: 3.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.4162, allocations: 198.3 kB / 405.6 MB, free: 3.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/0.4163, allocations: 101.8 kB / 405.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-05/0.4163, allocations: 9.938 kB / 405.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.4164, allocations: 335.1 kB / 406 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.4165, allocations: 98.11 kB / 406.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.4167, allocations: 223.6 kB / 406.3 MB, free: 2.801 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.4169, allocations: 136.7 kB / 406.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4169, allocations: 0 / 406.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007732/0.4177, allocations: 437 kB / 406.9 MB, free: 2.719 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.4178, allocations: 9.953 kB / 406.9 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.4178, allocations: 8 kB / 406.9 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002951/0.4207, allocations: 271.8 kB / 407.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.421, allocations: 83.23 kB / 407.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.4224, allocations: 1.876 MB / 409.1 MB, free: 16.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.4228, allocations: 32.36 kB / 409.2 MB, free: 16.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.4228, allocations: 23 kB / 409.2 MB, free: 16.91 MB / 334.1 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 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001894/0.423, allocations: 165.2 kB / 409.3 MB, free: 16.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.4231, allocations: 34.97 kB / 409.4 MB, free: 16.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008715/0.424, allocations: 0.9464 MB / 410.3 MB, free: 16.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.424, allocations: 8.344 kB / 410.3 MB, free: 16.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.424, allocations: 0 / 410.3 MB, free: 16.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009009/0.4249, allocations: 1.12 MB / 411.4 MB, free: 16.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.4265, allocations: 1.587 MB / 413 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4265, allocations: 0 / 413 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.4267, allocations: 59.27 kB / 413.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/0.4283, allocations: 298.3 kB / 413.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.4283, allocations: 6.344 kB / 413.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004789/0.4288, allocations: 0.6616 MB / 414 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4288, allocations: 0 / 414 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.4299, allocations: 0.9619 MB / 415 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.43, allocations: 133.7 kB / 415.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.4301, allocations: 7.219 kB / 415.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.4303, allocations: 21 kB / 415.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.4304, allocations: 23.31 kB / 415.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.4304, allocations: 12.73 kB / 415.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002213/0.4306, allocations: 238.7 kB / 415.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4306, allocations: 0 / 415.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002848/0.4335, allocations: 0.4932 MB / 415.9 MB, free: 14.73 MB / 334.1 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 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003838/0.4373, allocations: 0.5103 MB / 416.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008732/0.4382, allocations: 0.5169 MB / 417 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4382, allocations: 2.734 kB / 417 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004742/0.4387, allocations: 296 kB / 417.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.4398, allocations: 190.5 kB / 417.4 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.4415, allocations: 1.218 MB / 418.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.4419, allocations: 0.8313 MB / 419.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003396/0.4423, allocations: 107.9 kB / 419.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.4423, allocations: 29.56 kB / 419.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4423, allocations: 3.281 kB / 419.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of Templates: time 0.03224/0.4746, allocations: 18.52 MB / 438.1 MB, free: 10.99 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile Environment - environmentSimulation: (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) Environment - environmentSimulation: 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","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches