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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002242/0.002242, allocations: 186.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2436/0.2436, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003012/0.003012, allocations: 71.89 kB / 497.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3596, allocations: 64.3 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2224/0.5819, allocations: 176 MB / 0.7207 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007983/0.5899, allocations: 5.394 MB / 0.726 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005635/0.5905, allocations: 27.75 kB / 0.726 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009029/0.5914, allocations: 318 kB / 0.7263 GB, free: 9 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003401/0.5948, allocations: 1.364 MB / 0.7277 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.5975, allocations: 1.09 MB / 0.7287 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00245/0.6, allocations: 1.872 MB / 0.7306 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006513/0.6006, allocations: 397.6 kB / 0.7309 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002277/0.6029, allocations: 1.098 MB / 0.732 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.6043, allocations: 0.8093 MB / 0.7328 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.6044, allocations: 60 kB / 0.7329 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.6059, allocations: 0.6476 MB / 0.7335 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003109/0.6062, allocations: 263.2 kB / 0.7337 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004448/0.6066, allocations: 402.2 kB / 0.7341 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.3326/0.9393, allocations: 1.302 MB / 0.7354 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.9393, allocations: 0 / 0.7354 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9393, allocations: 1.5 kB / 0.7354 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.797e-05/0.9393, allocations: 0 / 0.7354 GB, free: 7.141 MB / 0.5606 GB 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.003204/0.9425, allocations: 1.052 MB / 0.7364 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.9426, allocations: 9.844 kB / 0.7364 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.9436, allocations: 139 kB / 0.7366 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.9447, allocations: 477.6 kB / 0.737 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.9448, allocations: 101.3 kB / 0.7371 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.945, allocations: 48.83 kB / 0.7372 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.9463, allocations: 0.8183 MB / 0.738 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.9464, allocations: 4.656 kB / 0.738 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.9465, allocations: 23.06 kB / 0.738 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.544e-05/0.9466, allocations: 40.31 kB / 0.738 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.9477, allocations: 0.6219 MB / 0.7386 GB, free: 6.102 MB / 0.5606 GB 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.004389/0.9521, allocations: 3.916 MB / 0.7425 GB, free: 19.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/0.9526, allocations: 339.1 kB / 0.7428 GB, free: 19.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.9529, allocations: 160.8 kB / 0.7429 GB, free: 19.51 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.953, allocations: 18.66 kB / 0.743 GB, free: 19.51 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.953, allocations: 39.58 kB / 0.743 GB, free: 19.47 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.663e-06/0.953, allocations: 1 kB / 0.743 GB, free: 19.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005266/0.9583, allocations: 1.612 MB / 0.7446 GB, free: 19.05 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.575e-05/0.9584, allocations: 133.1 kB / 0.7447 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005981/0.959, allocations: 0.6203 MB / 0.7453 GB, free: 18.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/0.959, allocations: 35.83 kB / 0.7453 GB, free: 18.72 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/0.9592, allocations: 370.5 kB / 0.7457 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.098e-05/0.9593, allocations: 150.3 kB / 0.7458 GB, free: 18.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.9595, allocations: 158.4 kB / 0.746 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.9597, allocations: 374.2 kB / 0.7463 GB, free: 18.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/0.96, allocations: 201.7 kB / 0.7465 GB, free: 18.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004351/0.9604, allocations: 0.5127 MB / 0.747 GB, free: 17.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007657/0.9612, allocations: 0.7527 MB / 0.7478 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.9612, allocations: 9.281 kB / 0.7478 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001227/0.9624, allocations: 0.8777 MB / 0.7486 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.9625, allocations: 11.5 kB / 0.7486 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.9625, allocations: 7.531 kB / 0.7486 GB, free: 17.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.9638, allocations: 314.5 kB / 0.7489 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.9642, allocations: 121.7 kB / 0.7491 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.9653, allocations: 0.9346 MB / 0.75 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/0.9658, allocations: 23.34 kB / 0.75 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.595e-05/0.9659, allocations: 69.44 kB / 0.7501 GB, free: 16.71 MB / 0.5762 GB 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.000358/0.9662, allocations: 250.9 kB / 0.7503 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.9664, allocations: 78.38 kB / 0.7504 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.9679, allocations: 0.8594 MB / 0.7512 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.9679, allocations: 3.703 kB / 0.7512 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.9679, allocations: 2.75 kB / 0.7512 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.9679, allocations: 3.141 kB / 0.7512 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.9697, allocations: 1.217 MB / 0.7524 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.9697, allocations: 0 / 0.7524 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009739/0.9707, allocations: 212.2 kB / 0.7526 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.212e-05/0.9708, allocations: 22.92 kB / 0.7526 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/0.9708, allocations: 23.33 kB / 0.7527 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.9729, allocations: 2.683 MB / 0.7553 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.9729, allocations: 7.844 kB / 0.7553 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.974, allocations: 0.8237 MB / 0.7561 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/0.9742, allocations: 114.6 kB / 0.7562 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.415e-05/0.9743, allocations: 10.34 kB / 0.7562 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.9747, allocations: 17.28 kB / 0.7562 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.645e-05/0.9748, allocations: 45.47 kB / 0.7563 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.146e-05/0.9749, allocations: 41.73 kB / 0.7563 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004685/0.9753, allocations: 439.8 kB / 0.7567 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9753, allocations: 0.875 kB / 0.7567 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009569/0.9763, allocations: 253.5 kB / 0.757 GB, free: 13.21 MB / 0.5762 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.0007268/0.977, allocations: 301.9 kB / 0.7573 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.978, allocations: 0.5353 MB / 0.7578 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.978, allocations: 4.188 kB / 0.7578 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000913/0.9789, allocations: 416.5 kB / 0.7582 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.9804, allocations: 363.7 kB / 0.7585 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.9823, allocations: 1.355 MB / 0.7599 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.9828, allocations: 0.9271 MB / 0.7608 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008995/0.9837, allocations: 462.5 kB / 0.7612 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.984, allocations: 119.4 kB / 0.7613 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.984, allocations: 1 kB / 0.7613 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of Templates: time 0.02585/1.01, allocations: 18.12 MB / 0.779 GB, free: 10.07 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.58261935506016]