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.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_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.001309, allocations: 114.7 kB / 17.28 MB, free: 6.219 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.001503/0.001503, allocations: 189.3 kB / 18.2 MB, free: 5.301 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.591/1.591, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.001883/0.001883, allocations: 47.94 kB / 280.2 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08915/0.09106, allocations: 46.62 MB / 326.8 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03288/0.124, allocations: 32.5 MB / 359.3 MB, free: 4.168 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01798/0.142, allocations: 15.77 MB / 375.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003865/0.1425, allocations: 7.938 kB / 375.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007912/0.1433, allocations: 238.8 kB / 375.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007545/0.144, allocations: 342.2 kB / 375.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1693/0.3133, allocations: 5.118 MB / 380.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.3147, allocations: 0.9926 MB / 381.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003037/0.315, allocations: 115.4 kB / 381.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004678/0.3197, allocations: 2.185 MB / 384 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006171/0.3204, allocations: 325.8 kB / 384.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.3205, allocations: 39.97 kB / 384.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01075/0.3312, allocations: 5.989 MB / 390.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.3315, allocations: 111 kB / 390.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003883/0.3319, allocations: 224.5 kB / 390.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007107/0.339, allocations: 3.794 MB / 394.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.339, allocations: 1.375 kB / 394.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.339, allocations: 4 kB / 394.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.362e-05/0.3391, allocations: 1.75 kB / 394.5 MB, free: 11.75 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.003636/0.3427, allocations: 1.014 MB / 395.5 MB, free: 11.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3428, allocations: 13.77 kB / 395.5 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.3441, allocations: 155 kB / 395.7 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.3444, allocations: 310 kB / 396 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.3445, allocations: 30.25 kB / 396 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.303e-05/0.3446, allocations: 30.97 kB / 396.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.3459, allocations: 0.5505 MB / 396.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.3459, allocations: 7.5 kB / 396.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.3459, allocations: 15.55 kB / 396.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.3459, allocations: 6.75 kB / 396.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.3473, allocations: 0.5024 MB / 397.1 MB, free: 10.76 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.002317/0.3496, allocations: 2.598 MB / 399.7 MB, free: 8.641 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.3509, allocations: 437.8 kB / 400.2 MB, free: 8.527 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/0.3513, allocations: 170.9 kB / 400.3 MB, free: 8.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000632/0.3519, allocations: 0.5585 MB / 400.9 MB, free: 7.965 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.352, allocations: 43.78 kB / 400.9 MB, free: 7.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.272e-06/0.352, allocations: 0 / 400.9 MB, free: 7.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.004292/0.3563, allocations: 1.499 MB / 402.4 MB, free: 7.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.3563, allocations: 62.55 kB / 402.5 MB, free: 7.195 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.3565, allocations: 250.1 kB / 402.7 MB, free: 7.062 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.3566, allocations: 35.67 kB / 402.8 MB, free: 7.031 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.381e-05/0.3567, allocations: 187.1 kB / 403 MB, free: 6.891 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.3568, allocations: 114.9 kB / 403.1 MB, free: 6.809 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.3569, allocations: 78.5 kB / 403.1 MB, free: 6.785 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.732e-05/0.357, allocations: 335.5 kB / 403.5 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.3573, allocations: 144.3 kB / 403.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.3577, allocations: 235.2 kB / 403.8 MB, free: 6.305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006933/0.3584, allocations: 393.4 kB / 404.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3584, allocations: 7.812 kB / 404.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001009/0.3594, allocations: 0.4992 MB / 404.7 MB, free: 6.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3595, allocations: 5.125 kB / 404.7 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3595, allocations: 4.719 kB / 404.7 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004394/0.3599, allocations: 114.8 kB / 404.9 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.3602, allocations: 88.06 kB / 404.9 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.3615, allocations: 2.506 MB / 407.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.3618, allocations: 48.11 kB / 407.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.3619, allocations: 19.22 kB / 407.5 MB, free: 3.496 MB / 318.1 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.0001688/0.3621, allocations: 157.2 kB / 407.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.028e-05/0.3621, allocations: 35.56 kB / 407.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/0.3638, allocations: 1.336 MB / 409 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.3638, allocations: 16.84 kB / 409.1 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.3638, allocations: 0 / 409.1 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001302/0.3651, allocations: 1.42 MB / 410.5 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.3672, allocations: 2.107 MB / 412.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.3672, allocations: 0 / 412.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.3676, allocations: 93.88 kB / 412.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002877/0.3679, allocations: 79.02 kB / 412.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.3679, allocations: 11.86 kB / 412.8 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002211/0.3681, allocations: 0.5944 MB / 413.4 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3681, allocations: 0 / 413.4 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.3695, allocations: 1.268 MB / 414.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.3696, allocations: 126.7 kB / 414.8 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.3696, allocations: 27.73 kB / 414.8 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.3699, allocations: 39.36 kB / 414.8 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.37, allocations: 31.45 kB / 414.8 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.068e-05/0.3701, allocations: 12.88 kB / 414.9 MB, free: 4 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002342/0.3703, allocations: 233 kB / 415.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3703, allocations: 4 kB / 415.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003498/0.3738, allocations: 0.8598 MB / 416 MB, free: 15.7 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.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.003601/0.3774, allocations: 0.9758 MB / 416.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.3789, allocations: 0.6616 MB / 417.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3789, allocations: 0 / 417.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006209/0.3796, allocations: 420 kB / 418 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.3806, allocations: 202.4 kB / 418.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.3826, allocations: 1.509 MB / 419.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.383, allocations: 0.8726 MB / 420.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003384/0.3833, allocations: 154 kB / 420.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.069e-05/0.3834, allocations: 35.44 kB / 420.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3834, allocations: 1.094 kB / 420.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of Templates: time 0.04401/0.4274, allocations: 35.7 MB / 456.5 MB, free: 7.445 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches