Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.0009251/0.0009251, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001378/0.001378, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9632/0.9632, allocations: 158.6 MB / 186 MB, free: 2.742 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1465/0.1465, allocations: 32.38 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 299.2 MB, free: 2.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.164e-05, allocations: 6.25 kB / 299.2 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.1577/0.1577, allocations: 13.87 MB / 313 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02055/0.1783, allocations: 26.1 MB / 339.1 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.1785, allocations: 4 kB / 339.1 MB, free: 6.125 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.1788, allocations: 99.3 kB / 339.2 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01986/0.1987, allocations: 7.9 MB / 347.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007487/0.1994, allocations: 354.7 kB / 347.5 MB, free: 13.74 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002823/0.2022, allocations: 2.059 MB / 349.5 MB, free: 11.65 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.056e-05/0.2023, allocations: 14.5 kB / 349.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004978/0.2028, allocations: 330.8 kB / 349.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003336/0.2061, allocations: 3.27 MB / 353.2 MB, free: 7.992 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.698e-05/0.2062, allocations: 12 kB / 353.2 MB, free: 7.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01712/0.2233, allocations: 11.11 MB / 364.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.732e-05/0.2234, allocations: 59.67 kB / 364.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.2236, allocations: 103.8 kB / 364.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01563/0.2392, allocations: 7.964 MB / 372.4 MB, free: 4.719 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2392, allocations: 0 / 372.4 MB, free: 4.719 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2392, allocations: 3.938 kB / 372.4 MB, free: 4.715 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.2392, allocations: 0 / 372.4 MB, free: 4.715 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.003621/0.2428, allocations: 1.512 MB / 373.9 MB, free: 3.172 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2429, allocations: 8.031 kB / 373.9 MB, free: 3.164 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.2441, allocations: 391.8 kB / 374.3 MB, free: 2.781 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.2444, allocations: 189.4 kB / 374.5 MB, free: 2.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.2444, allocations: 25.03 kB / 374.5 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.2444, allocations: 33.69 kB / 374.5 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.2458, allocations: 0.8965 MB / 375.4 MB, free: 1.559 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.2458, allocations: 7.875 kB / 375.4 MB, free: 1.551 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.2459, allocations: 16 kB / 375.5 MB, free: 1.535 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.2459, allocations: 8 kB / 375.5 MB, free: 1.527 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.2472, allocations: 0.7182 MB / 376.2 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.2489, allocations: 1.797 MB / 378 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008188/0.2498, allocations: 390 kB / 378.4 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.355e-05/0.2498, allocations: 48.77 kB / 378.4 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5079/0.7577, allocations: 189.9 MB / 0.555 GB, free: 16.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008931/0.7586, allocations: 493.5 kB / 0.5555 GB, free: 16.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.655e-06/0.7586, allocations: 0 / 0.5555 GB, free: 16.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001659/0.7603, allocations: 0.793 MB / 0.5562 GB, free: 15.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.7603, allocations: 372.6 kB / 0.5566 GB, free: 15.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.7604, allocations: 193 kB / 0.5568 GB, free: 14.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.7605, allocations: 37.5 kB / 0.5568 GB, free: 14.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.7605, allocations: 192.8 kB / 0.557 GB, free: 14.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.7606, allocations: 115.2 kB / 0.5571 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-05/0.7607, allocations: 108.2 kB / 0.5572 GB, free: 14.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.428e-05/0.7607, allocations: 336.3 kB / 0.5575 GB, free: 14.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.101e-05/0.7608, allocations: 72.64 kB / 0.5576 GB, free: 14.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.7609, allocations: 344.1 kB / 0.5579 GB, free: 13.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.7613, allocations: 493.2 kB / 0.5584 GB, free: 13.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.7613, allocations: 4.688 kB / 0.5584 GB, free: 13.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000361/0.7616, allocations: 390.4 kB / 0.5588 GB, free: 12.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.7617, allocations: 12.94 kB / 0.5588 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.7617, allocations: 8 kB / 0.5588 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.7617, allocations: 16 kB / 0.5588 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.7619, allocations: 136.5 kB / 0.5589 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.7619, allocations: 27.73 kB / 0.559 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.7621, allocations: 56 kB / 0.559 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.7621, allocations: 27.05 kB / 0.559 GB, free: 12.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state2.phase,state3.phase,state4.phase,state5.phase,state_h_is.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.7622, allocations: 157.7 kB / 0.5592 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.7623, allocations: 27.92 kB / 0.5592 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008791/0.7632, allocations: 1.432 MB / 0.5606 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.7632, allocations: 20.17 kB / 0.5606 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.7632, allocations: 4 kB / 0.5606 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.7632, allocations: 12.98 kB / 0.5607 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/0.7637, allocations: 0.5549 MB / 0.5612 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.7637, allocations: 4 kB / 0.5612 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.7639, allocations: 72.31 kB / 0.5613 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.7639, allocations: 4 kB / 0.5613 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.7639, allocations: 13.73 kB / 0.5613 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.7639, allocations: 7.562 kB / 0.5613 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.7639, allocations: 7.312 kB / 0.5613 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.7643, allocations: 0.4932 MB / 0.5618 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.7643, allocations: 57.11 kB / 0.5618 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.1e-05/0.7644, allocations: 104.2 kB / 0.5619 GB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.7645, allocations: 19.83 kB / 0.562 GB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.7646, allocations: 33.08 kB / 0.562 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.7646, allocations: 13.86 kB / 0.562 GB, free: 9.922 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002177/0.7648, allocations: 336.2 kB / 0.5623 GB, free: 9.637 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.7648, allocations: 0 / 0.5623 GB, free: 9.637 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003326/0.7681, allocations: 1.521 MB / 0.5638 GB, free: 8.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005224/0.7733, allocations: 2.067 MB / 0.5658 GB, free: 6.301 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004615/0.7738, allocations: 293.2 kB / 0.5661 GB, free: 6.066 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.99e-05/0.7738, allocations: 12 kB / 0.5661 GB, free: 6.055 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.7739, allocations: 148.7 kB / 0.5663 GB, free: 5.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.7744, allocations: 199.6 kB / 0.5664 GB, free: 5.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.083/1.857, allocations: 0.5975 GB / 1.164 GB, free: 102.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.189e-05/1.858, allocations: 179.8 kB / 1.164 GB, free: 102.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004879/1.858, allocations: 0.5221 MB / 1.165 GB, free: 102.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/1.858, allocations: 157.5 kB / 1.165 GB, free: 102 MB / 442.7 MB Notification: Performance of SimCode: time 2.505e-06/1.858, allocations: 0 / 1.165 GB, free: 102 MB / 442.7 MB Notification: Performance of Templates: time 0.04675/1.905, allocations: 64.79 MB / 1.228 GB, free: 37.32 MB / 442.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.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: 7.570063169114292]