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.001542/0.001542, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001726/0.001726, allocations: 188 kB / 19.34 MB, free: 3.641 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.37/1.37, allocations: 222.9 MB / 243 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2153/0.2153, allocations: 44.19 MB / 337.4 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 68.27 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09854/0.09977, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4376/0.5374, allocations: 175.2 MB / 0.6308 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0072/0.5446, allocations: 5.337 MB / 0.636 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006346/0.5453, allocations: 19.88 kB / 0.6361 GB, free: 11.48 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009148/0.5462, allocations: 317.9 kB / 0.6364 GB, free: 11.17 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003308/0.5496, allocations: 1.328 MB / 0.6377 GB, free: 9.844 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.5522, allocations: 1.061 MB / 0.6387 GB, free: 8.793 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002105/0.5543, allocations: 1.852 MB / 0.6405 GB, free: 6.938 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006449/0.555, allocations: 460.2 kB / 0.6409 GB, free: 6.488 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.557, allocations: 1.07 MB / 0.642 GB, free: 5.414 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.5582, allocations: 0.7472 MB / 0.6427 GB, free: 4.664 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.5583, allocations: 60 kB / 0.6428 GB, free: 4.605 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.5595, allocations: 0.6203 MB / 0.6434 GB, free: 3.984 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002428/0.5598, allocations: 259.3 kB / 0.6436 GB, free: 3.73 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000387/0.5602, allocations: 402.2 kB / 0.644 GB, free: 3.336 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.5616, allocations: 1.305 MB / 0.6453 GB, free: 2.027 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5616, allocations: 0 / 0.6453 GB, free: 2.027 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5616, allocations: 0 / 0.6453 GB, free: 2.027 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.5616, allocations: 0 / 0.6453 GB, free: 2.027 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.002028/0.5637, allocations: 1.095 MB / 0.6463 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.5637, allocations: 8.031 kB / 0.6464 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008121/0.5645, allocations: 139.1 kB / 0.6465 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008577/0.5654, allocations: 0.5351 MB / 0.647 GB, free: 164 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.5655, allocations: 104.4 kB / 0.6471 GB, free: 44 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.5656, allocations: 48.05 kB / 0.6472 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.5668, allocations: 0.8096 MB / 0.6479 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.5668, allocations: 7.938 kB / 0.648 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.405e-05/0.5669, allocations: 27.98 kB / 0.648 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-05/0.567, allocations: 48.86 kB / 0.648 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000991/0.568, allocations: 0.6205 MB / 0.6486 GB, free: 14.41 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.00432/0.5723, allocations: 3.961 MB / 0.6525 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/0.5728, allocations: 355.6 kB / 0.6528 GB, free: 9.836 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.5731, allocations: 165.3 kB / 0.653 GB, free: 9.672 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.5733, allocations: 93.38 kB / 0.6531 GB, free: 9.562 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.5733, allocations: 46.78 kB / 0.6531 GB, free: 9.508 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.5733, allocations: 0 / 0.6531 GB, free: 9.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005242/0.5786, allocations: 1.653 MB / 0.6547 GB, free: 7.785 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.828e-05/0.5786, allocations: 140.5 kB / 0.6549 GB, free: 7.617 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006713/0.5793, allocations: 0.6171 MB / 0.6555 GB, free: 6.992 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.5794, allocations: 33.7 kB / 0.6555 GB, free: 6.953 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.5796, allocations: 362.9 kB / 0.6559 GB, free: 6.594 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.5797, allocations: 142 kB / 0.656 GB, free: 6.453 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/0.58, allocations: 158.5 kB / 0.6561 GB, free: 6.293 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.5801, allocations: 374.8 kB / 0.6565 GB, free: 5.918 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.5805, allocations: 205.9 kB / 0.6567 GB, free: 5.715 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.581, allocations: 0.5202 MB / 0.6572 GB, free: 5.051 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008914/0.5819, allocations: 0.7475 MB / 0.6579 GB, free: 4.164 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5819, allocations: 0 / 0.6579 GB, free: 4.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001364/0.5833, allocations: 0.8851 MB / 0.6588 GB, free: 3.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.5833, allocations: 12 kB / 0.6588 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.5834, allocations: 12.16 kB / 0.6588 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.5847, allocations: 324.5 kB / 0.6591 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.5851, allocations: 119.8 kB / 0.6593 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.5862, allocations: 0.9373 MB / 0.6602 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/0.5866, allocations: 32.06 kB / 0.6602 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.015e-05/0.5867, allocations: 67.98 kB / 0.6603 GB, free: 1.75 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.0002945/0.587, allocations: 251.5 kB / 0.6605 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.5872, allocations: 75.08 kB / 0.6606 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.5887, allocations: 0.855 MB / 0.6614 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.5887, allocations: 4 kB / 0.6614 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5887, allocations: 0 / 0.6614 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5887, allocations: 4 kB / 0.6614 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.5908, allocations: 1.462 MB / 0.6628 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.5908, allocations: 0 / 0.6628 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.5919, allocations: 223.9 kB / 0.6631 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-05/0.5919, allocations: 24.84 kB / 0.6631 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/0.592, allocations: 19.98 kB / 0.6631 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/0.5939, allocations: 2.873 MB / 0.6659 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.594, allocations: 0 / 0.6659 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.5951, allocations: 0.822 MB / 0.6667 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002752/0.5954, allocations: 188.4 kB / 0.6669 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-05/0.5955, allocations: 12 kB / 0.6669 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.5959, allocations: 15.98 kB / 0.6669 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.596, allocations: 43.89 kB / 0.667 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.741e-05/0.5961, allocations: 43.98 kB / 0.667 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004811/0.5966, allocations: 435 kB / 0.6674 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5966, allocations: 0 / 0.6674 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008551/0.5975, allocations: 255.9 kB / 0.6677 GB, free: 9.68 MB / 0.4981 GB 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.0007317/0.5982, allocations: 307 kB / 0.668 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.5993, allocations: 0.562 MB / 0.6685 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5993, allocations: 0 / 0.6685 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009671/0.6003, allocations: 426.9 kB / 0.6689 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.6017, allocations: 366.5 kB / 0.6693 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.6038, allocations: 1.329 MB / 0.6706 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/0.6043, allocations: 0.93 MB / 0.6715 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009043/0.6052, allocations: 462.4 kB / 0.6719 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.6055, allocations: 111.4 kB / 0.672 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.6055, allocations: 0 / 0.672 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of Templates: time 0.02541/0.631, allocations: 17.4 MB / 0.689 GB, free: 3.906 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/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