Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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 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_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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.001665/0.001665, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001686/0.001686, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.648/1.648, allocations: 222.9 MB / 243 MB, free: 15.16 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.207/0.207, allocations: 44.19 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 70.78 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.124, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.03827/0.1623, allocations: 39.03 MB / 0.4978 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2591/0.4215, allocations: 20.13 MB / 0.5175 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007311/0.4222, allocations: 20.22 kB / 0.5175 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.4235, allocations: 441.7 kB / 0.5179 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01288/0.4364, allocations: 5.133 MB / 0.5229 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006529/0.4429, allocations: 2.563 MB / 0.5254 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002894/0.4458, allocations: 1.956 MB / 0.5273 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007174/0.4466, allocations: 490.6 kB / 0.5278 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009596/0.4562, allocations: 4.147 MB / 0.5318 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01031/0.4665, allocations: 5.425 MB / 0.5371 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.4668, allocations: 66.41 kB / 0.5372 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01522/0.482, allocations: 7.232 MB / 0.5443 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005723/0.4826, allocations: 278.9 kB / 0.5445 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009632/0.4836, allocations: 452.9 kB / 0.545 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.495, allocations: 4.957 MB / 0.5498 GB, free: 13.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.626e-05/0.4951, allocations: 3.938 kB / 0.5498 GB, free: 13.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4951, allocations: 0 / 0.5498 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.4951, allocations: 0 / 0.5498 GB, free: 13.48 MB / 398.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.003726/0.4988, allocations: 1.632 MB / 0.5514 GB, free: 11.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.4989, allocations: 8.031 kB / 0.5514 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.5004, allocations: 226.7 kB / 0.5516 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000933/0.5013, allocations: 0.5652 MB / 0.5522 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.5014, allocations: 109.3 kB / 0.5523 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.5015, allocations: 59.03 kB / 0.5523 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.5034, allocations: 1.077 MB / 0.5534 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.5034, allocations: 7.875 kB / 0.5534 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.142e-05/0.5035, allocations: 28 kB / 0.5534 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-05/0.5036, allocations: 44.98 kB / 0.5535 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/0.5052, allocations: 0.8232 MB / 0.5543 GB, free: 8.75 MB / 398.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.005613/0.5108, allocations: 5.535 MB / 0.5597 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.5121, allocations: 0.5303 MB / 0.5602 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/0.5124, allocations: 226.3 kB / 0.5604 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09057/0.603, allocations: 47.66 MB / 0.6069 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.64e-05/0.6031, allocations: 42.56 kB / 0.607 GB, free: 12.8 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 2.996e-06/0.6032, allocations: 3.938 kB / 0.607 GB, free: 12.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.006452/0.6096, allocations: 2.123 MB / 0.6091 GB, free: 10.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.6097, allocations: 195.9 kB / 0.6093 GB, free: 10.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007688/0.6105, allocations: 0.6406 MB / 0.6099 GB, free: 9.742 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.6106, allocations: 33.7 kB / 0.6099 GB, free: 9.703 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.6109, allocations: 405.5 kB / 0.6103 GB, free: 9.309 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.611, allocations: 164 kB / 0.6105 GB, free: 9.148 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.6112, allocations: 162.5 kB / 0.6106 GB, free: 8.984 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.6114, allocations: 374.8 kB / 0.611 GB, free: 8.609 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.6118, allocations: 229.9 kB / 0.6112 GB, free: 8.383 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/0.6124, allocations: 0.5899 MB / 0.6118 GB, free: 7.621 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.6135, allocations: 0.8638 MB / 0.6126 GB, free: 6.594 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/0.6135, allocations: 4 kB / 0.6126 GB, free: 6.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001375/0.6149, allocations: 0.8961 MB / 0.6135 GB, free: 5.684 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.6149, allocations: 12 kB / 0.6135 GB, free: 5.672 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.6149, allocations: 16 kB / 0.6135 GB, free: 5.656 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003281/0.6182, allocations: 268.6 kB / 0.6138 GB, free: 5.391 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.6194, allocations: 287.8 kB / 0.614 GB, free: 5.109 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.6213, allocations: 2.113 MB / 0.6161 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/0.6218, allocations: 32 kB / 0.6161 GB, free: 2.805 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/0.6219, allocations: 36 kB / 0.6162 GB, free: 2.77 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004014/0.6223, allocations: 279.2 kB / 0.6164 GB, free: 2.488 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.6225, allocations: 75.09 kB / 0.6165 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.6248, allocations: 1.991 MB / 0.6185 GB, free: 420 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.249e-05/0.6249, allocations: 35.95 kB / 0.6185 GB, free: 384 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.6249, allocations: 4 kB / 0.6185 GB, free: 380 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.6249, allocations: 0 / 0.6185 GB, free: 380 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/0.6284, allocations: 3 MB / 0.6214 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6284, allocations: 0 / 0.6214 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008866/0.6293, allocations: 187.8 kB / 0.6216 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001652/0.6309, allocations: 299.8 kB / 0.6219 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.631, allocations: 20 kB / 0.6219 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.6327, allocations: 2.176 MB / 0.624 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6327, allocations: 4.031 kB / 0.624 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002402/0.6351, allocations: 1.941 MB / 0.6259 GB, free: 8.508 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.6356, allocations: 235.5 kB / 0.6262 GB, free: 8.258 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.6358, allocations: 31.69 kB / 0.6262 GB, free: 8.227 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004412/0.6362, allocations: 12 kB / 0.6262 GB, free: 8.215 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/0.6363, allocations: 36.33 kB / 0.6262 GB, free: 8.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.6364, allocations: 24.05 kB / 0.6263 GB, free: 8.156 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007633/0.6371, allocations: 0.5693 MB / 0.6268 GB, free: 7.598 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6371, allocations: 0 / 0.6268 GB, free: 7.598 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002927/0.6401, allocations: 1.089 MB / 0.6279 GB, free: 6.508 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003709/0.6438, allocations: 1.191 MB / 0.629 GB, free: 5.406 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001935/0.6457, allocations: 0.9205 MB / 0.6299 GB, free: 4.484 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6458, allocations: 0 / 0.6299 GB, free: 4.484 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.647, allocations: 0.6441 MB / 0.6306 GB, free: 3.844 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.6488, allocations: 392.6 kB / 0.6309 GB, free: 3.473 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.6519, allocations: 2.13 MB / 0.633 GB, free: 1.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/0.6525, allocations: 1.094 MB / 0.6341 GB, free: 208 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006924/0.6532, allocations: 354.2 kB / 0.6344 GB, free: 15.85 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.6534, allocations: 67.38 kB / 0.6345 GB, free: 15.79 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6534, allocations: 0 / 0.6345 GB, free: 15.79 MB / 494.1 MB Notification: Performance of Templates: time 0.06084/0.7142, allocations: 45.24 MB / 0.6787 GB, free: 2.703 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches