Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009623/0.0009624, allocations: 172.3 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.6 MB / 222.4 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007205/0.0007205, allocations: 78.95 kB / 270.8 MB, free: 8.125 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3551/0.3551, allocations: 43.67 MB / 362.7 MB, free: 51.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003184, allocations: 11.98 kB / 432.3 MB, free: 4.773 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1098, allocations: 58.85 MB / 491.2 MB, free: 9.789 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3959/0.5057, allocations: 174.4 MB / 0.65 GB, free: 5.812 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.008488/0.5143, allocations: 7.943 MB / 0.6578 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008602/0.5152, allocations: 27.75 kB / 0.6578 GB, free: 13.28 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009054/0.5161, allocations: 274.5 kB / 0.6581 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00402/0.5201, allocations: 1.413 MB / 0.6594 GB, free: 11.6 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004471/0.5246, allocations: 1.097 MB / 0.6605 GB, free: 10.5 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.003564/0.5282, allocations: 2.714 MB / 0.6632 GB, free: 7.785 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006987/0.5289, allocations: 394.2 kB / 0.6635 GB, free: 7.398 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002761/0.5317, allocations: 1.117 MB / 0.6646 GB, free: 6.277 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.533, allocations: 0.7705 MB / 0.6654 GB, free: 5.504 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.814e-05/0.5331, allocations: 28 kB / 0.6654 GB, free: 5.477 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.5349, allocations: 0.6629 MB / 0.6661 GB, free: 4.812 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002825/0.5352, allocations: 223.3 kB / 0.6663 GB, free: 4.594 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004347/0.5356, allocations: 399.8 kB / 0.6666 GB, free: 4.195 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.5373, allocations: 1.371 MB / 0.668 GB, free: 2.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5373, allocations: 7.938 kB / 0.668 GB, free: 2.812 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5373, allocations: 0 / 0.668 GB, free: 2.812 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.5373, allocations: 4 kB / 0.668 GB, free: 2.809 MB / 490.7 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.001965/0.5393, allocations: 0.9774 MB / 0.669 GB, free: 1.785 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.5393, allocations: 8.031 kB / 0.669 GB, free: 1.777 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008065/0.5401, allocations: 135.1 kB / 0.6691 GB, free: 1.645 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008103/0.541, allocations: 0.5079 MB / 0.6696 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.5411, allocations: 104.4 kB / 0.6697 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.435e-05/0.5412, allocations: 55.92 kB / 0.6697 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.5424, allocations: 0.8058 MB / 0.6705 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.5424, allocations: 4 kB / 0.6705 GB, free: 44 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.5425, allocations: 24 kB / 0.6706 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2153/0.7578, allocations: 39.75 kB / 0.6706 GB, free: 153.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.7593, allocations: 0.6175 MB / 0.6712 GB, free: 153.5 MB / 490.7 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.004548/0.7639, allocations: 3.979 MB / 0.6751 GB, free: 151 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/0.7644, allocations: 354.8 kB / 0.6754 GB, free: 150.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.7647, allocations: 164.3 kB / 0.6756 GB, free: 150.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004355/0.7652, allocations: 362.4 kB / 0.6759 GB, free: 150.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.7652, allocations: 43 kB / 0.676 GB, free: 150.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.675e-06/0.7652, allocations: 0 / 0.676 GB, free: 150.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.005202/0.7704, allocations: 1.676 MB / 0.6776 GB, free: 150.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.7705, allocations: 133.5 kB / 0.6777 GB, free: 149.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000697/0.7712, allocations: 0.6117 MB / 0.6783 GB, free: 149.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.7712, allocations: 34.89 kB / 0.6784 GB, free: 149.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.7715, allocations: 363.6 kB / 0.6787 GB, free: 149.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.7716, allocations: 145.1 kB / 0.6788 GB, free: 149.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.7716, allocations: 15.84 kB / 0.6789 GB, free: 149.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.7717, allocations: 375.2 kB / 0.6792 GB, free: 149.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.7721, allocations: 199.1 kB / 0.6794 GB, free: 149.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005011/0.7726, allocations: 0.5137 MB / 0.6799 GB, free: 148.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008602/0.7735, allocations: 0.7363 MB / 0.6806 GB, free: 148.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.7735, allocations: 4.125 kB / 0.6806 GB, free: 148.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001326/0.7748, allocations: 0.8777 MB / 0.6815 GB, free: 148 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.7749, allocations: 11.78 kB / 0.6815 GB, free: 148 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.7749, allocations: 10.53 kB / 0.6815 GB, free: 148 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.7763, allocations: 325.1 kB / 0.6818 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.7766, allocations: 120 kB / 0.6819 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000837/0.7775, allocations: 0.93 MB / 0.6828 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004991/0.778, allocations: 48.52 kB / 0.6829 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.358e-05/0.7781, allocations: 65.34 kB / 0.6829 GB, free: 147.2 MB / 490.7 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.0002719/0.7784, allocations: 251.3 kB / 0.6832 GB, free: 147.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.7785, allocations: 69.78 kB / 0.6833 GB, free: 147 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.7798, allocations: 0.6742 MB / 0.6839 GB, free: 146.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.7798, allocations: 5.75 kB / 0.6839 GB, free: 146.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.7798, allocations: 3.938 kB / 0.6839 GB, free: 146.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.7799, allocations: 3.328 kB / 0.6839 GB, free: 146.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.7816, allocations: 1.611 MB / 0.6855 GB, free: 145.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.7816, allocations: 6.094 kB / 0.6855 GB, free: 145.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009552/0.7826, allocations: 209 kB / 0.6857 GB, free: 145.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.509e-05/0.7827, allocations: 26.08 kB / 0.6857 GB, free: 145.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/0.7827, allocations: 16 kB / 0.6857 GB, free: 145.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/0.7842, allocations: 2.689 MB / 0.6884 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.7842, allocations: 9.188 kB / 0.6884 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.7853, allocations: 0.8013 MB / 0.6892 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002597/0.7856, allocations: 193.7 kB / 0.6893 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.232e-05/0.7857, allocations: 14.84 kB / 0.6894 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.7861, allocations: 21.55 kB / 0.6894 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.195e-05/0.7862, allocations: 45.11 kB / 0.6894 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.47e-05/0.7863, allocations: 42.05 kB / 0.6895 GB, free: 142.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004712/0.7868, allocations: 437.1 kB / 0.6899 GB, free: 142.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7868, allocations: 0 / 0.6899 GB, free: 142.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009337/0.7877, allocations: 285 kB / 0.6902 GB, free: 142.2 MB / 490.7 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.000848/0.7886, allocations: 377.7 kB / 0.6905 GB, free: 142 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009157/0.7895, allocations: 0.5415 MB / 0.691 GB, free: 141.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.7895, allocations: 0 / 0.691 GB, free: 141.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008318/0.7903, allocations: 412.2 kB / 0.6914 GB, free: 141.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.7919, allocations: 352.6 kB / 0.6918 GB, free: 141.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.7936, allocations: 1.619 MB / 0.6934 GB, free: 140.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.794, allocations: 0.9343 MB / 0.6943 GB, free: 140 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009232/0.7949, allocations: 267.9 kB / 0.6945 GB, free: 139.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.7952, allocations: 99.14 kB / 0.6946 GB, free: 139.9 MB / 490.7 MB Notification: Performance of SimCode: time 3.8e-07/0.7952, allocations: 2.406 kB / 0.6946 GB, free: 139.9 MB / 490.7 MB Notification: Performance of Templates: time 0.0272/0.8224, allocations: 17.67 MB / 0.7119 GB, free: 137 MB / 490.7 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