Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.0009756/0.0009756, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0009413/0.0009413, allocations: 161 kB / 24.56 MB, free: 12 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.118/1.118, allocations: 177.1 MB / 205 MB, free: 5.609 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.2637/0.2637, allocations: 32.81 MB / 294.3 MB, free: 1.273 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.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.968e-05, allocations: 2.312 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.01501/0.01503, allocations: 16.83 MB / 392.9 MB, free: 3.742 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.02831, allocations: 13.98 MB / 406.8 MB, free: 5.711 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005858/0.0289, allocations: 27.75 kB / 406.9 MB, free: 5.684 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006446/0.02954, allocations: 254.2 kB / 407.1 MB, free: 5.434 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.04042, allocations: 4.972 MB / 412.1 MB, free: 456 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005228/0.04565, allocations: 1.947 MB / 414 MB, free: 14.49 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002218/0.04787, allocations: 2.027 MB / 416.1 MB, free: 12.46 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006258/0.0485, allocations: 445.9 kB / 416.5 MB, free: 12.01 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01145/0.05994, allocations: 7.638 MB / 424.1 MB, free: 4.266 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002842/0.06279, allocations: 2.186 MB / 426.3 MB, free: 2.051 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.96e-05/0.06289, allocations: 68 kB / 426.4 MB, free: 1.984 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01325/0.07614, allocations: 6.75 MB / 433.1 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003443/0.07648, allocations: 291.1 kB / 433.4 MB, free: 10.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003988/0.07688, allocations: 323.3 kB / 433.7 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.08804, allocations: 5.573 MB / 439.3 MB, free: 5.039 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.08804, allocations: 0 / 439.3 MB, free: 5.039 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.08805, allocations: 8 kB / 439.3 MB, free: 5.031 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.08806, allocations: 0 / 439.3 MB, free: 5.031 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.00276/0.09082, allocations: 1.646 MB / 441 MB, free: 3.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.588e-05/0.09088, allocations: 12.03 kB / 441 MB, free: 3.328 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009501/0.09183, allocations: 367.3 kB / 441.3 MB, free: 2.969 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006981/0.09253, allocations: 0.524 MB / 441.9 MB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.09267, allocations: 160.6 kB / 442 MB, free: 2.238 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.957e-05/0.09275, allocations: 64.38 kB / 442.1 MB, free: 2.176 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.094, allocations: 1.168 MB / 443.3 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.09403, allocations: 15.83 kB / 443.3 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.068e-05/0.09408, allocations: 28 kB / 443.3 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-05/0.09413, allocations: 48.97 kB / 443.3 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007749/0.09491, allocations: 473.1 kB / 443.8 MB, free: 252 kB / 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.1863/0.2812, allocations: 5.597 MB / 449.4 MB, free: 72.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006925/0.2819, allocations: 404.7 kB / 449.8 MB, free: 72.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.282, allocations: 116 kB / 449.9 MB, free: 72.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0438/0.3258, allocations: 26.14 MB / 476 MB, free: 70.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.3259, allocations: 45.25 kB / 476.1 MB, free: 70.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.923e-06/0.3259, allocations: 1.219 kB / 476.1 MB, free: 70.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.003889/0.3298, allocations: 1.657 MB / 477.7 MB, free: 69.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.3298, allocations: 190.8 kB / 477.9 MB, free: 69.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005332/0.3303, allocations: 0.5887 MB / 478.5 MB, free: 69.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.3304, allocations: 35.36 kB / 478.6 MB, free: 69.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.3306, allocations: 468.8 kB / 479 MB, free: 69.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.3307, allocations: 174.8 kB / 479.2 MB, free: 69.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.3309, allocations: 170.9 kB / 479.4 MB, free: 69.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.331, allocations: 0.5552 MB / 479.9 MB, free: 68.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.3312, allocations: 99.31 kB / 480 MB, free: 68.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.3316, allocations: 0.7278 MB / 480.7 MB, free: 67.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000611/0.3322, allocations: 0.8011 MB / 481.5 MB, free: 67.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3322, allocations: 3.844 kB / 481.5 MB, free: 67.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008211/0.333, allocations: 0.6862 MB / 482.2 MB, free: 67.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3331, allocations: 11.41 kB / 482.2 MB, free: 67.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.3331, allocations: 17.73 kB / 482.3 MB, free: 67.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/0.3346, allocations: 246 kB / 482.5 MB, free: 67.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.3352, allocations: 280.2 kB / 482.8 MB, free: 67.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009059/0.3361, allocations: 2.664 MB / 485.4 MB, free: 64.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.3364, allocations: 32.3 kB / 485.5 MB, free: 64.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/0.3364, allocations: 48.09 kB / 485.5 MB, free: 64.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.3366, allocations: 221.7 kB / 485.7 MB, free: 64.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.3367, allocations: 89.41 kB / 485.8 MB, free: 64.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.3377, allocations: 1.263 MB / 487.1 MB, free: 63.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/0.3377, allocations: 28.33 kB / 487.1 MB, free: 63.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.3377, allocations: 0 / 487.1 MB, free: 63.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3377, allocations: 2.812 kB / 487.1 MB, free: 63.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.3395, allocations: 1.867 MB / 489 MB, free: 63.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3395, allocations: 0.8906 kB / 489 MB, free: 63.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004277/0.3399, allocations: 180.3 kB / 489.2 MB, free: 63.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007897/0.3407, allocations: 246.4 kB / 489.4 MB, free: 63.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.3407, allocations: 15.28 kB / 489.4 MB, free: 63.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006935/0.3414, allocations: 2.638 MB / 492 MB, free: 60.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3414, allocations: 3.75 kB / 492 MB, free: 60.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008814/0.3423, allocations: 1.315 MB / 493.4 MB, free: 60.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.3424, allocations: 142.7 kB / 493.5 MB, free: 60.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.528e-05/0.3425, allocations: 31.33 kB / 493.5 MB, free: 60.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.3427, allocations: 18.94 kB / 493.6 MB, free: 60.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.3427, allocations: 31.55 kB / 493.6 MB, free: 60.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.3428, allocations: 22.05 kB / 493.6 MB, free: 60.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004991/0.3433, allocations: 465.8 kB / 494.1 MB, free: 60.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3433, allocations: 0 / 494.1 MB, free: 60.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002431/0.3457, allocations: 1.097 MB / 495.2 MB, free: 60.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002575/0.3483, allocations: 1.305 MB / 496.5 MB, free: 59.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000859/0.3491, allocations: 0.6077 MB / 497.1 MB, free: 59.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3491, allocations: 1.281 kB / 497.1 MB, free: 59.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.3496, allocations: 393.1 kB / 497.5 MB, free: 59.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008968/0.3505, allocations: 350.1 kB / 497.8 MB, free: 59.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.3525, allocations: 1.84 MB / 499.6 MB, free: 58.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.3526, allocations: 244.9 kB / 499.9 MB, free: 58.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003525/0.3529, allocations: 322.7 kB / 0.4885 GB, free: 58.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.102e-05/0.353, allocations: 60.3 kB / 0.4885 GB, free: 58.34 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.353, allocations: 0 / 0.4885 GB, free: 58.34 MB / 410.7 MB Notification: Performance of Templates: time 0.04026/0.3933, allocations: 51.15 MB / 0.5385 GB, free: 11.21 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.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: 6.241678454913199]