Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001081/0.001081, 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.001294/0.001294, allocations: 169.9 kB / 25.61 MB, free: 8.902 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.9471/0.9471, allocations: 177.2 MB / 206.1 MB, free: 4.516 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.1636/0.1636, allocations: 32.8 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_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.0.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.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.107e-05, allocations: 2.312 kB / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.009544/0.009575, allocations: 11.15 MB / 388.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007433/0.01701, allocations: 11.59 MB / 400.1 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.01718, allocations: 0 / 400.1 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.0176, allocations: 79.5 kB / 400.1 MB, free: 2.625 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007987/0.02559, allocations: 3.197 MB / 403.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.02594, allocations: 163.7 kB / 403.5 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004292/0.03023, allocations: 4.049 MB / 407.6 MB, free: 11.19 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.816e-05/0.03031, allocations: 12.59 kB / 407.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.03057, allocations: 203.5 kB / 407.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006328/0.0369, allocations: 7.348 MB / 415.1 MB, free: 3.625 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.341e-05/0.03696, allocations: 11.98 kB / 415.1 MB, free: 3.613 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004125/0.04109, allocations: 2.29 MB / 417.4 MB, free: 1.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.909e-05/0.04117, allocations: 47.81 kB / 417.5 MB, free: 1.273 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.0413, allocations: 95.77 kB / 417.6 MB, free: 1.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004282/0.04558, allocations: 1.964 MB / 419.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.04558, allocations: 0 / 419.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.04558, allocations: 0 / 419.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.04559, allocations: 4 kB / 419.5 MB, free: 15.21 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.001785/0.04737, allocations: 1.008 MB / 420.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.04741, allocations: 11.98 kB / 420.5 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004321/0.04784, allocations: 144.3 kB / 420.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.04806, allocations: 200.2 kB / 420.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.04807, allocations: 20.97 kB / 420.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.04811, allocations: 28.38 kB / 420.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.04864, allocations: 444 kB / 421.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.04865, allocations: 4.188 kB / 421.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.04867, allocations: 16.12 kB / 421.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.04868, allocations: 8 kB / 421.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.04917, allocations: 408.8 kB / 421.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/0.05253, allocations: 2.799 MB / 424.6 MB, free: 9.949 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/0.05293, allocations: 179.9 kB / 424.8 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/0.05299, allocations: 52.22 kB / 424.8 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03897/0.09197, allocations: 20.56 MB / 445.4 MB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006558/0.09263, allocations: 377.2 kB / 445.7 MB, free: 4.648 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.074e-06/0.09263, allocations: 0 / 445.7 MB, free: 4.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.00188/0.09451, allocations: 0.5783 MB / 446.3 MB, free: 4.066 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001663/0.09467, allocations: 482.6 kB / 446.8 MB, free: 3.484 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.09482, allocations: 240.2 kB / 447 MB, free: 3.234 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.09484, allocations: 29.7 kB / 447.1 MB, free: 3.199 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.554e-05/0.09494, allocations: 219.6 kB / 447.3 MB, free: 2.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.499e-05/0.09502, allocations: 134.8 kB / 447.4 MB, free: 2.848 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.09513, allocations: 103.8 kB / 447.5 MB, free: 2.734 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.09528, allocations: 0.5117 MB / 448 MB, free: 2.211 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.396e-05/0.09535, allocations: 36.97 kB / 448 MB, free: 2.176 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.0956, allocations: 396.9 kB / 448.4 MB, free: 1.629 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.09603, allocations: 0.4986 MB / 448.9 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.09603, allocations: 0 / 448.9 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005304/0.09656, allocations: 369.5 kB / 449.3 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.09658, allocations: 8.188 kB / 449.3 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.09659, allocations: 12.08 kB / 449.3 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.09661, allocations: 12 kB / 449.3 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.09794, allocations: 350.4 kB / 449.7 MB, free: 240 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007158/0.09866, allocations: 1.802 MB / 451.5 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.09885, allocations: 23.94 kB / 451.5 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/0.09889, allocations: 32 kB / 451.5 MB, free: 14.32 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.000149/0.09904, allocations: 196.3 kB / 451.7 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.425e-05/0.09913, allocations: 43.8 kB / 451.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008442/0.09998, allocations: 0.7237 MB / 452.5 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.09999, allocations: 7.984 kB / 452.5 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.09999, allocations: 4 kB / 452.5 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.1, allocations: 3.938 kB / 452.5 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008727/0.1009, allocations: 0.8123 MB / 453.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.1009, allocations: 0 / 453.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007171/0.1016, allocations: 148.1 kB / 453.5 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.1016, allocations: 4 kB / 453.5 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1016, allocations: 12 kB / 453.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000305/0.1019, allocations: 0.9088 MB / 454.4 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1019, allocations: 4 kB / 454.4 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.1024, allocations: 0.5055 MB / 454.9 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.1024, allocations: 27.8 kB / 454.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.1025, allocations: 39.62 kB / 455 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.1027, allocations: 15.98 kB / 455 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.1027, allocations: 27.84 kB / 455 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.1027, allocations: 12 kB / 455 MB, free: 10.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002042/0.1029, allocations: 299 kB / 455.3 MB, free: 10.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1029, allocations: 0 / 455.3 MB, free: 10.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001416/0.1043, allocations: 478.5 kB / 455.8 MB, free: 9.883 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.001243/0.1056, allocations: 0.7589 MB / 456.5 MB, free: 9.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.1066, allocations: 334.9 kB / 456.9 MB, free: 8.781 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1066, allocations: 0 / 456.9 MB, free: 8.781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005043/0.1071, allocations: 161.9 kB / 457 MB, free: 8.621 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006507/0.1078, allocations: 165.7 kB / 457.2 MB, free: 8.457 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8738/0.9816, allocations: 0.5384 GB / 0.9849 GB, free: 7.133 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.396e-05/0.9817, allocations: 109.8 kB / 0.985 GB, free: 7.004 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003263/0.982, allocations: 168.8 kB / 0.9852 GB, free: 6.867 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.9822, allocations: 170.1 kB / 0.9853 GB, free: 6.703 MB / 458.7 MB Notification: Performance of SimCode: time 1.924e-06/0.9822, allocations: 0 / 0.9853 GB, free: 6.703 MB / 458.7 MB Notification: Performance of Templates: time 0.1487/1.131, allocations: 18.79 MB / 1.004 GB, free: 150.3 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.43035496538505]