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.001298/0.001298, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001965/0.003262, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001173/0.001173, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001696/0.002869, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.035/1.035, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1004/1.135, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2803/0.2803, allocations: 32.79 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05174/0.3321, allocations: 12.54 MB / 289.3 MB, free: 8.676 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.202e-06/1.202e-06, allocations: 0 / 290.6 MB, free: 7.621 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.133e-05, allocations: 4.688 kB / 290.7 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.02302/0.02304, allocations: 11.36 MB / 302 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009319/0.03236, allocations: 11.77 MB / 313.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.03252, allocations: 0 / 313.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.03277, allocations: 71.45 kB / 313.9 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008793/0.04156, allocations: 3.092 MB / 316.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.0419, allocations: 155.7 kB / 317.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003822/0.04572, allocations: 3.963 MB / 321.1 MB, free: 9.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.161e-05/0.04579, allocations: 18.48 kB / 321.1 MB, free: 9.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002744/0.04607, allocations: 207.5 kB / 321.3 MB, free: 9.527 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005526/0.05159, allocations: 7.154 MB / 328.4 MB, free: 2.367 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.804e-05/0.05164, allocations: 8 kB / 328.4 MB, free: 2.359 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004986/0.05663, allocations: 2.161 MB / 330.6 MB, free: 200 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.05674, allocations: 27.88 kB / 330.6 MB, free: 172 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.05688, allocations: 75.88 kB / 330.7 MB, free: 96 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004069/0.06095, allocations: 1.524 MB / 332.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.697e-05/0.06097, allocations: 0 / 332.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.556e-06/0.06097, allocations: 0 / 332.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.06099, allocations: 0 / 332.2 MB, free: 14.57 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002516/0.0635, allocations: 1.123 MB / 333.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.06354, allocations: 12.03 kB / 333.4 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004936/0.06404, allocations: 160.4 kB / 333.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.0643, allocations: 181.4 kB / 333.7 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.06432, allocations: 17.03 kB / 333.7 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.06435, allocations: 32.36 kB / 333.7 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006145/0.06497, allocations: 433.2 kB / 334.2 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.06498, allocations: 8.156 kB / 334.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.06501, allocations: 16.12 kB / 334.2 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.06502, allocations: 8 kB / 334.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005015/0.06552, allocations: 383.7 kB / 334.6 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004149/0.06967, allocations: 2.851 MB / 337.4 MB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.06997, allocations: 147 kB / 337.6 MB, free: 9.047 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.07001, allocations: 37.55 kB / 337.6 MB, free: 9.008 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.08026, allocations: 7.238 MB / 344.8 MB, free: 1.746 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003994/0.08066, allocations: 313.9 kB / 345.2 MB, free: 1.375 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.733e-06/0.08066, allocations: 7.938 kB / 345.2 MB, free: 1.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006913/0.08135, allocations: 382.4 kB / 345.5 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/0.08151, allocations: 476.3 kB / 346 MB, free: 424 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.08165, allocations: 206.8 kB / 346.2 MB, free: 204 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.08167, allocations: 33.7 kB / 346.2 MB, free: 164 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.142e-05/0.08176, allocations: 196.2 kB / 346.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.528e-05/0.08182, allocations: 99.16 kB / 346.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/0.0819, allocations: 90.09 kB / 346.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.42e-05/0.08198, allocations: 334.8 kB / 346.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.861e-05/0.08202, allocations: 36.98 kB / 347 MB, free: 15.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.08218, allocations: 283.3 kB / 347.3 MB, free: 15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.08245, allocations: 397.9 kB / 347.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.08245, allocations: 4 kB / 347.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002997/0.08275, allocations: 297.6 kB / 347.9 MB, free: 14.19 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.08277, allocations: 9.906 kB / 347.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.08279, allocations: 23.97 kB / 348 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.0828, allocations: 8 kB / 348 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.08299, allocations: 123.8 kB / 348.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.083, allocations: 15.94 kB / 348.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.08315, allocations: 47.62 kB / 348.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.08318, allocations: 23.98 kB / 348.2 MB, free: 13.94 MB / 346.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 9.825e-05/0.08328, allocations: 152.4 kB / 348.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.08332, allocations: 35.91 kB / 348.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005998/0.08392, allocations: 0.6036 MB / 349 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.08393, allocations: 8.156 kB / 349 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.08394, allocations: 4 kB / 349 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.08394, allocations: 4 kB / 349 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/0.0845, allocations: 0.6136 MB / 349.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.08451, allocations: 8 kB / 349.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.405e-05/0.08457, allocations: 39.92 kB / 349.6 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.0846, allocations: 27.81 kB / 349.7 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.08461, allocations: 4 kB / 349.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.08462, allocations: 4 kB / 349.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.08462, allocations: 7.938 kB / 349.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.08462, allocations: 4.094 kB / 349.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.08484, allocations: 367.6 kB / 350.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.08489, allocations: 47.56 kB / 350.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.08499, allocations: 11.98 kB / 350.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.08502, allocations: 19.92 kB / 350.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.08503, allocations: 15.92 kB / 350.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002051/0.08523, allocations: 168.4 kB / 350.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08523, allocations: 0 / 350.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009033/0.08614, allocations: 426.6 kB / 350.7 MB, free: 11.25 MB / 346.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.0009459/0.08708, allocations: 0.6959 MB / 351.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.0873, allocations: 191.2 kB / 351.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/0.08732, allocations: 8 kB / 351.6 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.947e-05/0.08737, allocations: 65.5 kB / 351.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.0878, allocations: 206 kB / 351.9 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9631/1.051, allocations: 0.5581 GB / 0.9017 GB, free: 42.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.101e-05/1.051, allocations: 109.5 kB / 0.9018 GB, free: 42.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003531/1.051, allocations: 158.1 kB / 0.902 GB, free: 42.11 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/1.052, allocations: 127.3 kB / 0.9021 GB, free: 41.98 MB / 458.7 MB Notification: Performance of SimCode: time 2.395e-06/1.052, allocations: 0 / 0.9021 GB, free: 41.98 MB / 458.7 MB Notification: Performance of Templates: time 0.01718/1.069, allocations: 17.05 MB / 0.9187 GB, free: 25.18 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.796172771602869]