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.0009692/0.0009692, allocations: 79.58 kB / 21.18 MB, free: 3.387 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.0009649/0.0009649, allocations: 161 kB / 24.56 MB, free: 20 kB / 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.029/1.029, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.3149/0.3149, allocations: 34.26 MB / 295.7 MB, free: 0.7617 MB / 266.7 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 2.124e-06/2.124e-06, allocations: 3.938 kB / 378 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.882e-05, allocations: 2.312 kB / 378 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2947/0.2947, allocations: 149.6 MB / 0.5153 GB, free: 14.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003562/0.2983, allocations: 2.603 MB / 0.5179 GB, free: 13.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004576/0.2987, allocations: 27.59 kB / 0.5179 GB, free: 13.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.2993, allocations: 208.7 kB / 0.5181 GB, free: 13.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.3014, allocations: 1.175 MB / 0.5192 GB, free: 12.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.3029, allocations: 0.8224 MB / 0.52 GB, free: 11.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.3044, allocations: 1.904 MB / 0.5219 GB, free: 11.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005572/0.305, allocations: 422.7 kB / 0.5223 GB, free: 10.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.3063, allocations: 1.053 MB / 0.5233 GB, free: 10.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.3073, allocations: 0.7315 MB / 0.524 GB, free: 10.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.3075, allocations: 63.03 kB / 0.5241 GB, free: 10.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007565/0.3082, allocations: 447.9 kB / 0.5245 GB, free: 10.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.3084, allocations: 288.8 kB / 0.5248 GB, free: 9.898 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002512/0.3087, allocations: 289.6 kB / 0.5251 GB, free: 9.789 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.3098, allocations: 0.9999 MB / 0.5261 GB, free: 9.402 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3098, allocations: 0 / 0.5261 GB, free: 9.402 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3098, allocations: 0 / 0.5261 GB, free: 9.402 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.045e-05/0.3098, allocations: 0 / 0.5261 GB, free: 9.402 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.001488/0.3113, allocations: 1.134 MB / 0.5272 GB, free: 8.637 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3113, allocations: 8.781 kB / 0.5272 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005941/0.3119, allocations: 226.3 kB / 0.5274 GB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005635/0.3125, allocations: 494.7 kB / 0.5279 GB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.137e-05/0.3126, allocations: 154.5 kB / 0.528 GB, free: 8.094 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.269e-05/0.3127, allocations: 56.98 kB / 0.5281 GB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000721/0.3134, allocations: 0.9978 MB / 0.529 GB, free: 7.207 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3134, allocations: 6.188 kB / 0.529 GB, free: 7.203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.885e-05/0.3135, allocations: 24.69 kB / 0.5291 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/0.3135, allocations: 42.92 kB / 0.5291 GB, free: 7.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000479/0.314, allocations: 306.4 kB / 0.5294 GB, free: 7.125 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.002141/0.3161, allocations: 3.876 MB / 0.5332 GB, free: 3.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.3164, allocations: 222.1 kB / 0.5334 GB, free: 3.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.3165, allocations: 87.64 kB / 0.5335 GB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.321e-05/0.3166, allocations: 14.3 kB / 0.5335 GB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.3166, allocations: 46.64 kB / 0.5335 GB, free: 3.656 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.655e-06/0.3166, allocations: 0 / 0.5335 GB, free: 3.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002645/0.3193, allocations: 1.171 MB / 0.5347 GB, free: 3.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.3193, allocations: 131.5 kB / 0.5348 GB, free: 2.914 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.3197, allocations: 0.541 MB / 0.5353 GB, free: 2.617 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.3197, allocations: 32.77 kB / 0.5354 GB, free: 2.582 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.3198, allocations: 439.3 kB / 0.5358 GB, free: 2.215 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/0.3199, allocations: 154.4 kB / 0.5359 GB, free: 2.094 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.32, allocations: 159.4 kB / 0.5361 GB, free: 2.012 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.3201, allocations: 0.5472 MB / 0.5366 GB, free: 1.488 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.3202, allocations: 90.64 kB / 0.5367 GB, free: 1.477 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.3205, allocations: 0.6218 MB / 0.5373 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/0.321, allocations: 0.6639 MB / 0.538 GB, free: 100 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.321, allocations: 2.562 kB / 0.538 GB, free: 100 kB / 410.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008021/0.3218, allocations: 0.6554 MB / 0.5386 GB, free: 15.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.3218, allocations: 8.281 kB / 0.5386 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.3218, allocations: 12.44 kB / 0.5386 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007173/0.3225, allocations: 252.2 kB / 0.5389 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.3227, allocations: 120.5 kB / 0.539 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006705/0.3234, allocations: 1.001 MB / 0.54 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.3237, allocations: 31.83 kB / 0.54 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.928e-05/0.3238, allocations: 62.11 kB / 0.54 GB, free: 14.91 MB / 426.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.0002034/0.324, allocations: 212.3 kB / 0.5403 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.46e-05/0.324, allocations: 77.27 kB / 0.5403 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008743/0.3249, allocations: 0.6786 MB / 0.541 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3249, allocations: 3.062 kB / 0.541 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.3249, allocations: 9 kB / 0.541 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3249, allocations: 0 / 0.541 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.3261, allocations: 0.9369 MB / 0.5419 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3261, allocations: 6.875 kB / 0.5419 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/0.3266, allocations: 191.8 kB / 0.5421 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.299e-05/0.3267, allocations: 23.67 kB / 0.5421 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.3267, allocations: 19.78 kB / 0.5421 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.3284, allocations: 3.549 MB / 0.5456 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3284, allocations: 7.625 kB / 0.5456 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006663/0.329, allocations: 0.5954 MB / 0.5462 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.3292, allocations: 101.2 kB / 0.5463 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.3292, allocations: 9.75 kB / 0.5463 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.3294, allocations: 16.11 kB / 0.5463 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.134e-05/0.3295, allocations: 35.05 kB / 0.5464 GB, free: 9.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.3295, allocations: 37.25 kB / 0.5464 GB, free: 9.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002577/0.3298, allocations: 345.7 kB / 0.5467 GB, free: 9.578 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3298, allocations: 4 kB / 0.5467 GB, free: 9.574 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006513/0.3304, allocations: 248.2 kB / 0.547 GB, free: 9.543 MB / 426.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.000455/0.3309, allocations: 264.2 kB / 0.5472 GB, free: 9.402 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006151/0.3315, allocations: 382.4 kB / 0.5476 GB, free: 9.309 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3315, allocations: 0 / 0.5476 GB, free: 9.309 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000486/0.332, allocations: 394.7 kB / 0.548 GB, free: 9.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007999/0.3328, allocations: 324.5 kB / 0.5483 GB, free: 8.965 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.3349, allocations: 1.153 MB / 0.5494 GB, free: 8.156 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.335, allocations: 176.2 kB / 0.5496 GB, free: 8.027 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006076/0.3356, allocations: 421.1 kB / 0.55 GB, free: 7.824 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.3358, allocations: 91.98 kB / 0.55 GB, free: 7.797 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3358, allocations: 4 kB / 0.55 GB, free: 7.793 MB / 426.7 MB Notification: Performance of Templates: time 0.01846/0.3542, allocations: 14.9 MB / 0.5646 GB, free: 9.707 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] 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","",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.9618783998303115]