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.001492/0.001492, allocations: 111.9 kB / 18.4 MB, free: 4.566 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.001815/0.001815, allocations: 190.3 kB / 19.33 MB, free: 3.648 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.505/1.505, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001408/0.001408, allocations: 51.92 kB / 329.2 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08733/0.08874, allocations: 46.61 MB / 375.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.2103/0.2991, allocations: 32.57 MB / 408.4 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0202/0.3194, allocations: 15.74 MB / 424.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005207/0.32, allocations: 4.844 kB / 424.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.321, allocations: 271 kB / 424.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.3222, allocations: 361.6 kB / 424.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01942/0.3416, allocations: 5.79 MB / 430.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001695/0.3433, allocations: 0.9922 MB / 431.6 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.3436, allocations: 111.2 kB / 431.7 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005641/0.3493, allocations: 2.205 MB / 433.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007706/0.3501, allocations: 302.8 kB / 434.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.3503, allocations: 40 kB / 434.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01394/0.3642, allocations: 6.076 MB / 440.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.3645, allocations: 111.6 kB / 440.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004698/0.365, allocations: 227.2 kB / 440.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.3755, allocations: 3.774 MB / 444.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3756, allocations: 0 / 444.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3756, allocations: 0 / 444.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.3756, allocations: 0 / 444.4 MB, free: 10.98 MB / 366.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.00303/0.3786, allocations: 1.014 MB / 445.4 MB, free: 9.918 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3787, allocations: 15.89 kB / 445.4 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.3801, allocations: 148.3 kB / 445.6 MB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000574/0.3807, allocations: 327.7 kB / 445.9 MB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.3807, allocations: 28.97 kB / 445.9 MB, free: 9.371 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.94e-05/0.3808, allocations: 36.56 kB / 446 MB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.3823, allocations: 0.5526 MB / 446.5 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.3824, allocations: 0 / 446.5 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.502e-05/0.3824, allocations: 16 kB / 446.5 MB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.3824, allocations: 8 kB / 446.5 MB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.384, allocations: 0.5016 MB / 447 MB, free: 8.223 MB / 366.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.003294/0.3873, allocations: 2.608 MB / 449.6 MB, free: 5.355 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.3889, allocations: 442.3 kB / 450.1 MB, free: 4.914 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/0.3893, allocations: 161.9 kB / 450.2 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008865/0.3902, allocations: 0.5677 MB / 450.8 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.3903, allocations: 34.56 kB / 450.8 MB, free: 4.051 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.725e-06/0.3903, allocations: 0 / 450.8 MB, free: 4.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.004917/0.3952, allocations: 1.497 MB / 452.3 MB, free: 2.477 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.3953, allocations: 63.28 kB / 452.4 MB, free: 2.402 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.3956, allocations: 256.9 kB / 452.6 MB, free: 2.145 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.3956, allocations: 29.7 kB / 452.7 MB, free: 2.109 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3957, allocations: 180.2 kB / 452.8 MB, free: 1.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.3959, allocations: 118.3 kB / 453 MB, free: 1.812 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.396, allocations: 82.06 kB / 453 MB, free: 1.727 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.3962, allocations: 334.8 kB / 453.4 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.3966, allocations: 144.8 kB / 453.5 MB, free: 1.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004639/0.3971, allocations: 240.2 kB / 453.7 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000857/0.3979, allocations: 394.9 kB / 454.1 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.398, allocations: 6.312 kB / 454.1 MB, free: 0.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001342/0.3993, allocations: 0.4993 MB / 454.6 MB, free: 28 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3994, allocations: 8 kB / 454.6 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.3994, allocations: 4 kB / 454.6 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005191/0.3999, allocations: 110.8 kB / 454.8 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.4003, allocations: 83.89 kB / 454.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.4023, allocations: 2.507 MB / 457.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.4026, allocations: 23.97 kB / 457.4 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.4027, allocations: 20 kB / 457.4 MB, free: 13.07 MB / 382.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.0002328/0.4029, allocations: 167 kB / 457.6 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.006e-05/0.403, allocations: 35.64 kB / 457.6 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/0.4051, allocations: 1.313 MB / 458.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.4051, allocations: 15.97 kB / 458.9 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.4051, allocations: 4 kB / 458.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001676/0.4068, allocations: 1.428 MB / 460.3 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.4095, allocations: 2.097 MB / 462.4 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.4095, allocations: 0 / 462.4 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.4099, allocations: 95.86 kB / 462.5 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003474/0.4103, allocations: 68.8 kB / 462.6 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.4103, allocations: 8 kB / 462.6 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003911/0.4107, allocations: 0.5991 MB / 463.2 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4108, allocations: 0 / 463.2 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.4126, allocations: 1.276 MB / 464.5 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.4128, allocations: 128.4 kB / 464.6 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/0.4129, allocations: 23.78 kB / 464.6 MB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.4131, allocations: 27.97 kB / 464.7 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.4133, allocations: 35.95 kB / 464.7 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.4133, allocations: 15.98 kB / 464.7 MB, free: 5.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002659/0.4136, allocations: 231.1 kB / 464.9 MB, free: 5.266 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4136, allocations: 3.938 kB / 464.9 MB, free: 5.262 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00281/0.4164, allocations: 0.8551 MB / 465.8 MB, free: 4.406 MB / 382.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.004477/0.4209, allocations: 0.968 MB / 466.8 MB, free: 3.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.4225, allocations: 0.6503 MB / 467.4 MB, free: 2.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4226, allocations: 0 / 467.4 MB, free: 2.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007098/0.4233, allocations: 420.9 kB / 467.8 MB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.4245, allocations: 189 kB / 468 MB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.4267, allocations: 1.288 MB / 469.3 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/0.4272, allocations: 0.8727 MB / 470.2 MB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.4274, allocations: 39.44 kB / 470.2 MB, free: 15.91 MB / 398.1 MB Notification: Performance of SimCode: time 2.064e-06/0.4274, allocations: 0 / 470.2 MB, free: 15.91 MB / 398.1 MB Notification: Performance of Templates: time 0.03514/0.4625, allocations: 24.55 MB / 494.8 MB, free: 7.316 MB / 414.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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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