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.001121/0.001121, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001152/0.001152, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 79.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4828/0.4842, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04708/0.5313, allocations: 39.19 MB / 0.5699 GB, free: 10.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03186/0.5632, allocations: 20.17 MB / 0.5896 GB, free: 6.203 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.5645, allocations: 23.81 kB / 0.5897 GB, free: 6.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.5663, allocations: 445.3 kB / 0.5901 GB, free: 5.742 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0162/0.5825, allocations: 5.138 MB / 0.5951 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007304/0.5898, allocations: 2.577 MB / 0.5976 GB, free: 14.02 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003023/0.5929, allocations: 1.965 MB / 0.5995 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008063/0.5937, allocations: 477.5 kB / 0.6 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009686/0.6034, allocations: 4.164 MB / 0.6041 GB, free: 7.348 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01117/0.6146, allocations: 5.424 MB / 0.6094 GB, free: 1.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002437/0.6149, allocations: 68 kB / 0.6094 GB, free: 1.773 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01356/0.6285, allocations: 7.247 MB / 0.6165 GB, free: 10.52 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000425/0.6289, allocations: 267.3 kB / 0.6168 GB, free: 10.26 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006222/0.6295, allocations: 450 kB / 0.6172 GB, free: 9.816 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01203/0.6416, allocations: 4.974 MB / 0.622 GB, free: 4.832 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6416, allocations: 0 / 0.622 GB, free: 4.832 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6416, allocations: 0 / 0.622 GB, free: 4.832 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.6417, allocations: 4 kB / 0.622 GB, free: 4.828 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.004135/0.6458, allocations: 1.621 MB / 0.6236 GB, free: 3.156 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.6459, allocations: 16.03 kB / 0.6236 GB, free: 3.141 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.6474, allocations: 219.8 kB / 0.6239 GB, free: 2.926 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009239/0.6483, allocations: 0.5676 MB / 0.6244 GB, free: 2.316 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.6484, allocations: 113.2 kB / 0.6245 GB, free: 2.191 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.872e-05/0.6485, allocations: 64.11 kB / 0.6246 GB, free: 2.129 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.6503, allocations: 1.075 MB / 0.6256 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.6504, allocations: 4 kB / 0.6256 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/0.6505, allocations: 27.94 kB / 0.6257 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.219e-05/0.6505, allocations: 44.92 kB / 0.6257 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.6522, allocations: 0.8233 MB / 0.6265 GB, free: 48 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.005679/0.6578, allocations: 5.554 MB / 0.6319 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.6591, allocations: 0.5407 MB / 0.6325 GB, free: 9.562 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.6595, allocations: 214.4 kB / 0.6327 GB, free: 9.344 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09454/0.754, allocations: 52.8 MB / 0.6842 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.72e-05/0.7541, allocations: 46.5 kB / 0.6843 GB, free: 13.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 2.074e-06/0.7541, allocations: 0 / 0.6843 GB, free: 13.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.006403/0.7605, allocations: 2.127 MB / 0.6863 GB, free: 11.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.711e-05/0.7607, allocations: 187.9 kB / 0.6865 GB, free: 11.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007717/0.7614, allocations: 0.6368 MB / 0.6871 GB, free: 10.78 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.7615, allocations: 33.7 kB / 0.6872 GB, free: 10.74 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.7618, allocations: 403.1 kB / 0.6876 GB, free: 10.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.7619, allocations: 169.8 kB / 0.6877 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.7621, allocations: 150.5 kB / 0.6879 GB, free: 10.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.7623, allocations: 390.7 kB / 0.6882 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.7627, allocations: 229.9 kB / 0.6885 GB, free: 9.406 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000606/0.7633, allocations: 0.5861 MB / 0.689 GB, free: 8.648 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.7643, allocations: 0.86 MB / 0.6899 GB, free: 7.625 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.7643, allocations: 4 kB / 0.6899 GB, free: 7.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00142/0.7658, allocations: 0.9039 MB / 0.6908 GB, free: 6.707 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.7658, allocations: 8 kB / 0.6908 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.7658, allocations: 12 kB / 0.6908 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003122/0.769, allocations: 272.5 kB / 0.691 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.7701, allocations: 283.7 kB / 0.6913 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/0.7718, allocations: 2.121 MB / 0.6934 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005695/0.7724, allocations: 35.92 kB / 0.6934 GB, free: 3.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/0.7725, allocations: 36 kB / 0.6934 GB, free: 3.785 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.0004053/0.7729, allocations: 281.1 kB / 0.6937 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.7731, allocations: 71.16 kB / 0.6938 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/0.7753, allocations: 2.006 MB / 0.6957 GB, free: 1.402 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/0.7754, allocations: 31.91 kB / 0.6958 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.7754, allocations: 0 / 0.6958 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.7754, allocations: 7.984 kB / 0.6958 GB, free: 1.363 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003392/0.7788, allocations: 2.991 MB / 0.6987 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.7788, allocations: 4 kB / 0.6987 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008817/0.7797, allocations: 183.8 kB / 0.6989 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001737/0.7814, allocations: 299.9 kB / 0.6992 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/0.7815, allocations: 19.98 kB / 0.6992 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.7836, allocations: 2.176 MB / 0.7013 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7836, allocations: 0 / 0.7013 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/0.786, allocations: 1.945 MB / 0.7032 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000436/0.7865, allocations: 231.6 kB / 0.7034 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.7866, allocations: 27.75 kB / 0.7035 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.787, allocations: 11.98 kB / 0.7035 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.7871, allocations: 32.39 kB / 0.7035 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.7871, allocations: 16.06 kB / 0.7035 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007308/0.7879, allocations: 0.581 MB / 0.7041 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7879, allocations: 0 / 0.7041 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003462/0.7913, allocations: 1.089 MB / 0.7051 GB, free: 7.496 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.005166/0.7965, allocations: 1.201 MB / 0.7063 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002134/0.7987, allocations: 0.9089 MB / 0.7072 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.7987, allocations: 4 kB / 0.7072 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.7999, allocations: 0.636 MB / 0.7078 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.8021, allocations: 402.5 kB / 0.7082 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.8057, allocations: 2.171 MB / 0.7103 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007769/0.8065, allocations: 1.089 MB / 0.7114 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.8067, allocations: 63.44 kB / 0.7115 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.8067, allocations: 0 / 0.7115 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of Templates: time 0.3443/1.151, allocations: 37.33 MB / 0.7479 GB, free: 178.9 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