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.001327/0.001327, allocations: 80.92 kB / 21.5 MB, free: 2.988 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.001069/0.001069, allocations: 172 kB / 24.91 MB, free: 9.145 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.9756/0.9756, 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.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.2637/0.2637, allocations: 34.27 MB / 296.1 MB, free: 0.6484 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 1.593e-06/1.593e-06, allocations: 0 / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.244e-05, allocations: 6.969 kB / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3119/0.312, allocations: 149 MB / 474.2 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003288/0.3152, allocations: 2.632 MB / 476.9 MB, free: 16.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004634/0.3157, allocations: 31.56 kB / 476.9 MB, free: 16.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004931/0.3162, allocations: 205 kB / 477.1 MB, free: 16.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.3184, allocations: 1.18 MB / 478.3 MB, free: 16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.3199, allocations: 0.8358 MB / 479.1 MB, free: 15.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001795/0.3216, allocations: 1.9 MB / 481 MB, free: 15.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005857/0.3222, allocations: 430.5 kB / 481.4 MB, free: 15.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.324, allocations: 1.228 MB / 482.7 MB, free: 15.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007268/0.3247, allocations: 0.5567 MB / 483.2 MB, free: 15.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.3248, allocations: 64.69 kB / 483.3 MB, free: 15.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007857/0.3256, allocations: 451.4 kB / 483.7 MB, free: 15.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.3258, allocations: 285.2 kB / 484 MB, free: 15.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.3261, allocations: 278.4 kB / 484.3 MB, free: 15.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.3272, allocations: 0.9929 MB / 485.3 MB, free: 15.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3272, allocations: 0 / 485.3 MB, free: 15.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3272, allocations: 3.594 kB / 485.3 MB, free: 15.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.3272, allocations: 0 / 485.3 MB, free: 15.49 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.001315/0.3285, allocations: 0.9736 MB / 486.3 MB, free: 14.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.3286, allocations: 13.94 kB / 486.3 MB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004988/0.3291, allocations: 214.9 kB / 486.5 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/0.3296, allocations: 415.1 kB / 486.9 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.476e-05/0.3296, allocations: 159.8 kB / 487 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.216e-05/0.3297, allocations: 59.55 kB / 487.1 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005767/0.3303, allocations: 0.8823 MB / 488 MB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.3303, allocations: 2.578 kB / 488 MB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.3303, allocations: 26.78 kB / 488 MB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.397e-05/0.3304, allocations: 41.86 kB / 488 MB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.3307, allocations: 228.4 kB / 488.3 MB, free: 13.94 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.001756/0.3324, allocations: 2.64 MB / 490.9 MB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.3326, allocations: 186.1 kB / 491.1 MB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.319e-05/0.3327, allocations: 59.39 kB / 491.2 MB, free: 12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.3328, allocations: 41.94 kB / 491.2 MB, free: 12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.3329, allocations: 42.81 kB / 491.2 MB, free: 11.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.3329, allocations: 0 / 491.2 MB, free: 11.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002128/0.335, allocations: 0.9184 MB / 492.2 MB, free: 11.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.335, allocations: 136.4 kB / 492.3 MB, free: 11.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.3353, allocations: 491.7 kB / 492.8 MB, free: 11.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.3353, allocations: 34.73 kB / 492.8 MB, free: 11.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.3354, allocations: 345.3 kB / 493.1 MB, free: 11.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.281e-05/0.3355, allocations: 149.9 kB / 493.3 MB, free: 10.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.3356, allocations: 141.2 kB / 493.4 MB, free: 10.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.3357, allocations: 378.2 kB / 493.8 MB, free: 10.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.035e-05/0.3358, allocations: 66.73 kB / 493.9 MB, free: 10.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.336, allocations: 494.1 kB / 494.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.3363, allocations: 0.5311 MB / 494.9 MB, free: 9.695 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3363, allocations: 5.406 kB / 494.9 MB, free: 9.695 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005055/0.3368, allocations: 499.4 kB / 495.4 MB, free: 9.633 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3368, allocations: 10.09 kB / 495.4 MB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.3368, allocations: 10.59 kB / 495.4 MB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005483/0.3374, allocations: 228 kB / 495.6 MB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.3376, allocations: 118.4 kB / 495.7 MB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003913/0.338, allocations: 0.6842 MB / 496.4 MB, free: 9.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.3382, allocations: 28 kB / 496.4 MB, free: 9.082 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.3383, allocations: 53.84 kB / 496.5 MB, free: 9.082 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.000154/0.3384, allocations: 162.3 kB / 496.6 MB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.3385, allocations: 56.38 kB / 496.7 MB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006151/0.3391, allocations: 0.5867 MB / 497.3 MB, free: 8.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3391, allocations: 2.75 kB / 497.3 MB, free: 8.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-06/0.3391, allocations: 3.219 kB / 497.3 MB, free: 8.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3391, allocations: 7.078 kB / 497.3 MB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008094/0.3399, allocations: 0.7206 MB / 498 MB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3399, allocations: 2.578 kB / 498 MB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.3403, allocations: 167.5 kB / 498.2 MB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.189e-05/0.3404, allocations: 21.36 kB / 498.2 MB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.3404, allocations: 17.58 kB / 498.2 MB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006982/0.3411, allocations: 2.401 MB / 0.4889 GB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3411, allocations: 7.125 kB / 0.4889 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.3415, allocations: 476.7 kB / 0.4894 GB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.3416, allocations: 69.02 kB / 0.4894 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.3417, allocations: 13.25 kB / 0.4894 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.3418, allocations: 13.16 kB / 0.4894 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.3419, allocations: 42.06 kB / 0.4895 GB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.3419, allocations: 31.14 kB / 0.4895 GB, free: 5.863 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001324/0.342, allocations: 200.6 kB / 0.4897 GB, free: 5.844 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.342, allocations: 4.031 kB / 0.4897 GB, free: 5.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005642/0.3426, allocations: 252.6 kB / 0.4899 GB, free: 5.824 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.0003729/0.343, allocations: 235.7 kB / 0.4902 GB, free: 5.738 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004089/0.3434, allocations: 329.9 kB / 0.4905 GB, free: 5.715 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/0.3434, allocations: 16.47 kB / 0.4905 GB, free: 5.707 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000336/0.3437, allocations: 291.2 kB / 0.4908 GB, free: 5.582 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000661/0.3444, allocations: 313.9 kB / 0.4911 GB, free: 5.551 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.3458, allocations: 1.131 MB / 0.4922 GB, free: 4.867 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.75e-05/0.3458, allocations: 168.2 kB / 0.4923 GB, free: 4.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004513/0.3463, allocations: 364.9 kB / 0.4927 GB, free: 4.578 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004627/0.3467, allocations: 328.5 kB / 0.493 GB, free: 4.445 MB / 410.7 MB Notification: Performance of SimCode: time 1.362e-06/0.3467, allocations: 0 / 0.493 GB, free: 4.445 MB / 410.7 MB Notification: Performance of Templates: time 0.0179/0.3646, allocations: 16.54 MB / 0.5092 GB, free: 8.941 MB / 426.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.840056246612221]