Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_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.001444/0.001444, 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.001098/0.001098, allocations: 164.8 kB / 25.61 MB, free: 8.891 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.9326/0.9326, allocations: 177.1 MB / 206 MB, free: 4.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.139/0.139, allocations: 34.27 MB / 296.9 MB, free: 13.94 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_pT,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.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 3.938 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.928e-05, allocations: 2.312 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.007406/0.007425, allocations: 11.16 MB / 390.5 MB, free: 12.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00715/0.01457, allocations: 11.59 MB / 402.1 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.01472, allocations: 0 / 402.1 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.015, allocations: 67.53 kB / 402.1 MB, free: 480 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007264/0.02226, allocations: 3.208 MB / 405.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.02255, allocations: 155.6 kB / 405.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003694/0.02625, allocations: 4.057 MB / 409.6 MB, free: 9.023 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.963e-05/0.02629, allocations: 12.58 kB / 409.6 MB, free: 9.012 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.02647, allocations: 207.5 kB / 409.8 MB, free: 8.809 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005991/0.03246, allocations: 7.336 MB / 417.1 MB, free: 1.465 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.162e-05/0.03251, allocations: 8 kB / 417.1 MB, free: 1.457 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003943/0.03645, allocations: 2.294 MB / 419.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.405e-05/0.03652, allocations: 47.77 kB / 419.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.03663, allocations: 99.75 kB / 419.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003061/0.03969, allocations: 1.96 MB / 421.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.03969, allocations: 0 / 421.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.03969, allocations: 0 / 421.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.0397, allocations: 0 / 421.5 MB, free: 13.05 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.001412/0.04111, allocations: 1.008 MB / 422.5 MB, free: 12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.04115, allocations: 12.03 kB / 422.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004205/0.04157, allocations: 148.3 kB / 422.7 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.04179, allocations: 200.2 kB / 422.9 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.0418, allocations: 25.03 kB / 422.9 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.04183, allocations: 32.38 kB / 422.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.04236, allocations: 447.9 kB / 423.4 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.04237, allocations: 192 / 423.4 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.04239, allocations: 20.12 kB / 423.4 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.0424, allocations: 8 kB / 423.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005027/0.0429, allocations: 400.9 kB / 423.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003285/0.04619, allocations: 2.795 MB / 426.6 MB, free: 7.789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.04653, allocations: 179.8 kB / 426.8 MB, free: 7.602 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.101e-05/0.0466, allocations: 52.28 kB / 426.8 MB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03564/0.08224, allocations: 20.57 MB / 447.4 MB, free: 2.938 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005122/0.08275, allocations: 373.2 kB / 447.7 MB, free: 2.488 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.244e-06/0.08275, allocations: 4 kB / 447.7 MB, free: 2.484 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001398/0.08415, allocations: 0.5783 MB / 448.3 MB, free: 1.902 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.0843, allocations: 486.5 kB / 448.8 MB, free: 1.316 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.08443, allocations: 244.2 kB / 449 MB, free: 1.062 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.08446, allocations: 33.7 kB / 449.1 MB, free: 1.023 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.331e-05/0.08455, allocations: 211.1 kB / 449.3 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.189e-05/0.08462, allocations: 139.3 kB / 449.4 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.583e-05/0.08471, allocations: 103.8 kB / 449.5 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.08484, allocations: 0.5001 MB / 450 MB, free: 52 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.069e-05/0.08489, allocations: 44.95 kB / 450.1 MB, free: 8 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.08511, allocations: 393 kB / 450.4 MB, free: 15.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.08543, allocations: 0.492 MB / 450.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.08543, allocations: 4 kB / 450.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003923/0.08582, allocations: 377.5 kB / 451.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.08584, allocations: 8 kB / 451.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.08585, allocations: 12.12 kB / 451.3 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.08586, allocations: 12 kB / 451.3 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009666/0.08683, allocations: 343.5 kB / 451.7 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005547/0.08739, allocations: 1.798 MB / 453.5 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.08752, allocations: 27.95 kB / 453.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.08755, allocations: 27.98 kB / 453.5 MB, free: 12.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.08766, allocations: 196.3 kB / 453.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.08772, allocations: 43.8 kB / 453.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008903/0.08861, allocations: 0.7228 MB / 454.5 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.08862, allocations: 15.98 kB / 454.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.08862, allocations: 0 / 454.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.08863, allocations: 11.92 kB / 454.5 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006671/0.0893, allocations: 0.8084 MB / 455.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.08931, allocations: 8 kB / 455.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00055/0.08986, allocations: 148.1 kB / 455.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.08986, allocations: 4 kB / 455.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.08988, allocations: 8 kB / 455.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002915/0.09017, allocations: 0.8971 MB / 456.4 MB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.09017, allocations: 4 kB / 456.4 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.09055, allocations: 0.5094 MB / 456.9 MB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.09058, allocations: 23.8 kB / 456.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.09063, allocations: 47.61 kB / 457 MB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.09076, allocations: 12 kB / 457 MB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.09079, allocations: 35.83 kB / 457 MB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.09081, allocations: 12 kB / 457 MB, free: 8.461 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001681/0.09098, allocations: 291 kB / 457.3 MB, free: 8.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09098, allocations: 4 kB / 457.3 MB, free: 8.176 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001246/0.09222, allocations: 474.4 kB / 457.8 MB, free: 7.711 MB / 378.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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001104/0.09333, allocations: 0.759 MB / 458.5 MB, free: 6.941 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007413/0.09407, allocations: 337.4 kB / 458.9 MB, free: 6.609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.09407, allocations: 0 / 458.9 MB, free: 6.609 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.09443, allocations: 165.6 kB / 459 MB, free: 6.445 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.09491, allocations: 173.6 kB / 459.2 MB, free: 6.273 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9573/1.052, allocations: 0.5384 GB / 0.9869 GB, free: 154.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.752e-05/1.052, allocations: 112.1 kB / 0.987 GB, free: 154.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003178/1.053, allocations: 174.8 kB / 0.9871 GB, free: 154.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/1.053, allocations: 161 kB / 0.9873 GB, free: 154.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.603e-06/1.053, allocations: 0 / 0.9873 GB, free: 154.8 MB / 458.7 MB Notification: Performance of Templates: time 0.01692/1.07, allocations: 18.8 MB / 1.006 GB, free: 142.5 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_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: 5.126771176233888]