Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009228/0.0009228, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001167/0.002089, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006213/0.0006213, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009758/0.001597, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.864/0.864, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.157/1.021, allocations: 52.49 MB / 238.5 MB, free: 7.621 MB / 234.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.1301/0.1301, allocations: 32.79 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0208/0.1509, allocations: 12.54 MB / 284.5 MB, free: 9.707 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 285.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.238e-05/1.379e-05, allocations: 2.312 kB / 285.9 MB, free: 8.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01951/0.01953, allocations: 11.32 MB / 297.2 MB, free: 13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009293/0.02882, allocations: 11.77 MB / 309 MB, free: 1.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.02892, allocations: 0 / 309 MB, free: 1.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.02916, allocations: 79.5 kB / 309.1 MB, free: 1.102 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006242/0.0354, allocations: 3.071 MB / 312.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.03582, allocations: 166.6 kB / 312.3 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003121/0.03894, allocations: 3.959 MB / 316.3 MB, free: 9.887 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.03899, allocations: 14.55 kB / 316.3 MB, free: 9.871 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.03917, allocations: 207.5 kB / 316.5 MB, free: 9.668 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005227/0.0444, allocations: 7.162 MB / 323.6 MB, free: 2.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.04444, allocations: 8 kB / 323.6 MB, free: 2.492 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.04775, allocations: 2.157 MB / 325.8 MB, free: 340 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.04781, allocations: 31.86 kB / 325.8 MB, free: 308 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.206e-05/0.04788, allocations: 79.88 kB / 325.9 MB, free: 228 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1528/0.2007, allocations: 1.496 MB / 327.4 MB, free: 16.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-05/0.2007, allocations: 5.281 kB / 327.4 MB, free: 16.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2007, allocations: 0 / 327.4 MB, free: 16.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.2007, allocations: 0 / 327.4 MB, free: 16.6 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001963/0.2027, allocations: 1.126 MB / 328.5 MB, free: 16.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2027, allocations: 9.656 kB / 328.5 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004464/0.2031, allocations: 154.8 kB / 328.7 MB, free: 16.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.2034, allocations: 178.4 kB / 328.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.2034, allocations: 18.5 kB / 328.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.2034, allocations: 31.33 kB / 328.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.2039, allocations: 425.7 kB / 329.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.204, allocations: 1.469 kB / 329.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.204, allocations: 16.55 kB / 329.4 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.204, allocations: 10.19 kB / 329.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005405/0.2045, allocations: 396.3 kB / 329.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003595/0.2081, allocations: 2.852 MB / 332.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.2084, allocations: 140.6 kB / 332.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.2085, allocations: 40.69 kB / 332.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009468/0.2179, allocations: 7.246 MB / 340 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003219/0.2183, allocations: 319.9 kB / 340.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.2183, allocations: 0 / 340.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.000579/0.2189, allocations: 393.3 kB / 340.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.2189, allocations: 488.3 kB / 341.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.481e-05/0.219, allocations: 184.3 kB / 341.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.219, allocations: 29.64 kB / 341.4 MB, free: 13.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.219, allocations: 193 kB / 341.6 MB, free: 12.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.2191, allocations: 110.2 kB / 341.7 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.2191, allocations: 84.14 kB / 341.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.669e-05/0.2192, allocations: 330.2 kB / 342.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.059e-05/0.2192, allocations: 32.41 kB / 342.1 MB, free: 12.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.93e-05/0.2193, allocations: 295.4 kB / 342.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.2194, allocations: 412.8 kB / 342.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2194, allocations: 1.25 kB / 342.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002139/0.2197, allocations: 301.4 kB / 343.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2197, allocations: 12.95 kB / 343.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2197, allocations: 9.375 kB / 343.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2197, allocations: 11.58 kB / 343.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.2199, allocations: 123 kB / 343.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2199, allocations: 15.75 kB / 343.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.22, allocations: 56.27 kB / 343.4 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.22, allocations: 20.97 kB / 343.4 MB, free: 11.74 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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 6.719e-05/0.2201, allocations: 157.9 kB / 343.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.2201, allocations: 36.41 kB / 343.6 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.2205, allocations: 0.5975 MB / 344.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2205, allocations: 3.875 kB / 344.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.2205, allocations: 2.625 kB / 344.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2205, allocations: 3.875 kB / 344.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/0.2209, allocations: 0.6194 MB / 344.8 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.2209, allocations: 3.844 kB / 344.8 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-05/0.2209, allocations: 37.23 kB / 344.8 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.221, allocations: 34.06 kB / 344.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.221, allocations: 3.188 kB / 344.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.221, allocations: 3.219 kB / 344.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.221, allocations: 5.906 kB / 344.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.221, allocations: 3.344 kB / 344.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.2211, allocations: 362.7 kB / 345.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.2212, allocations: 46.31 kB / 345.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2213, allocations: 15.69 kB / 345.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.2213, allocations: 25.03 kB / 345.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.2213, allocations: 13.34 kB / 345.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.541e-05/0.2214, allocations: 169.3 kB / 345.5 MB, free: 10.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2214, allocations: 0 / 345.5 MB, free: 10.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007342/0.2221, allocations: 427.9 kB / 345.9 MB, free: 10.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0008169/0.2229, allocations: 0.6968 MB / 346.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.2231, allocations: 206.9 kB / 346.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/0.2231, allocations: 7.656 kB / 346.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.522e-05/0.2232, allocations: 78.78 kB / 346.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.2236, allocations: 0.6839 MB / 347.6 MB, free: 9.344 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8283/1.052, allocations: 0.5559 GB / 0.8953 GB, free: 67.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.853e-05/1.052, allocations: 108.5 kB / 0.8954 GB, free: 67.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003327/1.052, allocations: 161.6 kB / 0.8956 GB, free: 67.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/1.052, allocations: 127.3 kB / 0.8957 GB, free: 67.51 MB / 442.7 MB Notification: Performance of SimCode: time 1.232e-06/1.052, allocations: 0 / 0.8957 GB, free: 67.51 MB / 442.7 MB Notification: Performance of Templates: time 0.01336/1.066, allocations: 15.98 MB / 0.9113 GB, free: 51.77 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.131535690277815]