Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009521/0.0009521, allocations: 81.81 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001048/0.001048, allocations: 164.5 kB / 24.82 MB, free: 9.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9447/0.9447, allocations: 177 MB / 205.1 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2615/0.2615, allocations: 34.86 MB / 296.6 MB, free: 452 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 379.3 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.732e-05, allocations: 3.016 kB / 379.3 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.009352/0.00937, allocations: 11.17 MB / 390.4 MB, free: 6.555 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009492/0.01886, allocations: 11.58 MB / 402 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.01903, allocations: 0 / 402 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003801/0.01941, allocations: 75.45 kB / 402.1 MB, free: 10.85 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008987/0.0284, allocations: 3.201 MB / 405.3 MB, free: 7.633 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.02875, allocations: 163.6 kB / 405.5 MB, free: 7.473 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004145/0.0329, allocations: 4.084 MB / 409.5 MB, free: 3.383 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.649e-05/0.03296, allocations: 12.59 kB / 409.6 MB, free: 3.367 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.03316, allocations: 207.4 kB / 409.8 MB, free: 3.164 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006152/0.03932, allocations: 7.398 MB / 417.2 MB, free: 11.76 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.03935, allocations: 8 kB / 417.2 MB, free: 11.75 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00346/0.04281, allocations: 2.024 MB / 419.2 MB, free: 9.723 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.893e-05/0.04288, allocations: 43.83 kB / 419.2 MB, free: 9.68 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.425e-05/0.04296, allocations: 95.75 kB / 419.3 MB, free: 9.586 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002223/0.04518, allocations: 1.753 MB / 421.1 MB, free: 7.828 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.04519, allocations: 4 kB / 421.1 MB, free: 7.824 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.04519, allocations: 0 / 421.1 MB, free: 7.824 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.04519, allocations: 0 / 421.1 MB, free: 7.824 MB / 394.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.001856/0.04705, allocations: 0.9618 MB / 422 MB, free: 6.824 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.04709, allocations: 8.031 kB / 422.1 MB, free: 6.816 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004227/0.04751, allocations: 152.3 kB / 422.2 MB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.04773, allocations: 196.2 kB / 422.4 MB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.04775, allocations: 21.03 kB / 422.4 MB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.04778, allocations: 32.38 kB / 422.4 MB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/0.04829, allocations: 451.9 kB / 422.9 MB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.0483, allocations: 192 / 422.9 MB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.04833, allocations: 16.12 kB / 422.9 MB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.04834, allocations: 8 kB / 422.9 MB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004859/0.04882, allocations: 408.9 kB / 423.3 MB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003286/0.05211, allocations: 2.799 MB / 426.1 MB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.05246, allocations: 183.7 kB / 426.3 MB, free: 2.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.05252, allocations: 52.22 kB / 426.3 MB, free: 2.355 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.213/0.2655, allocations: 19.95 MB / 446.3 MB, free: 85.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004642/0.266, allocations: 382.2 kB / 446.7 MB, free: 85.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.965e-06/0.266, allocations: 0 / 446.7 MB, free: 85.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.001681/0.2677, allocations: 0.7091 MB / 447.4 MB, free: 85.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.2677, allocations: 478.1 kB / 447.8 MB, free: 84.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.281e-05/0.2678, allocations: 226 kB / 448.1 MB, free: 84.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.2679, allocations: 35.89 kB / 448.1 MB, free: 84.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.2679, allocations: 215.7 kB / 448.3 MB, free: 84.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.891e-05/0.268, allocations: 141.5 kB / 448.4 MB, free: 84.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.71e-05/0.2681, allocations: 98.94 kB / 448.5 MB, free: 84.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.489e-05/0.2681, allocations: 0.5116 MB / 449.1 MB, free: 83.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.593e-05/0.2682, allocations: 45.59 kB / 449.1 MB, free: 83.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.2683, allocations: 407.3 kB / 449.5 MB, free: 83.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.2686, allocations: 0.5011 MB / 450 MB, free: 83.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2686, allocations: 2.969 kB / 450 MB, free: 83.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004377/0.269, allocations: 429.6 kB / 450.4 MB, free: 82.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.269, allocations: 8.688 kB / 450.4 MB, free: 82.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.269, allocations: 8.594 kB / 450.4 MB, free: 82.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009406/0.27, allocations: 332.6 kB / 450.8 MB, free: 82.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.2702, allocations: 103.9 kB / 450.9 MB, free: 82.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002311/0.2704, allocations: 0.9248 MB / 451.8 MB, free: 82.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.2705, allocations: 17.44 kB / 451.8 MB, free: 82.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.2705, allocations: 33.3 kB / 451.8 MB, free: 82.06 MB / 410.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): 52 * 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.961e-05/0.2706, allocations: 199.8 kB / 452 MB, free: 81.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.068e-05/0.2707, allocations: 41.42 kB / 452.1 MB, free: 81.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006794/0.2714, allocations: 0.803 MB / 452.9 MB, free: 81.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.2714, allocations: 11.36 kB / 452.9 MB, free: 81.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.2714, allocations: 2.5 kB / 452.9 MB, free: 81.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.2714, allocations: 3.062 kB / 452.9 MB, free: 81.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007175/0.2721, allocations: 0.9025 MB / 453.8 MB, free: 81.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2721, allocations: 6.531 kB / 453.8 MB, free: 81.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.997e-05/0.2722, allocations: 40.69 kB / 453.8 MB, free: 81.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005825/0.2728, allocations: 219 kB / 454.1 MB, free: 81.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.2728, allocations: 12.98 kB / 454.1 MB, free: 81.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001736/0.273, allocations: 0.9064 MB / 455 MB, free: 80.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.273, allocations: 2.875 kB / 455 MB, free: 80.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.2734, allocations: 0.5651 MB / 455.5 MB, free: 79.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.2734, allocations: 33.73 kB / 455.6 MB, free: 79.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.2734, allocations: 51.45 kB / 455.6 MB, free: 79.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.2735, allocations: 12.62 kB / 455.6 MB, free: 79.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.2736, allocations: 32.72 kB / 455.7 MB, free: 79.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.2736, allocations: 12.64 kB / 455.7 MB, free: 79.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001368/0.2737, allocations: 292.3 kB / 456 MB, free: 79.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2737, allocations: 0 / 456 MB, free: 79.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001007/0.2747, allocations: 447.8 kB / 456.4 MB, free: 79.75 MB / 410.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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000969/0.2757, allocations: 0.7216 MB / 457.1 MB, free: 79.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004022/0.2761, allocations: 302.1 kB / 457.4 MB, free: 79.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.2761, allocations: 8.516 kB / 457.4 MB, free: 79.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.2762, allocations: 159.2 kB / 457.6 MB, free: 79.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.2767, allocations: 170.8 kB / 457.8 MB, free: 79.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7231/0.9998, allocations: 0.494 GB / 0.941 GB, free: 3.887 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.049e-05/0.9999, allocations: 113.8 kB / 0.9411 GB, free: 3.758 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003203/1, allocations: 160.4 kB / 0.9413 GB, free: 3.633 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/1, allocations: 158.1 kB / 0.9414 GB, free: 3.484 MB / 458.7 MB Notification: Performance of SimCode: time 2.265e-06/1, allocations: 4 kB / 0.9415 GB, free: 3.48 MB / 458.7 MB Notification: Performance of Templates: time 0.1714/1.172, allocations: 18.87 MB / 0.9599 GB, free: 130.5 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.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.000770265236497]