Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001623/0.001623, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001644/0.001645, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 247.5 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2347/0.2347, allocations: 46.12 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 76.66 kB / 418.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1336, allocations: 62.45 MB / 480.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.2515/0.3851, allocations: 39.17 MB / 0.5078 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02116/0.4063, allocations: 20.16 MB / 0.5274 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008923/0.4073, allocations: 19.66 kB / 0.5275 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.4086, allocations: 443.8 kB / 0.5279 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01411/0.4227, allocations: 5.127 MB / 0.5329 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007243/0.43, allocations: 2.564 MB / 0.5354 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002553/0.4325, allocations: 1.961 MB / 0.5373 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007482/0.4333, allocations: 484.1 kB / 0.5378 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009383/0.4427, allocations: 4.149 MB / 0.5418 GB, free: 4.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01092/0.4537, allocations: 5.432 MB / 0.5471 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002417/0.454, allocations: 66.22 kB / 0.5472 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.015/0.469, allocations: 7.092 MB / 0.5541 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005595/0.4696, allocations: 271.2 kB / 0.5544 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009135/0.4705, allocations: 454 kB / 0.5548 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01464/0.4852, allocations: 4.966 MB / 0.5597 GB, free: 6.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.4852, allocations: 0 / 0.5597 GB, free: 6.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4852, allocations: 0 / 0.5597 GB, free: 6.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.399e-05/0.4853, allocations: 3.938 kB / 0.5597 GB, free: 6.781 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.005211/0.4905, allocations: 1.633 MB / 0.5613 GB, free: 5.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4905, allocations: 12.03 kB / 0.5613 GB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.4921, allocations: 223.7 kB / 0.5615 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.4931, allocations: 0.5364 MB / 0.562 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.4933, allocations: 117.2 kB / 0.5621 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.4934, allocations: 60.38 kB / 0.5622 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.4955, allocations: 1.071 MB / 0.5632 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.4956, allocations: 7.938 kB / 0.5632 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/0.4957, allocations: 31.97 kB / 0.5633 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.53e-05/0.4957, allocations: 40.98 kB / 0.5633 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.4976, allocations: 0.8271 MB / 0.5641 GB, free: 2.031 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.007332/0.505, allocations: 5.563 MB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.5064, allocations: 0.5372 MB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/0.5068, allocations: 218.3 kB / 0.5703 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.111/0.6179, allocations: 52.57 MB / 0.6216 GB, free: 108 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.902e-05/0.618, allocations: 42.56 kB / 0.6217 GB, free: 56 kB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 3.236e-06/0.618, allocations: 0 / 0.6217 GB, free: 56 kB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.007221/0.6252, allocations: 2.128 MB / 0.6237 GB, free: 13.87 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.6254, allocations: 195.9 kB / 0.6239 GB, free: 13.63 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009999/0.6264, allocations: 0.6445 MB / 0.6246 GB, free: 12.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.431e-05/0.6265, allocations: 29.7 kB / 0.6246 GB, free: 12.95 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003831/0.6269, allocations: 403.2 kB / 0.625 GB, free: 12.55 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.6271, allocations: 161.7 kB / 0.6251 GB, free: 12.39 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.6274, allocations: 154.5 kB / 0.6253 GB, free: 12.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002245/0.6276, allocations: 378.8 kB / 0.6256 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/0.628, allocations: 229.9 kB / 0.6258 GB, free: 11.62 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007792/0.6288, allocations: 0.5938 MB / 0.6264 GB, free: 10.86 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.6301, allocations: 0.8676 MB / 0.6273 GB, free: 9.828 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.6301, allocations: 4 kB / 0.6273 GB, free: 9.824 MB / 478.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001706/0.6318, allocations: 0.9032 MB / 0.6282 GB, free: 8.91 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.6319, allocations: 12 kB / 0.6282 GB, free: 8.898 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.6319, allocations: 12 kB / 0.6282 GB, free: 8.887 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003341/0.6353, allocations: 269.4 kB / 0.6284 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.6366, allocations: 287.5 kB / 0.6287 GB, free: 8.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.6388, allocations: 2.118 MB / 0.6308 GB, free: 6.059 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/0.6395, allocations: 35.92 kB / 0.6308 GB, free: 6.023 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/0.6396, allocations: 40 kB / 0.6309 GB, free: 5.984 MB / 478.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.0005154/0.6401, allocations: 277.5 kB / 0.6311 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.6403, allocations: 71.91 kB / 0.6312 GB, free: 5.633 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002786/0.6431, allocations: 2.01 MB / 0.6332 GB, free: 3.605 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-05/0.6432, allocations: 27.97 kB / 0.6332 GB, free: 3.578 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6432, allocations: 7.984 kB / 0.6332 GB, free: 3.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.6432, allocations: 0 / 0.6332 GB, free: 3.57 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00423/0.6474, allocations: 2.998 MB / 0.6361 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.6475, allocations: 0 / 0.6361 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009724/0.6484, allocations: 191.8 kB / 0.6363 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001772/0.6502, allocations: 299.9 kB / 0.6366 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-05/0.6503, allocations: 8 kB / 0.6366 GB, free: 0 / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.6524, allocations: 2.184 MB / 0.6387 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.6524, allocations: 0 / 0.6387 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.655, allocations: 1.932 MB / 0.6406 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004389/0.6554, allocations: 231.6 kB / 0.6408 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.6556, allocations: 31.69 kB / 0.6409 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004598/0.6561, allocations: 20.12 kB / 0.6409 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.6562, allocations: 36.33 kB / 0.6409 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.6562, allocations: 19.98 kB / 0.6409 GB, free: 11.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008684/0.6571, allocations: 0.5654 MB / 0.6415 GB, free: 10.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6571, allocations: 0 / 0.6415 GB, free: 10.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003563/0.6607, allocations: 1.089 MB / 0.6426 GB, free: 9.691 MB / 494.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.005168/0.6658, allocations: 1.219 MB / 0.6437 GB, free: 8.477 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002742/0.6686, allocations: 0.9871 MB / 0.6447 GB, free: 7.492 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6686, allocations: 0 / 0.6447 GB, free: 7.492 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.67, allocations: 0.6358 MB / 0.6453 GB, free: 6.859 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/0.6725, allocations: 399.5 kB / 0.6457 GB, free: 6.484 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/0.6764, allocations: 2.189 MB / 0.6478 GB, free: 4.262 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008748/0.6773, allocations: 1.089 MB / 0.6489 GB, free: 3.137 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.6775, allocations: 67.44 kB / 0.649 GB, free: 3.07 MB / 494.1 MB Notification: Performance of SimCode: time 7.01e-07/0.6775, allocations: 0 / 0.649 GB, free: 3.07 MB / 494.1 MB Notification: Performance of Templates: time 0.05844/0.736, allocations: 37.36 MB / 0.6855 GB, free: 13.73 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p