Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008282/0.0008282, allocations: 96.08 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001003, allocations: 168.8 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.2 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2122/0.2122, allocations: 44.25 MB / 337.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002966, allocations: 4 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1149, allocations: 61.93 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.446/0.561, allocations: 171.1 MB / 0.6283 GB, free: 7.625 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007586/0.5686, allocations: 5.418 MB / 0.6336 GB, free: 2.195 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009976/0.5697, allocations: 23.81 kB / 0.6336 GB, free: 2.172 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009658/0.5706, allocations: 278.5 kB / 0.6339 GB, free: 1.898 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00332/0.574, allocations: 1.2 MB / 0.6351 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.5765, allocations: 0.9529 MB / 0.636 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002951/0.5795, allocations: 2.714 MB / 0.6387 GB, free: 13.04 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006213/0.5801, allocations: 404.6 kB / 0.639 GB, free: 12.64 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002051/0.5822, allocations: 0.9613 MB / 0.64 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.5834, allocations: 0.7666 MB / 0.6407 GB, free: 10.9 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.295e-05/0.5835, allocations: 32 kB / 0.6408 GB, free: 10.87 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.5847, allocations: 0.5421 MB / 0.6413 GB, free: 10.33 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.585, allocations: 235.2 kB / 0.6415 GB, free: 10.1 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003701/0.5854, allocations: 391.9 kB / 0.6419 GB, free: 9.707 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.5867, allocations: 1.258 MB / 0.6431 GB, free: 8.445 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5867, allocations: 0 / 0.6431 GB, free: 8.445 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5868, allocations: 0 / 0.6431 GB, free: 8.445 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.5868, allocations: 0 / 0.6431 GB, free: 8.445 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001883/0.5887, allocations: 0.9504 MB / 0.644 GB, free: 7.441 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.5887, allocations: 15.97 kB / 0.6441 GB, free: 7.426 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007708/0.5895, allocations: 127.1 kB / 0.6442 GB, free: 7.301 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007361/0.5902, allocations: 0.5041 MB / 0.6447 GB, free: 6.758 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.5904, allocations: 104.3 kB / 0.6448 GB, free: 6.641 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.574e-05/0.5905, allocations: 47.98 kB / 0.6448 GB, free: 6.594 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.5918, allocations: 0.8262 MB / 0.6456 GB, free: 5.695 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.5918, allocations: 3.906 kB / 0.6456 GB, free: 5.691 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.386e-05/0.5919, allocations: 20 kB / 0.6456 GB, free: 5.672 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-05/0.5919, allocations: 44.86 kB / 0.6457 GB, free: 5.629 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.593, allocations: 0.6244 MB / 0.6463 GB, free: 5.004 MB / 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.004391/0.5974, allocations: 3.965 MB / 0.6502 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005745/0.598, allocations: 353.9 kB / 0.6505 GB, free: 440 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.5983, allocations: 173.3 kB / 0.6507 GB, free: 264 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.5984, allocations: 93.36 kB / 0.6508 GB, free: 152 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.5985, allocations: 38.84 kB / 0.6508 GB, free: 104 kB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.973e-06/0.5985, allocations: 0 / 0.6508 GB, free: 104 kB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005527/0.604, allocations: 1.672 MB / 0.6524 GB, free: 14.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/0.6041, allocations: 132.5 kB / 0.6526 GB, free: 14.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007233/0.6048, allocations: 0.6172 MB / 0.6532 GB, free: 13.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.6049, allocations: 33.7 kB / 0.6532 GB, free: 13.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.6052, allocations: 366.8 kB / 0.6535 GB, free: 13.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.6053, allocations: 134.1 kB / 0.6537 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.592e-05/0.6054, allocations: 65.67 kB / 0.6537 GB, free: 12.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.6056, allocations: 374.8 kB / 0.6541 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.606, allocations: 205.9 kB / 0.6543 GB, free: 12.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006088/0.6066, allocations: 0.5086 MB / 0.6548 GB, free: 11.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009785/0.6076, allocations: 0.7563 MB / 0.6555 GB, free: 10.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.6076, allocations: 8 kB / 0.6555 GB, free: 10.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001468/0.6091, allocations: 0.8802 MB / 0.6564 GB, free: 9.938 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.6091, allocations: 16.02 kB / 0.6564 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.6091, allocations: 11.94 kB / 0.6564 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.6106, allocations: 320.6 kB / 0.6567 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.611, allocations: 119.8 kB / 0.6568 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.6121, allocations: 0.9371 MB / 0.6578 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/0.6126, allocations: 43.92 kB / 0.6578 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.834e-05/0.6127, allocations: 67.98 kB / 0.6579 GB, free: 8.406 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.0003663/0.6131, allocations: 246.1 kB / 0.6581 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.6132, allocations: 67.25 kB / 0.6582 GB, free: 8.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.615, allocations: 0.8708 MB / 0.659 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.615, allocations: 4 kB / 0.659 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.615, allocations: 0 / 0.659 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.615, allocations: 3.984 kB / 0.659 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.617, allocations: 1.465 MB / 0.6604 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.6171, allocations: 0 / 0.6604 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.6181, allocations: 212 kB / 0.6606 GB, free: 5.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.6182, allocations: 28.75 kB / 0.6607 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.516e-05/0.6182, allocations: 19.98 kB / 0.6607 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.6203, allocations: 2.691 MB / 0.6633 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.6203, allocations: 4.031 kB / 0.6633 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.6215, allocations: 0.8129 MB / 0.6641 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.6218, allocations: 196.1 kB / 0.6643 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.672e-05/0.6219, allocations: 11.98 kB / 0.6643 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/0.6223, allocations: 27.98 kB / 0.6643 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.258e-05/0.6224, allocations: 43.95 kB / 0.6644 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.493e-05/0.6225, allocations: 43.98 kB / 0.6644 GB, free: 1.191 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005205/0.623, allocations: 439 kB / 0.6648 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6231, allocations: 0 / 0.6648 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009809/0.624, allocations: 251.9 kB / 0.6651 GB, free: 0.5195 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0008717/0.6249, allocations: 284.2 kB / 0.6654 GB, free: 244 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.6261, allocations: 0.5674 MB / 0.6659 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.6261, allocations: 0 / 0.6659 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.6271, allocations: 414.4 kB / 0.6663 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.629, allocations: 338.9 kB / 0.6666 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.6314, allocations: 1.662 MB / 0.6683 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.632, allocations: 0.93 MB / 0.6692 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00128/0.6333, allocations: 467.4 kB / 0.6696 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/0.6337, allocations: 115.4 kB / 0.6697 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.6337, allocations: 0 / 0.6697 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.0315/0.6652, allocations: 16.74 MB / 0.6861 GB, free: 11.11 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches