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.001678/0.001678, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002228/0.002228, allocations: 210.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 75.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3122, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04078/0.3531, allocations: 39.19 MB / 0.5699 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02327/0.3764, allocations: 20.18 MB / 0.5896 GB, free: 6.148 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008786/0.3773, allocations: 19.88 kB / 0.5897 GB, free: 6.129 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.3786, allocations: 441.3 kB / 0.5901 GB, free: 5.695 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01395/0.3926, allocations: 5.123 MB / 0.5951 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007025/0.3996, allocations: 2.574 MB / 0.5976 GB, free: 14 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002646/0.4023, allocations: 1.954 MB / 0.5995 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008948/0.4032, allocations: 485.5 kB / 0.6 GB, free: 11.54 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00915/0.4124, allocations: 4.156 MB / 0.604 GB, free: 7.332 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01059/0.423, allocations: 5.428 MB / 0.6093 GB, free: 1.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003384/0.4234, allocations: 71.94 kB / 0.6094 GB, free: 1.75 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01574/0.4391, allocations: 7.239 MB / 0.6165 GB, free: 10.5 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004824/0.4397, allocations: 275.2 kB / 0.6167 GB, free: 10.23 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008082/0.4405, allocations: 450 kB / 0.6172 GB, free: 9.793 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01409/0.4546, allocations: 4.974 MB / 0.622 GB, free: 4.809 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4546, allocations: 0 / 0.622 GB, free: 4.809 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4547, allocations: 0 / 0.622 GB, free: 4.809 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.458e-05/0.4547, allocations: 0 / 0.622 GB, free: 4.809 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.006352/0.4611, allocations: 1.629 MB / 0.6236 GB, free: 3.129 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.4611, allocations: 8.031 kB / 0.6236 GB, free: 3.121 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/0.4635, allocations: 219.8 kB / 0.6238 GB, free: 2.906 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.4649, allocations: 0.5715 MB / 0.6244 GB, free: 2.293 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.4651, allocations: 109.3 kB / 0.6245 GB, free: 2.172 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.4653, allocations: 60.12 kB / 0.6245 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.4681, allocations: 1.075 MB / 0.6256 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/0.4682, allocations: 3.938 kB / 0.6256 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.4683, allocations: 28 kB / 0.6256 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.639e-05/0.4684, allocations: 44.98 kB / 0.6257 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002416/0.4709, allocations: 0.8232 MB / 0.6265 GB, free: 32 kB / 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.00811/0.479, allocations: 5.551 MB / 0.6319 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.4807, allocations: 0.531 MB / 0.6324 GB, free: 9.559 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004738/0.4812, allocations: 222.4 kB / 0.6326 GB, free: 9.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1456/0.6269, allocations: 52.8 MB / 0.6842 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/0.627, allocations: 38.56 kB / 0.6842 GB, free: 13.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 4.358e-06/0.627, allocations: 0 / 0.6842 GB, free: 13.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.01005/0.6371, allocations: 2.131 MB / 0.6863 GB, free: 11.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.6372, allocations: 195.9 kB / 0.6865 GB, free: 11.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.6385, allocations: 0.6368 MB / 0.6871 GB, free: 10.76 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.593e-05/0.6386, allocations: 33.7 kB / 0.6871 GB, free: 10.72 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004276/0.639, allocations: 411.1 kB / 0.6875 GB, free: 10.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.6393, allocations: 157.8 kB / 0.6877 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000353/0.6396, allocations: 158.5 kB / 0.6878 GB, free: 10 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002251/0.6399, allocations: 378.8 kB / 0.6882 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/0.6405, allocations: 233.9 kB / 0.6884 GB, free: 9.391 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009706/0.6415, allocations: 0.5899 MB / 0.689 GB, free: 8.629 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.643, allocations: 0.8639 MB / 0.6898 GB, free: 7.602 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.6431, allocations: 4 kB / 0.6898 GB, free: 7.598 MB / 0.545 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002272/0.6453, allocations: 0.8994 MB / 0.6907 GB, free: 6.688 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.6454, allocations: 12 kB / 0.6907 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.6454, allocations: 12 kB / 0.6907 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004608/0.65, allocations: 273.2 kB / 0.691 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.6518, allocations: 279.6 kB / 0.6913 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.6543, allocations: 2.121 MB / 0.6933 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008983/0.6552, allocations: 31.94 kB / 0.6934 GB, free: 3.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.6554, allocations: 47.98 kB / 0.6934 GB, free: 3.758 MB / 0.545 GB 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.0006258/0.656, allocations: 272.9 kB / 0.6937 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/0.6563, allocations: 71.16 kB / 0.6937 GB, free: 3.414 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003408/0.6598, allocations: 2.006 MB / 0.6957 GB, free: 1.383 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.405e-05/0.6598, allocations: 27.91 kB / 0.6957 GB, free: 1.355 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6598, allocations: 0 / 0.6957 GB, free: 1.355 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.6599, allocations: 3.984 kB / 0.6957 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005255/0.6651, allocations: 2.998 MB / 0.6987 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.6652, allocations: 0 / 0.6987 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.6665, allocations: 183.8 kB / 0.6988 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002337/0.6688, allocations: 299.9 kB / 0.6991 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/0.6689, allocations: 15.98 kB / 0.6991 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00229/0.6712, allocations: 2.18 MB / 0.7013 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6712, allocations: 0 / 0.7013 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003154/0.6744, allocations: 1.937 MB / 0.7032 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005346/0.675, allocations: 227.6 kB / 0.7034 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/0.6752, allocations: 27.88 kB / 0.7034 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007315/0.676, allocations: 23.98 kB / 0.7034 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.6761, allocations: 36.33 kB / 0.7035 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.029e-05/0.6762, allocations: 16 kB / 0.7035 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001227/0.6774, allocations: 0.5693 MB / 0.704 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6774, allocations: 0 / 0.704 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004446/0.6819, allocations: 1.089 MB / 0.7051 GB, free: 7.488 MB / 0.5606 GB 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.006594/0.6885, allocations: 1.214 MB / 0.7063 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00289/0.6914, allocations: 0.9168 MB / 0.7072 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.6914, allocations: 0 / 0.7072 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001796/0.6932, allocations: 0.6318 MB / 0.7078 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/0.6966, allocations: 398.7 kB / 0.7082 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004857/0.7015, allocations: 2.164 MB / 0.7103 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.7026, allocations: 1.097 MB / 0.7114 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.7028, allocations: 67.44 kB / 0.7114 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of SimCode: time 1.173e-06/0.7029, allocations: 3.938 kB / 0.7114 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of Templates: time 0.2853/0.9882, allocations: 37.32 MB / 0.7479 GB, free: 178.8 MB / 0.5762 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