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.001486/0.001486, 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.001876/0.001876, allocations: 174.3 kB / 24.91 MB, free: 8.766 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 1.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.241/0.241, allocations: 32.8 MB / 294.6 MB, free: 1.246 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 1.443e-06/1.443e-06, allocations: 0 / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.308e-05/1.452e-05, allocations: 3.188 kB / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3112/0.3112, allocations: 149 MB / 472.2 MB, free: 16.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003381/0.3146, allocations: 2.638 MB / 474.9 MB, free: 16.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004141/0.315, allocations: 27.09 kB / 474.9 MB, free: 16.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004858/0.3155, allocations: 208.2 kB / 475.1 MB, free: 16.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.3176, allocations: 1.183 MB / 476.3 MB, free: 16.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.3189, allocations: 0.8291 MB / 477.1 MB, free: 16.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001739/0.3207, allocations: 1.899 MB / 479 MB, free: 16.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006041/0.3213, allocations: 438 kB / 479.4 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.323, allocations: 1.227 MB / 480.7 MB, free: 16.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006902/0.3237, allocations: 0.5553 MB / 481.2 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.3238, allocations: 60.59 kB / 481.3 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007803/0.3246, allocations: 449.9 kB / 481.7 MB, free: 16.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.3248, allocations: 290 kB / 482 MB, free: 16.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002838/0.3251, allocations: 283.1 kB / 482.3 MB, free: 16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.3263, allocations: 0.991 MB / 483.3 MB, free: 15.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3263, allocations: 0 / 483.3 MB, free: 15.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3263, allocations: 0 / 483.3 MB, free: 15.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.3263, allocations: 5.031 kB / 483.3 MB, free: 15.9 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.001308/0.3276, allocations: 0.9715 MB / 484.2 MB, free: 15.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3276, allocations: 13.19 kB / 484.2 MB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005286/0.3282, allocations: 206.5 kB / 484.4 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.3287, allocations: 429.6 kB / 484.9 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.893e-05/0.3288, allocations: 157.5 kB / 485 MB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.176e-05/0.3288, allocations: 57.59 kB / 485.1 MB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.3294, allocations: 0.8875 MB / 486 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.3294, allocations: 5.625 kB / 486 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.3295, allocations: 18.5 kB / 486 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.403e-05/0.3295, allocations: 39.19 kB / 486 MB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.3298, allocations: 231.9 kB / 486.3 MB, free: 14.34 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.001859/0.3317, allocations: 2.647 MB / 488.9 MB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.3319, allocations: 163 kB / 489.1 MB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.643e-05/0.332, allocations: 67.25 kB / 489.1 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.3321, allocations: 44.06 kB / 489.2 MB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.3321, allocations: 37.25 kB / 489.2 MB, free: 12.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.044e-06/0.3321, allocations: 2.625 kB / 489.2 MB, free: 12.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002144/0.3343, allocations: 0.9274 MB / 490.1 MB, free: 12.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.3343, allocations: 136.7 kB / 490.3 MB, free: 11.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.3346, allocations: 485.4 kB / 490.7 MB, free: 11.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.3346, allocations: 34.86 kB / 490.8 MB, free: 11.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.3347, allocations: 344.9 kB / 491.1 MB, free: 11.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.395e-05/0.3347, allocations: 143 kB / 491.3 MB, free: 11.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3349, allocations: 148.3 kB / 491.4 MB, free: 11.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.736e-05/0.3349, allocations: 380.7 kB / 491.8 MB, free: 11.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.9e-05/0.335, allocations: 69.94 kB / 491.8 MB, free: 11.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.3352, allocations: 495.3 kB / 492.3 MB, free: 10.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.3356, allocations: 0.5376 MB / 492.9 MB, free: 10.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3356, allocations: 2.469 kB / 492.9 MB, free: 10.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005053/0.3361, allocations: 498.8 kB / 493.3 MB, free: 10.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3361, allocations: 9.641 kB / 493.4 MB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3361, allocations: 11.66 kB / 493.4 MB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005584/0.3366, allocations: 221.2 kB / 493.6 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.3369, allocations: 126.1 kB / 493.7 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000367/0.3372, allocations: 0.6824 MB / 494.4 MB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.3374, allocations: 29.2 kB / 494.4 MB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.3375, allocations: 48.47 kB / 494.5 MB, free: 9.48 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.0001401/0.3376, allocations: 166.5 kB / 494.6 MB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.738e-05/0.3377, allocations: 58.67 kB / 494.7 MB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006903/0.3384, allocations: 0.5752 MB / 495.3 MB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.3384, allocations: 5.812 kB / 495.3 MB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3384, allocations: 0 / 495.3 MB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3384, allocations: 2.203 kB / 495.3 MB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009785/0.3394, allocations: 0.7236 MB / 496 MB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3394, allocations: 6.562 kB / 496 MB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/0.3398, allocations: 170.7 kB / 496.2 MB, free: 8.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/0.3399, allocations: 20.53 kB / 496.2 MB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.34, allocations: 17.5 kB / 496.2 MB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008847/0.3409, allocations: 2.399 MB / 498.6 MB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3409, allocations: 5.594 kB / 498.6 MB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004893/0.3413, allocations: 475.1 kB / 499.1 MB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.3415, allocations: 67.38 kB / 499.1 MB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.3415, allocations: 12.19 kB / 499.1 MB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.3417, allocations: 15.66 kB / 499.2 MB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/0.3418, allocations: 41.89 kB / 499.2 MB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.3418, allocations: 29.16 kB / 499.2 MB, free: 6.262 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001926/0.342, allocations: 204.2 kB / 499.4 MB, free: 6.242 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.342, allocations: 0 / 499.4 MB, free: 6.242 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007271/0.3427, allocations: 255.5 kB / 499.7 MB, free: 6.227 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.000525/0.3432, allocations: 237.8 kB / 499.9 MB, free: 6.137 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005886/0.3438, allocations: 328 kB / 0.4885 GB, free: 6.113 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.017e-05/0.3438, allocations: 9.062 kB / 0.4885 GB, free: 6.113 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004751/0.3443, allocations: 296.6 kB / 0.4888 GB, free: 5.988 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009205/0.3452, allocations: 326.7 kB / 0.4891 GB, free: 5.949 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.3469, allocations: 1.135 MB / 0.4902 GB, free: 5.348 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.3471, allocations: 160.6 kB / 0.4904 GB, free: 5.273 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006305/0.3477, allocations: 363.7 kB / 0.4907 GB, free: 5.203 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006121/0.3483, allocations: 330 kB / 0.491 GB, free: 5.133 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3483, allocations: 0 / 0.491 GB, free: 5.133 MB / 410.7 MB Notification: Performance of Templates: time 0.02081/0.3691, allocations: 16.52 MB / 0.5072 GB, free: 10.15 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 -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.7926119612529874]