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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001231/0.001231, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.189/1.189, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009597/0.0009597, allocations: 111.2 kB / 271.2 MB, free: 8.445 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007999/0.0008, allocations: 43.94 kB / 327.2 MB, free: 316 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1887, allocations: 46.61 MB / 373.8 MB, free: 45.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.02503/0.2137, allocations: 33.25 MB / 407.1 MB, free: 16.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01298/0.2267, allocations: 16.68 MB / 423.8 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000305/0.2271, allocations: 0 / 423.8 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006571/0.2278, allocations: 234.8 kB / 424 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005986/0.2284, allocations: 354.2 kB / 424.3 MB, free: 14.87 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0118/0.2402, allocations: 4.683 MB / 429 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.2415, allocations: 1.426 MB / 430.5 MB, free: 8.754 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.2417, allocations: 89.02 kB / 430.5 MB, free: 8.664 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004392/0.2461, allocations: 2.115 MB / 432.7 MB, free: 6.523 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.2465, allocations: 310.8 kB / 433 MB, free: 6.219 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.589e-05/0.2466, allocations: 16 kB / 433 MB, free: 6.203 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005736/0.2523, allocations: 3.508 MB / 436.5 MB, free: 2.691 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.2525, allocations: 83.7 kB / 436.6 MB, free: 2.609 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002794/0.2528, allocations: 203.1 kB / 436.8 MB, free: 2.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003926/0.2567, allocations: 2.347 MB / 439.1 MB, free: 60 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2568, allocations: 0 / 439.1 MB, free: 60 kB / 314.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.2568, allocations: 4 kB / 439.1 MB, free: 56 kB / 314.7 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.2568, allocations: 0 / 439.1 MB, free: 56 kB / 314.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.001435/0.2582, allocations: 0.8188 MB / 439.9 MB, free: 15.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2583, allocations: 12.03 kB / 439.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006706/0.2589, allocations: 84.5 kB / 440 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.2593, allocations: 299.6 kB / 440.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.2594, allocations: 25.03 kB / 440.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.2594, allocations: 40.31 kB / 440.4 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007395/0.2602, allocations: 446.1 kB / 440.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.2602, allocations: 4 kB / 440.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.2602, allocations: 12 kB / 440.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.2603, allocations: 8 kB / 440.8 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005682/0.2608, allocations: 317.8 kB / 441.2 MB, free: 13.88 MB / 330.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.002794/0.2636, allocations: 2.625 MB / 443.8 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006184/0.2643, allocations: 250.5 kB / 444 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.2645, allocations: 110.6 kB / 444.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03097/0.2955, allocations: 15.47 MB / 459.6 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.2955, allocations: 34.56 kB / 459.6 MB, free: 9.332 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 1.893e-06/0.2955, allocations: 3.938 kB / 459.6 MB, free: 9.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.004075/0.2996, allocations: 1.317 MB / 461 MB, free: 7.934 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.2997, allocations: 55.41 kB / 461 MB, free: 7.867 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.2999, allocations: 270.5 kB / 461.3 MB, free: 7.594 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.3, allocations: 33.7 kB / 461.3 MB, free: 7.555 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.3001, allocations: 196 kB / 461.5 MB, free: 7.359 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.3002, allocations: 110.5 kB / 461.6 MB, free: 7.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.911e-05/0.3003, allocations: 74.05 kB / 461.7 MB, free: 7.172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3004, allocations: 342.8 kB / 462 MB, free: 6.828 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.3006, allocations: 96.84 kB / 462.1 MB, free: 6.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.3008, allocations: 218.9 kB / 462.3 MB, free: 6.465 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.3012, allocations: 358.3 kB / 462.7 MB, free: 6.062 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3013, allocations: 0 / 462.7 MB, free: 6.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006736/0.3019, allocations: 438.5 kB / 463.1 MB, free: 5.621 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.302, allocations: 8 kB / 463.1 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.302, allocations: 4.5 kB / 463.1 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003/0.305, allocations: 265.4 kB / 463.4 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.3053, allocations: 87.83 kB / 463.5 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.3066, allocations: 1.875 MB / 465.3 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.3069, allocations: 36.08 kB / 465.4 MB, free: 3.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.3069, allocations: 16 kB / 465.4 MB, free: 3.172 MB / 346.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 (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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001667/0.3071, allocations: 165.9 kB / 465.5 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.19e-05/0.3072, allocations: 35.56 kB / 465.6 MB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.3082, allocations: 0.9514 MB / 466.5 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.3082, allocations: 11.98 kB / 466.5 MB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.3082, allocations: 0 / 466.5 MB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008986/0.3091, allocations: 1.114 MB / 467.7 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.3108, allocations: 1.588 MB / 469.2 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3108, allocations: 4 kB / 469.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.311, allocations: 51.91 kB / 469.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/0.3126, allocations: 287.9 kB / 469.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.3126, allocations: 4 kB / 469.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005792/0.3132, allocations: 0.6734 MB / 470.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.3132, allocations: 0 / 470.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2632/0.5765, allocations: 49 MB / 0.5071 GB, free: 114.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.777e-05/0.5766, allocations: 114.3 kB / 0.5072 GB, free: 114.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.5767, allocations: 14.02 kB / 0.5072 GB, free: 114.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.5769, allocations: 18.78 kB / 0.5072 GB, free: 114.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.5769, allocations: 26.92 kB / 0.5073 GB, free: 114.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.577, allocations: 9.672 kB / 0.5073 GB, free: 114.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002702/0.5772, allocations: 237.8 kB / 0.5075 GB, free: 114.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5772, allocations: 0.8438 kB / 0.5075 GB, free: 114.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005622/0.5829, allocations: 2.071 MB / 0.5095 GB, free: 114 MB / 394.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 ($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 (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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01088/0.5938, allocations: 1.144 MB / 0.5106 GB, free: 113.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00097/0.5948, allocations: 0.5152 MB / 0.5111 GB, free: 113.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.5948, allocations: 1.219 kB / 0.5111 GB, free: 113.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.5952, allocations: 296.3 kB / 0.5114 GB, free: 113.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.5964, allocations: 182.3 kB / 0.5116 GB, free: 113.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.5989, allocations: 1.819 MB / 0.5134 GB, free: 112.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.5992, allocations: 0.8432 MB / 0.5142 GB, free: 111.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003556/0.5996, allocations: 124 kB / 0.5143 GB, free: 111.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.95e-05/0.5997, allocations: 43.19 kB / 0.5144 GB, free: 111.7 MB / 394.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5997, allocations: 0 / 0.5144 GB, free: 111.7 MB / 394.7 MB Notification: Performance of Templates: time 0.07798/0.6777, allocations: 84.47 MB / 0.5968 GB, free: 44.45 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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