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.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.001023/0.001023, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001492/0.001492, allocations: 174.3 kB / 24.91 MB, free: 8.773 MB / 18.57 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 0.9705/0.9705, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] 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.2539/0.2539, allocations: 32.8 MB / 294.6 MB, free: 1.141 MB / 266.7 MB " [Timeout remaining time 180] 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.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.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 9.82e-07/9.82e-07, allocations: 0 / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.451e-05, allocations: 2.969 kB / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3257/0.3257, allocations: 149 MB / 472.3 MB, free: 16.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003073/0.3288, allocations: 2.64 MB / 474.9 MB, free: 16.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002861/0.329, allocations: 30.19 kB / 475 MB, free: 16.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005611/0.3296, allocations: 209.2 kB / 475.2 MB, free: 16.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.3315, allocations: 1.151 MB / 476.3 MB, free: 16.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009874/0.3325, allocations: 0.8087 MB / 477.1 MB, free: 16.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.3338, allocations: 1.902 MB / 479 MB, free: 16.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004211/0.3342, allocations: 426.2 kB / 479.5 MB, free: 16.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.3357, allocations: 1.218 MB / 480.7 MB, free: 16.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.3363, allocations: 0.5558 MB / 481.2 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.409e-05/0.3364, allocations: 60.59 kB / 481.3 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006686/0.337, allocations: 482.6 kB / 481.8 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.3372, allocations: 291.1 kB / 482 MB, free: 16.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.3374, allocations: 285.3 kB / 482.3 MB, free: 16.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009185/0.3384, allocations: 0.9961 MB / 483.3 MB, free: 15.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3384, allocations: 0 / 483.3 MB, free: 15.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3384, allocations: 0 / 483.3 MB, free: 15.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.3384, allocations: 2.969 kB / 483.3 MB, free: 15.96 MB / 410.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.001298/0.3397, allocations: 0.9764 MB / 484.3 MB, free: 15.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3397, allocations: 8.688 kB / 484.3 MB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005852/0.3403, allocations: 204.6 kB / 484.5 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.3408, allocations: 414 kB / 484.9 MB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.743e-05/0.3409, allocations: 166.4 kB / 485.1 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.485e-05/0.3409, allocations: 61.23 kB / 485.1 MB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.3415, allocations: 0.8844 MB / 486 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.3415, allocations: 2.344 kB / 486 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.3416, allocations: 25.3 kB / 486 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.35e-05/0.3416, allocations: 43.8 kB / 486.1 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.3419, allocations: 225 kB / 486.3 MB, free: 14.41 MB / 410.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.001761/0.3437, allocations: 2.653 MB / 489 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.3439, allocations: 160.9 kB / 489.1 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.55e-05/0.3439, allocations: 65.88 kB / 489.2 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.344, allocations: 39.95 kB / 489.2 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.3441, allocations: 46.77 kB / 489.3 MB, free: 12.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.894e-06/0.3441, allocations: 0 / 489.3 MB, free: 12.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.00216/0.3462, allocations: 0.9279 MB / 490.2 MB, free: 12.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.3463, allocations: 140.9 kB / 490.3 MB, free: 11.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.3465, allocations: 484.2 kB / 490.8 MB, free: 11.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.3465, allocations: 31.58 kB / 490.8 MB, free: 11.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.3466, allocations: 341.3 kB / 491.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.876e-05/0.3467, allocations: 152.9 kB / 491.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.3468, allocations: 144 kB / 491.5 MB, free: 11.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.419e-05/0.3469, allocations: 375.3 kB / 491.8 MB, free: 11.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.654e-05/0.347, allocations: 67.56 kB / 491.9 MB, free: 11.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.3472, allocations: 0.4889 MB / 492.4 MB, free: 10.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.3475, allocations: 0.5327 MB / 492.9 MB, free: 10.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3475, allocations: 3 kB / 492.9 MB, free: 10.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005119/0.348, allocations: 0.4937 MB / 493.4 MB, free: 10.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.348, allocations: 10.91 kB / 493.4 MB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.348, allocations: 11.5 kB / 493.4 MB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005578/0.3486, allocations: 215 kB / 493.6 MB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.3488, allocations: 133.8 kB / 493.8 MB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003649/0.3492, allocations: 0.6829 MB / 494.5 MB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.3494, allocations: 28.06 kB / 494.5 MB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.3495, allocations: 52.75 kB / 494.5 MB, free: 9.547 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0001299/0.3496, allocations: 167.4 kB / 494.7 MB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/0.3497, allocations: 54.72 kB / 494.7 MB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006161/0.3503, allocations: 0.5787 MB / 495.3 MB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3503, allocations: 5.562 kB / 495.3 MB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.3503, allocations: 4 kB / 495.3 MB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3503, allocations: 2.578 kB / 495.3 MB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007582/0.351, allocations: 0.7193 MB / 496.1 MB, free: 9.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3511, allocations: 2.281 kB / 496.1 MB, free: 9.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/0.3516, allocations: 189.9 kB / 496.2 MB, free: 9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.837e-05/0.3516, allocations: 24.27 kB / 496.3 MB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.3517, allocations: 19.28 kB / 496.3 MB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000693/0.3524, allocations: 2.397 MB / 498.7 MB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3524, allocations: 2.062 kB / 498.7 MB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.3527, allocations: 475.8 kB / 499.2 MB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.397e-05/0.3528, allocations: 68.5 kB / 499.2 MB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/0.3529, allocations: 16.44 kB / 499.2 MB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.353, allocations: 13.23 kB / 499.2 MB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.3531, allocations: 40.34 kB / 499.3 MB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/0.3531, allocations: 29.94 kB / 499.3 MB, free: 6.332 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001383/0.3533, allocations: 201 kB / 499.5 MB, free: 6.312 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3533, allocations: 0 / 499.5 MB, free: 6.312 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004937/0.3538, allocations: 247.8 kB / 499.8 MB, free: 6.301 MB / 410.7 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 (38): * Single equations (assignments): 36 * 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.000391/0.3542, allocations: 255.2 kB / 0.4883 GB, free: 6.203 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004263/0.3546, allocations: 325.7 kB / 0.4886 GB, free: 6.184 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/0.3546, allocations: 9.312 kB / 0.4886 GB, free: 6.184 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003645/0.355, allocations: 293 kB / 0.4889 GB, free: 6.059 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006924/0.3557, allocations: 319.2 kB / 0.4892 GB, free: 6.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.357, allocations: 1.134 MB / 0.4903 GB, free: 5.422 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.897e-05/0.3571, allocations: 164.2 kB / 0.4905 GB, free: 5.344 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004817/0.3576, allocations: 365.4 kB / 0.4908 GB, free: 5.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005104/0.3581, allocations: 327.5 kB / 0.4911 GB, free: 5.199 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.3581, allocations: 0 / 0.4911 GB, free: 5.199 MB / 410.7 MB Notification: Performance of Templates: time 0.01695/0.3751, allocations: 16.58 MB / 0.5073 GB, free: 10.13 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7877875762060285]