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.001847/0.001847, allocations: 113.4 kB / 17.99 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002247/0.002247, allocations: 213.8 kB / 18.92 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.571/1.571, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 46.09 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003131/0.003131, allocations: 75.88 kB / 417.7 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2502, allocations: 62.44 MB / 480.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.7187/0.969, allocations: 39.62 MB / 0.5076 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04859/1.018, allocations: 20.29 MB / 0.5274 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003113/1.021, allocations: 28.12 kB / 0.5274 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003132/1.024, allocations: 401.4 kB / 0.5278 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03022/1.054, allocations: 4.563 MB / 0.5323 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01559/1.07, allocations: 2.338 MB / 0.5346 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004901/1.075, allocations: 1.975 MB / 0.5365 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/1.077, allocations: 477.2 kB / 0.5369 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01346/1.09, allocations: 4.14 MB / 0.541 GB, free: 5.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02124/1.111, allocations: 5.477 MB / 0.5463 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006794/1.112, allocations: 66.62 kB / 0.5464 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03508/1.147, allocations: 7.145 MB / 0.5534 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001072/1.148, allocations: 275.2 kB / 0.5536 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001728/1.15, allocations: 446 kB / 0.5541 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01748/1.168, allocations: 3.462 MB / 0.5574 GB, free: 8.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.359e-05/1.168, allocations: 0 / 0.5574 GB, free: 8.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.607e-06/1.168, allocations: 0 / 0.5574 GB, free: 8.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.147e-05/1.168, allocations: 0 / 0.5574 GB, free: 8.992 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.009908/1.178, allocations: 1.633 MB / 0.559 GB, free: 7.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.858e-05/1.178, allocations: 12.03 kB / 0.559 GB, free: 7.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/1.18, allocations: 215.8 kB / 0.5593 GB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/1.182, allocations: 0.5442 MB / 0.5598 GB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/1.183, allocations: 105.3 kB / 0.5599 GB, free: 6.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/1.183, allocations: 64.36 kB / 0.5599 GB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003512/1.186, allocations: 1.074 MB / 0.561 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.365e-05/1.186, allocations: 7.938 kB / 0.561 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/1.187, allocations: 24 kB / 0.561 GB, free: 5.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001097/1.187, allocations: 40.98 kB / 0.5611 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002808/1.189, allocations: 0.831 MB / 0.5619 GB, free: 4.246 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.01236/1.202, allocations: 5.554 MB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002278/1.204, allocations: 0.5407 MB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005766/1.205, allocations: 218.4 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1662/1.371, allocations: 52.58 MB / 0.6194 GB, free: 2.312 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.926e-05/1.371, allocations: 44.8 kB / 0.6194 GB, free: 2.262 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 4.188e-06/1.371, allocations: 0 / 0.6194 GB, free: 2.262 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.01277/1.384, allocations: 2.128 MB / 0.6215 GB, free: 76 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002349/1.384, allocations: 195.8 kB / 0.6217 GB, free: 15.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/1.386, allocations: 0.6368 MB / 0.6223 GB, free: 15.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/1.386, allocations: 33.64 kB / 0.6223 GB, free: 15.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005458/1.387, allocations: 403.1 kB / 0.6227 GB, free: 14.76 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/1.387, allocations: 161.8 kB / 0.6229 GB, free: 14.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004144/1.387, allocations: 162.5 kB / 0.623 GB, free: 14.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003191/1.388, allocations: 374.8 kB / 0.6234 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007281/1.389, allocations: 234.7 kB / 0.6236 GB, free: 13.83 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/1.39, allocations: 0.5899 MB / 0.6242 GB, free: 13.07 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/1.392, allocations: 0.8675 MB / 0.625 GB, free: 12.04 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/1.392, allocations: 4 kB / 0.6251 GB, free: 12.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00275/1.394, allocations: 0.8962 MB / 0.6259 GB, free: 11.13 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/1.395, allocations: 16.06 kB / 0.6259 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/1.395, allocations: 12 kB / 0.626 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005269/1.4, allocations: 268.5 kB / 0.6262 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002218/1.402, allocations: 285.2 kB / 0.6265 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003458/1.406, allocations: 2.117 MB / 0.6285 GB, free: 8.277 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/1.407, allocations: 59.94 kB / 0.6286 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/1.407, allocations: 47.94 kB / 0.6287 GB, free: 8.172 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.00088/1.408, allocations: 281.1 kB / 0.6289 GB, free: 7.891 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004835/1.409, allocations: 71.16 kB / 0.629 GB, free: 7.82 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004629/1.413, allocations: 2.011 MB / 0.631 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.315e-05/1.413, allocations: 27.91 kB / 0.631 GB, free: 5.766 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.413, allocations: 3.984 kB / 0.631 GB, free: 5.762 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/1.413, allocations: 0 / 0.631 GB, free: 5.762 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007058/1.42, allocations: 2.994 MB / 0.6339 GB, free: 2.691 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/1.42, allocations: 4 kB / 0.6339 GB, free: 2.688 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/1.422, allocations: 187.8 kB / 0.6341 GB, free: 2.504 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002627/1.424, allocations: 315.9 kB / 0.6344 GB, free: 2.191 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/1.425, allocations: 12 kB / 0.6344 GB, free: 2.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003219/1.428, allocations: 2.168 MB / 0.6365 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.428, allocations: 0 / 0.6365 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003656/1.432, allocations: 1.936 MB / 0.6384 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007092/1.432, allocations: 239.6 kB / 0.6386 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/1.432, allocations: 31.75 kB / 0.6387 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007886/1.433, allocations: 31.92 kB / 0.6387 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/1.433, allocations: 32.39 kB / 0.6387 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.436e-05/1.434, allocations: 23.98 kB / 0.6388 GB, free: 13.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001256/1.435, allocations: 0.5654 MB / 0.6393 GB, free: 12.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.01e-07/1.435, allocations: 0 / 0.6393 GB, free: 12.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005805/1.441, allocations: 1.093 MB / 0.6404 GB, free: 11.86 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.008054/1.449, allocations: 1.205 MB / 0.6415 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003353/1.452, allocations: 0.9868 MB / 0.6425 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.452, allocations: 0 / 0.6425 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001392/1.454, allocations: 0.6401 MB / 0.6431 GB, free: 9.031 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/1.456, allocations: 405.3 kB / 0.6435 GB, free: 8.648 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004795/1.461, allocations: 2.585 MB / 0.646 GB, free: 6.039 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/1.462, allocations: 1.097 MB / 0.6471 GB, free: 4.906 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/1.462, allocations: 67.44 kB / 0.6472 GB, free: 4.84 MB / 494.1 MB Notification: Performance of SimCode: time 3.757e-06/1.462, allocations: 0 / 0.6472 GB, free: 4.84 MB / 494.1 MB Notification: Performance of Templates: time 0.09808/1.56, allocations: 37.28 MB / 0.6836 GB, free: 15.57 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