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.001083/0.001083, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001043/0.001043, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9511/0.9511, allocations: 177 MB / 204.8 MB, free: 5.594 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.2825/0.2825, allocations: 34.86 MB / 296.3 MB, free: 0.5625 MB / 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 2.084e-06/2.084e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.359e-05/3.568e-05, allocations: 8.844 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01094/0.01098, allocations: 11.28 MB / 390.1 MB, free: 6.727 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009318/0.0203, allocations: 11.77 MB / 401.9 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.02043, allocations: 3.938 kB / 401.9 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.02081, allocations: 67.52 kB / 401.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00837/0.02918, allocations: 3.209 MB / 405.1 MB, free: 7.617 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.02946, allocations: 151.7 kB / 405.3 MB, free: 7.469 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003513/0.03298, allocations: 4.044 MB / 409.3 MB, free: 3.418 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.03303, allocations: 16.58 kB / 409.4 MB, free: 3.398 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.0332, allocations: 199.5 kB / 409.6 MB, free: 3.203 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006/0.0392, allocations: 7.332 MB / 416.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.03925, allocations: 12 kB / 416.9 MB, free: 11.85 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003675/0.04292, allocations: 2.017 MB / 418.9 MB, free: 9.832 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.966e-05/0.043, allocations: 43.83 kB / 419 MB, free: 9.789 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.932e-05/0.0431, allocations: 95.75 kB / 419 MB, free: 9.695 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002644/0.04575, allocations: 1.746 MB / 420.8 MB, free: 7.945 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.04575, allocations: 0 / 420.8 MB, free: 7.945 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.04575, allocations: 0 / 420.8 MB, free: 7.945 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.04576, allocations: 4 kB / 420.8 MB, free: 7.941 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.001526/0.04728, allocations: 0.9657 MB / 421.8 MB, free: 6.938 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.04733, allocations: 8.031 kB / 421.8 MB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004525/0.04778, allocations: 152.3 kB / 421.9 MB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.04801, allocations: 196.2 kB / 422.1 MB, free: 6.562 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.04803, allocations: 25.03 kB / 422.1 MB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.04806, allocations: 32.38 kB / 422.2 MB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006474/0.04871, allocations: 464 kB / 422.6 MB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.04872, allocations: 4.188 kB / 422.6 MB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.04875, allocations: 24.09 kB / 422.6 MB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.04876, allocations: 8 kB / 422.7 MB, free: 5.961 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005399/0.0493, allocations: 458.4 kB / 423.1 MB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003227/0.05253, allocations: 2.919 MB / 426 MB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/0.05289, allocations: 195.8 kB / 426.2 MB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.05296, allocations: 64.2 kB / 426.3 MB, free: 2.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2077/0.2606, allocations: 21.31 MB / 447.6 MB, free: 85.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005757/0.2612, allocations: 382.2 kB / 448 MB, free: 85.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.003e-06/0.2612, allocations: 2.531 kB / 448 MB, free: 85.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.001759/0.263, allocations: 0.9832 MB / 448.9 MB, free: 85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/0.2631, allocations: 482.1 kB / 449.4 MB, free: 84.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.2632, allocations: 230.8 kB / 449.6 MB, free: 84.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.2632, allocations: 36.52 kB / 449.7 MB, free: 84.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.2632, allocations: 214.2 kB / 449.9 MB, free: 84.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.957e-05/0.2633, allocations: 133 kB / 450 MB, free: 83.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.162e-05/0.2634, allocations: 102.5 kB / 450.1 MB, free: 83.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.981e-05/0.2634, allocations: 0.5014 MB / 450.6 MB, free: 83.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.947e-05/0.2635, allocations: 57.02 kB / 450.7 MB, free: 83.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.2637, allocations: 410.4 kB / 451.1 MB, free: 83.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.264, allocations: 0.5208 MB / 451.6 MB, free: 82.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.264, allocations: 2.844 kB / 451.6 MB, free: 82.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004598/0.2645, allocations: 448.5 kB / 452 MB, free: 82.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.2645, allocations: 8.188 kB / 452 MB, free: 82.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.2645, allocations: 8.688 kB / 452.1 MB, free: 82.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009735/0.2655, allocations: 325.2 kB / 452.4 MB, free: 82.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.2656, allocations: 104.1 kB / 452.5 MB, free: 82.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000369/0.266, allocations: 1.825 MB / 454.3 MB, free: 80.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.2661, allocations: 25.3 kB / 454.3 MB, free: 80.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.2662, allocations: 35.14 kB / 454.4 MB, free: 80.65 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): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.322e-05/0.2663, allocations: 192.1 kB / 454.5 MB, free: 80.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-05/0.2663, allocations: 45.42 kB / 454.6 MB, free: 80.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006387/0.267, allocations: 0.8161 MB / 455.4 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.267, allocations: 9.469 kB / 455.4 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.267, allocations: 6.203 kB / 455.4 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.267, allocations: 2.906 kB / 455.4 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006831/0.2677, allocations: 0.9713 MB / 456.4 MB, free: 79.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.2677, allocations: 0 / 456.4 MB, free: 79.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.2677, allocations: 47.05 kB / 456.4 MB, free: 79.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005529/0.2683, allocations: 219.7 kB / 456.7 MB, free: 79.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.2683, allocations: 9.438 kB / 456.7 MB, free: 79.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003131/0.2686, allocations: 1.817 MB / 458.5 MB, free: 77.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2686, allocations: 2.938 kB / 458.5 MB, free: 77.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.269, allocations: 0.5703 MB / 459.1 MB, free: 77.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.269, allocations: 24.28 kB / 459.1 MB, free: 77.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.2691, allocations: 47.19 kB / 459.1 MB, free: 77.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.2692, allocations: 19.78 kB / 459.1 MB, free: 77.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.2692, allocations: 30.08 kB / 459.2 MB, free: 77.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.2692, allocations: 18.48 kB / 459.2 MB, free: 77.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001747/0.2694, allocations: 303.5 kB / 459.5 MB, free: 77.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2694, allocations: 0 / 459.5 MB, free: 77.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008256/0.2702, allocations: 450 kB / 459.9 MB, free: 77.38 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): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008668/0.2711, allocations: 0.6898 MB / 460.6 MB, free: 77.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003637/0.2715, allocations: 329.4 kB / 460.9 MB, free: 77.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2715, allocations: 0 / 460.9 MB, free: 77.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.2716, allocations: 175 kB / 461.1 MB, free: 77.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.2721, allocations: 163.9 kB / 461.3 MB, free: 77.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8884/1.16, allocations: 0.4932 GB / 0.9436 GB, free: 131.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.227e-05/1.161, allocations: 116.7 kB / 0.9437 GB, free: 131.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003288/1.161, allocations: 157.8 kB / 0.9439 GB, free: 131.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.117e-05/1.161, allocations: 44.88 kB / 0.9439 GB, free: 131.6 MB / 458.7 MB Notification: Performance of SimCode: time 2.695e-06/1.161, allocations: 0 / 0.9439 GB, free: 131.6 MB / 458.7 MB Notification: Performance of Templates: time 0.01816/1.179, allocations: 15.87 MB / 0.9594 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.367591786663979]