Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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.001282/0.001282, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001455/0.001455, allocations: 183.8 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2196/0.2196, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.001221, allocations: 59.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.381, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.04525/0.4263, allocations: 39.02 MB / 0.557 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02471/0.4511, allocations: 20.16 MB / 0.5767 GB, free: 0.707 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000936/0.452, allocations: 19.88 kB / 0.5767 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.4535, allocations: 445.3 kB / 0.5771 GB, free: 256 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01608/0.4696, allocations: 5.109 MB / 0.5821 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007795/0.4774, allocations: 2.568 MB / 0.5846 GB, free: 8.574 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003258/0.4807, allocations: 1.981 MB / 0.5866 GB, free: 6.582 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007435/0.4814, allocations: 497.4 kB / 0.5871 GB, free: 6.082 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008649/0.4901, allocations: 4.168 MB / 0.5911 GB, free: 1.859 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01011/0.5002, allocations: 5.44 MB / 0.5964 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002526/0.5005, allocations: 72 kB / 0.5965 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01485/0.5153, allocations: 7.391 MB / 0.6037 GB, free: 4.863 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000497/0.5159, allocations: 283.2 kB / 0.604 GB, free: 4.586 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006545/0.5165, allocations: 458 kB / 0.6044 GB, free: 4.137 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.5292, allocations: 5.099 MB / 0.6094 GB, free: 15.03 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.5292, allocations: 0 / 0.6094 GB, free: 15.03 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5292, allocations: 4 kB / 0.6094 GB, free: 15.02 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.443e-05/0.5293, allocations: 0 / 0.6094 GB, free: 15.02 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.005594/0.5349, allocations: 1.686 MB / 0.6111 GB, free: 13.29 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.5349, allocations: 12.03 kB / 0.6111 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002276/0.5372, allocations: 295.7 kB / 0.6114 GB, free: 12.99 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.5383, allocations: 0.591 MB / 0.6119 GB, free: 12.36 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.5384, allocations: 117.3 kB / 0.612 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.5385, allocations: 64.11 kB / 0.6121 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.5413, allocations: 1.189 MB / 0.6133 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.5413, allocations: 3.938 kB / 0.6133 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.539e-05/0.5414, allocations: 28 kB / 0.6133 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.847e-05/0.5415, allocations: 41.3 kB / 0.6133 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002635/0.5441, allocations: 1.027 MB / 0.6143 GB, free: 9.773 MB / 478.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.007115/0.5512, allocations: 5.606 MB / 0.6198 GB, free: 3.793 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.5537, allocations: 0.7509 MB / 0.6205 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005951/0.5543, allocations: 285.6 kB / 0.6208 GB, free: 2.738 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04179/0.5961, allocations: 15.94 MB / 0.6364 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.941e-05/0.5962, allocations: 39.28 kB / 0.6364 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of pre-optimization done (n=45): time 2.464e-06/0.5962, allocations: 0 / 0.6364 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of matching and sorting (n=49): time 0.007356/0.6036, allocations: 2.282 MB / 0.6387 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.6037, allocations: 162.7 kB / 0.6388 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.6047, allocations: 0.6015 MB / 0.6394 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-05/0.6048, allocations: 37.7 kB / 0.6394 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/0.6052, allocations: 395.2 kB / 0.6398 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.6054, allocations: 177.5 kB / 0.64 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/0.6057, allocations: 158.5 kB / 0.6401 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.6059, allocations: 374.8 kB / 0.6405 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009007/0.6068, allocations: 285.8 kB / 0.6408 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.608, allocations: 0.6044 MB / 0.6414 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.6101, allocations: 0.9064 MB / 0.6422 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.6101, allocations: 7.984 kB / 0.6422 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002662/0.6128, allocations: 0.9534 MB / 0.6432 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.6128, allocations: 8 kB / 0.6432 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.6129, allocations: 12 kB / 0.6432 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003877/0.6133, allocations: 64.77 kB / 0.6433 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/0.6152, allocations: 299.6 kB / 0.6435 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.6175, allocations: 2.081 MB / 0.6456 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00097/0.6184, allocations: 43.97 kB / 0.6456 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.343e-05/0.6186, allocations: 40 kB / 0.6457 GB, free: 6.824 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.0005897/0.6192, allocations: 277.6 kB / 0.6459 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/0.6194, allocations: 75.09 kB / 0.646 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004523/0.6239, allocations: 2.543 MB / 0.6485 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.185e-05/0.624, allocations: 39.94 kB / 0.6485 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.624, allocations: 0 / 0.6485 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.6241, allocations: 7.984 kB / 0.6485 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004633/0.6287, allocations: 3.761 MB / 0.6522 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.6287, allocations: 0 / 0.6522 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.6299, allocations: 227.7 kB / 0.6524 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003418/0.6302, allocations: 84.69 kB / 0.6525 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.6303, allocations: 15.98 kB / 0.6525 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.6318, allocations: 2.082 MB / 0.6545 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.6318, allocations: 0 / 0.6545 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003205/0.6351, allocations: 2.351 MB / 0.6568 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000389/0.6355, allocations: 251.3 kB / 0.6571 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.6356, allocations: 35.59 kB / 0.6571 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/0.636, allocations: 31.97 kB / 0.6571 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.6362, allocations: 56.47 kB / 0.6572 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/0.6362, allocations: 16.06 kB / 0.6572 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008806/0.6371, allocations: 0.5654 MB / 0.6578 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6371, allocations: 0 / 0.6578 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003569/0.6407, allocations: 1.093 MB / 0.6588 GB, free: 9.02 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].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 (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.004642/0.6453, allocations: 1.214 MB / 0.66 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002726/0.6481, allocations: 1.116 MB / 0.6611 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/0.6481, allocations: 4 kB / 0.6611 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.6499, allocations: 0.8127 MB / 0.6619 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.6522, allocations: 407.1 kB / 0.6623 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/0.6561, allocations: 2.462 MB / 0.6647 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000812/0.657, allocations: 1.169 MB / 0.6658 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008219/0.6578, allocations: 442.6 kB / 0.6663 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.658, allocations: 63.44 kB / 0.6663 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of SimCode: time 9.22e-07/0.658, allocations: 0 / 0.6663 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of Templates: time 0.06543/0.7234, allocations: 47.07 MB / 0.7123 GB, free: 2.363 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches