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.00141/0.00141, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001394/0.001394, allocations: 167.9 kB / 24.91 MB, free: 8.734 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 1.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2502/0.2502, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.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.322e-06/1.322e-06, allocations: 0 / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.139e-05, allocations: 9.438 kB / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.008919/0.00894, allocations: 11.27 MB / 336.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008304/0.01724, allocations: 11.73 MB / 348.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.01735, allocations: 4 kB / 348.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.01765, allocations: 75.5 kB / 348.4 MB, free: 484 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00743/0.02508, allocations: 3.244 MB / 351.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.02538, allocations: 155.7 kB / 351.8 MB, free: 13.06 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003218/0.0286, allocations: 4.025 MB / 355.8 MB, free: 9.027 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.02865, allocations: 22.48 kB / 355.8 MB, free: 9.004 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003482/0.029, allocations: 199.5 kB / 356 MB, free: 8.809 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005375/0.03437, allocations: 7.285 MB / 363.3 MB, free: 1.516 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.03441, allocations: 12 kB / 363.3 MB, free: 1.504 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004112/0.03852, allocations: 2.29 MB / 365.6 MB, free: 15.21 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.897e-05/0.03861, allocations: 47.77 kB / 365.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.03871, allocations: 95.75 kB / 365.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002888/0.0416, allocations: 1.96 MB / 367.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.0416, allocations: 3.938 kB / 367.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.0416, allocations: 0 / 367.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.04161, allocations: 0 / 367.7 MB, free: 13.1 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.001473/0.04308, allocations: 0.9031 MB / 368.6 MB, free: 12.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.04311, allocations: 8.031 kB / 368.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003837/0.0435, allocations: 160.4 kB / 368.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.04368, allocations: 169.5 kB / 368.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.0437, allocations: 29.02 kB / 369 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.04373, allocations: 32.38 kB / 369 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.04419, allocations: 437.2 kB / 369.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.0442, allocations: 192 / 369.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.04423, allocations: 20.12 kB / 369.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.04423, allocations: 4 kB / 369.4 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.04467, allocations: 387.7 kB / 369.8 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003388/0.04805, allocations: 2.59 MB / 372.4 MB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.04833, allocations: 167.2 kB / 372.6 MB, free: 8.062 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.469e-05/0.04838, allocations: 49.39 kB / 372.6 MB, free: 8.012 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03145/0.07983, allocations: 20.51 MB / 393.1 MB, free: 3.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004488/0.08028, allocations: 327.4 kB / 393.5 MB, free: 3.082 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.474e-06/0.08028, allocations: 0 / 393.5 MB, free: 3.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009023/0.08118, allocations: 0.4932 MB / 393.9 MB, free: 2.586 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001573/0.08134, allocations: 482.5 kB / 394.4 MB, free: 2.004 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.08145, allocations: 170.4 kB / 394.6 MB, free: 1.824 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.08148, allocations: 33.92 kB / 394.6 MB, free: 1.785 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.08156, allocations: 164.4 kB / 394.8 MB, free: 1.621 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/0.08162, allocations: 126.9 kB / 394.9 MB, free: 1.496 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-05/0.0817, allocations: 94.08 kB / 395 MB, free: 1.395 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.0818, allocations: 330.7 kB / 395.3 MB, free: 1.062 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.231e-05/0.08184, allocations: 36.97 kB / 395.4 MB, free: 1.027 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.08199, allocations: 277.5 kB / 395.6 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.08226, allocations: 395.8 kB / 396 MB, free: 140 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.08227, allocations: 4 kB / 396 MB, free: 136 kB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002875/0.08256, allocations: 303.8 kB / 396.3 MB, free: 15.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.08257, allocations: 8 kB / 396.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.08258, allocations: 8 kB / 396.3 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.0826, allocations: 12 kB / 396.3 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005038/0.0831, allocations: 155.8 kB / 396.5 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002487/0.08335, allocations: 0.6015 MB / 397.1 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.08349, allocations: 39.73 kB / 397.1 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.08352, allocations: 27.98 kB / 397.2 MB, free: 14.96 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001005/0.08362, allocations: 148.4 kB / 397.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.08367, allocations: 31.97 kB / 397.3 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005551/0.08422, allocations: 0.6268 MB / 398 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.08423, allocations: 11.98 kB / 398 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.08423, allocations: 4 kB / 398 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.08424, allocations: 0 / 398 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006271/0.08487, allocations: 0.6582 MB / 398.6 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.08487, allocations: 7.938 kB / 398.6 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.08524, allocations: 95.86 kB / 398.7 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.08524, allocations: 4 kB / 398.7 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.08526, allocations: 12 kB / 398.8 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002177/0.08547, allocations: 0.59 MB / 399.3 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.08548, allocations: 7.984 kB / 399.3 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.08574, allocations: 380 kB / 399.7 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.08578, allocations: 27.83 kB / 399.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.08582, allocations: 47.52 kB / 399.8 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.08593, allocations: 15.98 kB / 399.8 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.08596, allocations: 27.84 kB / 399.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.08597, allocations: 12 kB / 399.8 MB, free: 12.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.08609, allocations: 160.7 kB / 400 MB, free: 11.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08609, allocations: 0 / 400 MB, free: 11.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009994/0.08709, allocations: 458.6 kB / 400.5 MB, free: 11.5 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001054/0.08814, allocations: 0.7582 MB / 401.2 MB, free: 10.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005621/0.08871, allocations: 266.2 kB / 401.5 MB, free: 10.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/0.08872, allocations: 4 kB / 401.5 MB, free: 10.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.08884, allocations: 95.14 kB / 401.6 MB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.08925, allocations: 150.3 kB / 401.7 MB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8701/0.9594, allocations: 0.5174 GB / 0.9097 GB, free: 31.01 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.588e-05/0.9594, allocations: 113.2 kB / 0.9098 GB, free: 30.88 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003221/0.9598, allocations: 153.2 kB / 0.91 GB, free: 30.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.9599, allocations: 131.3 kB / 0.9101 GB, free: 30.62 MB / 458.7 MB Notification: Performance of SimCode: time 2.305e-06/0.9599, allocations: 0 / 0.9101 GB, free: 30.62 MB / 458.7 MB Notification: Performance of Templates: time 0.01606/0.976, allocations: 18.06 MB / 0.9277 GB, free: 12.8 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.209172312170267]