Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001983/0.001983, allocations: 214.7 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.568/1.568, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.242/0.242, allocations: 46.93 MB / 360.8 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 67.89 kB / 0.4967 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3373, allocations: 66.03 MB / 0.5611 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2284/0.5657, allocations: 178.9 MB / 0.7359 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3244/0.8902, allocations: 5.374 MB / 0.7411 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006663/0.8908, allocations: 30.47 kB / 0.7412 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009711/0.8918, allocations: 329.3 kB / 0.7415 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003773/0.8956, allocations: 1.375 MB / 0.7428 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002908/0.8985, allocations: 1.083 MB / 0.7439 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002593/0.9011, allocations: 1.879 MB / 0.7457 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006028/0.9017, allocations: 394.7 kB / 0.7461 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.9039, allocations: 1.113 MB / 0.7472 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.9051, allocations: 0.8028 MB / 0.748 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.9052, allocations: 62.09 kB / 0.748 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.9067, allocations: 0.6467 MB / 0.7487 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.907, allocations: 272.5 kB / 0.7489 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004023/0.9074, allocations: 397.6 kB / 0.7493 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.9089, allocations: 1.312 MB / 0.7506 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9089, allocations: 0 / 0.7506 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9089, allocations: 0.9375 kB / 0.7506 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.9089, allocations: 0 / 0.7506 GB, free: 1.605 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.002316/0.9112, allocations: 1.048 MB / 0.7516 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.9113, allocations: 8 kB / 0.7516 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008158/0.9121, allocations: 145.9 kB / 0.7517 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008599/0.9129, allocations: 472.7 kB / 0.7522 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/0.9131, allocations: 152.2 kB / 0.7523 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.9132, allocations: 56.58 kB / 0.7524 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.9143, allocations: 0.809 MB / 0.7532 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.9143, allocations: 6.406 kB / 0.7532 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-05/0.9144, allocations: 28.14 kB / 0.7532 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-05/0.9145, allocations: 38.27 kB / 0.7533 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008838/0.9154, allocations: 0.6217 MB / 0.7539 GB, free: 16.48 MB / 0.5762 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.004582/0.9199, allocations: 3.894 MB / 0.7577 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005059/0.9204, allocations: 343.4 kB / 0.758 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.9207, allocations: 159.6 kB / 0.7581 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.426e-05/0.9208, allocations: 19.86 kB / 0.7582 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.9208, allocations: 36.44 kB / 0.7582 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/0.9208, allocations: 0.875 kB / 0.7582 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005347/0.9262, allocations: 1.602 MB / 0.7598 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.894e-05/0.9262, allocations: 132.9 kB / 0.7599 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000608/0.9269, allocations: 0.6179 MB / 0.7605 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/0.9269, allocations: 36.11 kB / 0.7605 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.9271, allocations: 376.9 kB / 0.7609 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.179e-05/0.9272, allocations: 154.3 kB / 0.761 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.9274, allocations: 157.5 kB / 0.7612 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.9276, allocations: 375.5 kB / 0.7615 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/0.9279, allocations: 203.2 kB / 0.7617 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005839/0.9285, allocations: 0.5161 MB / 0.7622 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009486/0.9294, allocations: 0.7465 MB / 0.763 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.9294, allocations: 3.125 kB / 0.763 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001297/0.9307, allocations: 0.8805 MB / 0.7638 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.9307, allocations: 11.94 kB / 0.7638 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.9308, allocations: 22 kB / 0.7639 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.9321, allocations: 315.5 kB / 0.7642 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.9325, allocations: 120.4 kB / 0.7643 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.9336, allocations: 0.9331 MB / 0.7652 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005029/0.9341, allocations: 24.16 kB / 0.7652 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-05/0.9342, allocations: 68.5 kB / 0.7653 GB, free: 11.09 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.0003458/0.9345, allocations: 248.9 kB / 0.7655 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.9346, allocations: 70.61 kB / 0.7656 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.9361, allocations: 0.8698 MB / 0.7664 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.9361, allocations: 5.344 kB / 0.7664 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.9361, allocations: 0.9375 kB / 0.7664 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.9362, allocations: 6.844 kB / 0.7664 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.9381, allocations: 1.21 MB / 0.7676 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.9381, allocations: 0 / 0.7676 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.9391, allocations: 212.5 kB / 0.7678 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.721e-05/0.9392, allocations: 22.56 kB / 0.7679 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.507e-05/0.9392, allocations: 24.2 kB / 0.7679 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/0.9417, allocations: 2.665 MB / 0.7705 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9417, allocations: 2.562 kB / 0.7705 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.9429, allocations: 0.8189 MB / 0.7713 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003085/0.9432, allocations: 122.3 kB / 0.7714 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.9433, allocations: 9.75 kB / 0.7714 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/0.9437, allocations: 22.25 kB / 0.7714 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.9438, allocations: 42.91 kB / 0.7715 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.284e-05/0.9439, allocations: 47.33 kB / 0.7715 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000478/0.9444, allocations: 436.6 kB / 0.7719 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9444, allocations: 0.9062 kB / 0.7719 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008989/0.9453, allocations: 253.5 kB / 0.7722 GB, free: 7.602 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.0006872/0.946, allocations: 283.4 kB / 0.7724 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.9471, allocations: 0.5335 MB / 0.773 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.9471, allocations: 0 / 0.773 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009804/0.9481, allocations: 412.1 kB / 0.7734 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/0.9497, allocations: 369.2 kB / 0.7737 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.9523, allocations: 1.357 MB / 0.775 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006784/0.953, allocations: 0.9295 MB / 0.7759 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001149/0.9542, allocations: 468.8 kB / 0.7764 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/0.9545, allocations: 114.4 kB / 0.7765 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.9545, allocations: 0 / 0.7765 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of Templates: time 0.03152/0.986, allocations: 18.11 MB / 0.7942 GB, free: 1.297 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.578110515838489]