Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.000816/0.000816, 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.0009894/0.0009894, allocations: 164.1 kB / 24.82 MB, free: 9.328 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.9674/0.9674, allocations: 177 MB / 205.1 MB, free: 5.465 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.2973/0.2973, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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_ph,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_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 379.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/3.055e-05, allocations: 2.312 kB / 379.3 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.02505/0.02508, allocations: 11.17 MB / 390.5 MB, free: 6.574 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01453/0.03961, allocations: 11.58 MB / 402 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.03976, allocations: 0 / 402 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.04004, allocations: 79.39 kB / 402.1 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008007/0.04804, allocations: 3.197 MB / 405.3 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.04834, allocations: 163.6 kB / 405.5 MB, free: 7.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004016/0.05236, allocations: 4.08 MB / 409.5 MB, free: 3.414 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.05241, allocations: 16.59 kB / 409.6 MB, free: 3.395 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.0526, allocations: 207.4 kB / 409.8 MB, free: 3.191 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006159/0.05876, allocations: 7.398 MB / 417.2 MB, free: 11.79 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.0588, allocations: 12 kB / 417.2 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003541/0.06234, allocations: 2.044 MB / 419.2 MB, free: 9.727 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.718e-05/0.06241, allocations: 51.75 kB / 419.3 MB, free: 9.676 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.317e-05/0.06251, allocations: 91.83 kB / 419.4 MB, free: 9.586 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002881/0.06539, allocations: 1.757 MB / 421.1 MB, free: 7.824 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.06539, allocations: 0 / 421.1 MB, free: 7.824 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.06539, allocations: 0 / 421.1 MB, free: 7.824 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.0654, 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.001239/0.06664, allocations: 0.9695 MB / 422.1 MB, free: 6.816 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.06667, allocations: 8.031 kB / 422.1 MB, free: 6.809 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003878/0.06706, allocations: 148.3 kB / 422.2 MB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.06726, allocations: 196.2 kB / 422.4 MB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.06727, allocations: 21.03 kB / 422.5 MB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.0673, allocations: 28.38 kB / 422.5 MB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004908/0.06779, allocations: 451.9 kB / 422.9 MB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.0678, allocations: 4.188 kB / 422.9 MB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.06782, allocations: 12.12 kB / 422.9 MB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.06783, allocations: 8 kB / 422.9 MB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004524/0.06828, allocations: 404.9 kB / 423.3 MB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003201/0.07148, allocations: 3.102 MB / 426.4 MB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.07176, allocations: 155.6 kB / 426.6 MB, free: 2.141 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/0.07181, allocations: 44.36 kB / 426.6 MB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01089/0.0827, allocations: 7.511 MB / 434.1 MB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004346/0.08313, allocations: 363.6 kB / 434.5 MB, free: 10.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.044e-06/0.08313, allocations: 0 / 434.5 MB, free: 10.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001037/0.08417, allocations: 438.4 kB / 434.9 MB, free: 9.688 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.0843, allocations: 478.6 kB / 435.4 MB, free: 9.109 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.08443, allocations: 254.1 kB / 435.6 MB, free: 8.844 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.08445, allocations: 29.7 kB / 435.7 MB, free: 8.809 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.204e-05/0.08454, allocations: 246.7 kB / 435.9 MB, free: 8.562 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.0846, allocations: 107.1 kB / 436 MB, free: 8.457 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.712e-05/0.08468, allocations: 99.75 kB / 436.1 MB, free: 8.352 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.08481, allocations: 0.5079 MB / 436.6 MB, free: 7.832 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.469e-05/0.08485, allocations: 36.97 kB / 436.7 MB, free: 7.797 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.08506, allocations: 401.6 kB / 437.1 MB, free: 7.234 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.08535, allocations: 0.4956 MB / 437.5 MB, free: 6.574 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.08535, allocations: 0 / 437.5 MB, free: 6.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003593/0.08571, allocations: 385.5 kB / 437.9 MB, free: 6.191 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.08573, allocations: 8 kB / 437.9 MB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.08573, allocations: 8 kB / 437.9 MB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.08575, allocations: 12 kB / 438 MB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.08592, allocations: 103.8 kB / 438.1 MB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.08593, allocations: 19.92 kB / 438.1 MB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.08606, allocations: 52.12 kB / 438.1 MB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.08609, allocations: 28 kB / 438.2 MB, free: 5.965 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.751e-05/0.08618, allocations: 200.3 kB / 438.3 MB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.08624, allocations: 39.84 kB / 438.4 MB, free: 5.719 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005168/0.08675, allocations: 0.6388 MB / 439 MB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.08676, allocations: 8 kB / 439 MB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.08676, allocations: 4 kB / 439 MB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.08677, allocations: 3.984 kB / 439 MB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005543/0.08732, allocations: 0.6876 MB / 439.7 MB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.08733, allocations: 4 kB / 439.7 MB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.08738, allocations: 40.23 kB / 439.8 MB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.08739, allocations: 0 / 439.8 MB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.08739, allocations: 8 kB / 439.8 MB, free: 4.238 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.0874, allocations: 3.938 kB / 439.8 MB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.0874, allocations: 4 kB / 439.8 MB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.08765, allocations: 416.3 kB / 440.2 MB, free: 3.762 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.08768, allocations: 27.78 kB / 440.2 MB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.08772, allocations: 51.56 kB / 440.3 MB, free: 3.684 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.08784, allocations: 11.98 kB / 440.3 MB, free: 3.672 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.08786, allocations: 19.92 kB / 440.3 MB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.08787, allocations: 15.94 kB / 440.3 MB, free: 3.637 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.08803, allocations: 310.7 kB / 440.6 MB, free: 3.332 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08803, allocations: 0 / 440.6 MB, free: 3.332 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008187/0.08885, allocations: 418.6 kB / 441 MB, free: 2.922 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001192/0.09004, allocations: 0.6927 MB / 441.7 MB, free: 2.215 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.09026, allocations: 205.8 kB / 441.9 MB, free: 2.012 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.09027, allocations: 0 / 441.9 MB, free: 2.012 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.82e-05/0.09032, allocations: 71.45 kB / 442 MB, free: 1.938 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.09077, allocations: 158.4 kB / 442.1 MB, free: 1.789 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.152/1.243, allocations: 0.5817 GB / 1.013 GB, free: 94.94 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.411e-05/1.243, allocations: 107 kB / 1.014 GB, free: 94.85 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003042/1.243, allocations: 159 kB / 1.014 GB, free: 94.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/1.243, allocations: 161.4 kB / 1.014 GB, free: 94.71 MB / 458.7 MB Notification: Performance of SimCode: time 1.783e-06/1.243, allocations: 0 / 1.014 GB, free: 94.71 MB / 458.7 MB Notification: Performance of Templates: time 0.01534/1.258, allocations: 16.94 MB / 1.03 GB, free: 79.48 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.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: 4.954841022845358]