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.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.0009601/0.0009601, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00103/0.00103, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9947/0.9947, allocations: 177.2 MB / 206.1 MB, free: 4.469 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.1582/0.1582, allocations: 32.81 MB / 295.4 MB, free: 15.38 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.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.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.623e-06/1.623e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.215e-05, allocations: 6.141 kB / 377.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01193/0.01196, allocations: 11.16 MB / 388.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.02229, allocations: 11.59 MB / 400.1 MB, free: 2.715 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.02249, allocations: 3.938 kB / 400.1 MB, free: 2.711 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.02279, allocations: 67.58 kB / 400.1 MB, free: 2.645 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007633/0.03042, allocations: 3.208 MB / 403.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.03071, allocations: 163.7 kB / 403.5 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003751/0.03446, allocations: 4.045 MB / 407.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.377e-05/0.03451, allocations: 16.58 kB / 407.6 MB, free: 11.19 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.03471, allocations: 199.6 kB / 407.8 MB, free: 11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00624/0.04095, allocations: 7.348 MB / 415.1 MB, free: 3.637 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.563e-05/0.041, allocations: 8 kB / 415.1 MB, free: 3.629 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003763/0.04476, allocations: 2.044 MB / 417.2 MB, free: 1.582 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.445e-05/0.04484, allocations: 51.69 kB / 417.2 MB, free: 1.531 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.755e-05/0.04493, allocations: 99.77 kB / 417.3 MB, free: 1.434 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002732/0.04767, allocations: 1.753 MB / 419.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.04767, allocations: 0 / 419.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.04767, allocations: 0 / 419.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.04768, allocations: 4 kB / 419.1 MB, free: 15.67 MB / 346.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.001418/0.0491, allocations: 0.9618 MB / 420 MB, free: 14.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.04914, allocations: 11.98 kB / 420 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004262/0.04956, allocations: 148.3 kB / 420.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.04977, allocations: 200.2 kB / 420.4 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.04979, allocations: 17.03 kB / 420.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.04982, allocations: 36.36 kB / 420.4 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/0.05036, allocations: 443.9 kB / 420.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.05037, allocations: 192 / 420.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.05039, allocations: 16.12 kB / 420.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.0504, allocations: 8 kB / 420.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.05088, allocations: 408.9 kB / 421.3 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003285/0.05417, allocations: 3.079 MB / 424.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.05447, allocations: 147.6 kB / 424.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.389e-05/0.05451, allocations: 44.3 kB / 424.6 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01105/0.06556, allocations: 7.346 MB / 431.9 MB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003984/0.06596, allocations: 363.6 kB / 432.3 MB, free: 2.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 1.373e-06/0.06596, allocations: 3.938 kB / 432.3 MB, free: 2.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007875/0.06675, allocations: 442.4 kB / 432.7 MB, free: 1.719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/0.0669, allocations: 474.6 kB / 433.2 MB, free: 1.145 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.06704, allocations: 250.6 kB / 433.4 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.06706, allocations: 37.69 kB / 433.4 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.06716, allocations: 234.9 kB / 433.7 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.951e-05/0.06722, allocations: 115 kB / 433.8 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.074e-05/0.0673, allocations: 95.77 kB / 433.9 MB, free: 400 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.06745, allocations: 0.504 MB / 434.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.712e-05/0.0675, allocations: 44.95 kB / 434.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.06771, allocations: 401.6 kB / 434.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.06803, allocations: 0.4914 MB / 435.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.06804, allocations: 4 kB / 435.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004068/0.06844, allocations: 377.8 kB / 435.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.06846, allocations: 8 kB / 435.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.06847, allocations: 8 kB / 435.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.06849, allocations: 12 kB / 435.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.06867, allocations: 111.8 kB / 435.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.06868, allocations: 15.94 kB / 435.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.06882, allocations: 52.16 kB / 435.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.06885, allocations: 31.98 kB / 435.9 MB, free: 14 MB / 362.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 0.0001053/0.06895, allocations: 200.3 kB / 436.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.06901, allocations: 31.84 kB / 436.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005662/0.06957, allocations: 0.6381 MB / 436.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.06958, allocations: 7.984 kB / 436.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.06959, allocations: 0 / 436.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.06959, allocations: 4 kB / 436.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005685/0.07016, allocations: 0.6914 MB / 437.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.07017, allocations: 4.312 kB / 437.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.178e-05/0.07024, allocations: 39.92 kB / 437.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.07024, allocations: 4 kB / 437.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.07025, allocations: 4 kB / 437.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.07026, allocations: 7.984 kB / 437.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.07026, allocations: 4 kB / 437.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.07055, allocations: 416.3 kB / 438 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.07057, allocations: 23.84 kB / 438 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.07061, allocations: 43.58 kB / 438 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.07072, allocations: 15.98 kB / 438 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.07075, allocations: 31.84 kB / 438.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.07076, allocations: 8 kB / 438.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.07093, allocations: 302.7 kB / 438.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.07093, allocations: 0 / 438.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007809/0.07171, allocations: 430.6 kB / 438.8 MB, free: 10.96 MB / 362.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.0009986/0.07271, allocations: 0.7033 MB / 439.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.07294, allocations: 193.8 kB / 439.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.07294, allocations: 4 kB / 439.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.803e-05/0.07301, allocations: 71.47 kB / 439.8 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.07348, allocations: 155.4 kB / 439.9 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.073/1.147, allocations: 0.5807 GB / 1.01 GB, free: 155.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.236e-05/1.147, allocations: 106.5 kB / 1.01 GB, free: 155.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003744/1.147, allocations: 160.1 kB / 1.011 GB, free: 155.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/1.147, allocations: 154.1 kB / 1.011 GB, free: 155.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.924e-06/1.147, allocations: 0 / 1.011 GB, free: 155.3 MB / 458.7 MB Notification: Performance of Templates: time 0.03055/1.178, allocations: 17.04 MB / 1.027 GB, free: 139.9 MB / 458.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.193223878275603]