Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009129/0.0009128, allocations: 181.5 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.4 MB / 223.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4063/0.4063, allocations: 43.57 MB / 315 MB, free: 8.828 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005731/0.0005732, allocations: 12 kB / 384.6 MB, free: 7.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1349, allocations: 58.88 MB / 443.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4522/0.5872, allocations: 176.6 MB / 0.6055 GB, free: 10.56 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.5974, allocations: 5.851 MB / 0.6113 GB, free: 4.703 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.5993, allocations: 27.75 kB / 0.6113 GB, free: 4.676 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.6011, allocations: 270.5 kB / 0.6115 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005378/0.6065, allocations: 1.41 MB / 0.6129 GB, free: 3.008 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003857/0.6103, allocations: 1.102 MB / 0.614 GB, free: 1.918 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004162/0.6145, allocations: 2.71 MB / 0.6166 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008412/0.6154, allocations: 409.8 kB / 0.617 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002985/0.6184, allocations: 1.097 MB / 0.6181 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.6198, allocations: 0.7705 MB / 0.6189 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.386e-05/0.6199, allocations: 32 kB / 0.6189 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.6219, allocations: 0.6942 MB / 0.6196 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000306/0.6223, allocations: 243.2 kB / 0.6198 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004778/0.6227, allocations: 395.9 kB / 0.6202 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.6246, allocations: 1.383 MB / 0.6215 GB, free: 10.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6246, allocations: 0 / 0.6215 GB, free: 10.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6246, allocations: 0 / 0.6215 GB, free: 10.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.6246, allocations: 0 / 0.6215 GB, free: 10.18 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002205/0.6268, allocations: 0.9736 MB / 0.6225 GB, free: 9.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.6269, allocations: 16.03 kB / 0.6225 GB, free: 9.145 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007995/0.6277, allocations: 132 kB / 0.6226 GB, free: 9.016 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009097/0.6286, allocations: 0.5079 MB / 0.6231 GB, free: 8.469 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.6288, allocations: 100.3 kB / 0.6232 GB, free: 8.355 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.6289, allocations: 55.92 kB / 0.6233 GB, free: 8.301 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.6302, allocations: 0.8175 MB / 0.6241 GB, free: 7.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.6302, allocations: 0 / 0.6241 GB, free: 7.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.989e-05/0.6303, allocations: 24 kB / 0.6241 GB, free: 7.387 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-05/0.6303, allocations: 40.92 kB / 0.6241 GB, free: 7.348 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.6314, allocations: 0.6204 MB / 0.6247 GB, free: 6.727 MB / 494.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.00475/0.6361, allocations: 3.983 MB / 0.6286 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005824/0.6367, allocations: 355.6 kB / 0.629 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/0.637, allocations: 176.4 kB / 0.6291 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004735/0.6375, allocations: 373.4 kB / 0.6295 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.6376, allocations: 38.84 kB / 0.6295 GB, free: 1.508 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.6376, allocations: 0 / 0.6295 GB, free: 1.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.2615/0.8991, allocations: 1.657 MB / 0.6311 GB, free: 156.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.8992, allocations: 133.5 kB / 0.6313 GB, free: 155.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007482/0.8999, allocations: 0.6158 MB / 0.6319 GB, free: 155.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.303e-05/0.9, allocations: 36.23 kB / 0.6319 GB, free: 155.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.9002, allocations: 366.3 kB / 0.6323 GB, free: 155.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.9003, allocations: 149 kB / 0.6324 GB, free: 155.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.104e-05/0.9004, allocations: 57.66 kB / 0.6324 GB, free: 155.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.87e-05/0.9005, allocations: 376.4 kB / 0.6328 GB, free: 155.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.9008, allocations: 200.8 kB / 0.633 GB, free: 155.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/0.9013, allocations: 0.5171 MB / 0.6335 GB, free: 154.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007725/0.9021, allocations: 0.745 MB / 0.6342 GB, free: 154.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.9021, allocations: 2.5 kB / 0.6342 GB, free: 154.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001245/0.9033, allocations: 0.8848 MB / 0.6351 GB, free: 154.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.9034, allocations: 8.688 kB / 0.6351 GB, free: 154.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.9034, allocations: 10.97 kB / 0.6351 GB, free: 154.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.9048, allocations: 322.7 kB / 0.6354 GB, free: 154.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.9051, allocations: 124.4 kB / 0.6355 GB, free: 154.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009091/0.906, allocations: 0.9311 MB / 0.6365 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/0.9066, allocations: 42.69 kB / 0.6365 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.217e-05/0.9066, allocations: 68.17 kB / 0.6366 GB, free: 153.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003176/0.907, allocations: 244.6 kB / 0.6368 GB, free: 153.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.976e-05/0.9071, allocations: 73.22 kB / 0.6369 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.9085, allocations: 0.6712 MB / 0.6375 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.9085, allocations: 6.922 kB / 0.6375 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.9085, allocations: 3.969 kB / 0.6375 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.9085, allocations: 7.312 kB / 0.6375 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.9104, allocations: 1.611 MB / 0.6391 GB, free: 152.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.9104, allocations: 3.062 kB / 0.6391 GB, free: 152.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009559/0.9114, allocations: 212.6 kB / 0.6393 GB, free: 152.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.4e-05/0.9115, allocations: 26.92 kB / 0.6393 GB, free: 152.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.291e-05/0.9115, allocations: 19.95 kB / 0.6394 GB, free: 152.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/0.9131, allocations: 2.68 MB / 0.642 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.9131, allocations: 10.75 kB / 0.642 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.9141, allocations: 0.7992 MB / 0.6428 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/0.9144, allocations: 201.4 kB / 0.643 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-05/0.9144, allocations: 6.281 kB / 0.643 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.9148, allocations: 27.53 kB / 0.643 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.722e-05/0.9149, allocations: 40.84 kB / 0.643 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.749e-05/0.915, allocations: 48.28 kB / 0.6431 GB, free: 149.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004947/0.9155, allocations: 438.3 kB / 0.6435 GB, free: 149.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9155, allocations: 0 / 0.6435 GB, free: 149.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001007/0.9165, allocations: 291.3 kB / 0.6438 GB, free: 149.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008277/0.9173, allocations: 366.8 kB / 0.6441 GB, free: 149.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.9185, allocations: 0.5459 MB / 0.6447 GB, free: 149.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.9185, allocations: 4.453 kB / 0.6447 GB, free: 149.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008713/0.9194, allocations: 415.6 kB / 0.6451 GB, free: 149.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.9212, allocations: 350.6 kB / 0.6454 GB, free: 149.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.9231, allocations: 1.623 MB / 0.647 GB, free: 148.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.9235, allocations: 0.9353 MB / 0.6479 GB, free: 147.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000981/0.9245, allocations: 269.5 kB / 0.6481 GB, free: 147.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.9248, allocations: 97.53 kB / 0.6482 GB, free: 147.8 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.9248, allocations: 0 / 0.6482 GB, free: 147.8 MB / 494.1 MB Notification: Performance of Templates: time 0.03492/0.9597, allocations: 17.66 MB / 0.6655 GB, free: 145.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches