Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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.001597/0.001597, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001177/0.001177, allocations: 166.8 kB / 25.61 MB, free: 8.582 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 1.022/1.022, allocations: 177 MB / 205.9 MB, free: 4.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.1772/0.1772, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.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_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.206e-05, allocations: 5.469 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.009067/0.009099, allocations: 11.16 MB / 391.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007199/0.0163, allocations: 11.6 MB / 402.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.01643, allocations: 7.969 kB / 402.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.0168, allocations: 63.53 kB / 402.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007541/0.02434, allocations: 3.208 MB / 406.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.02465, allocations: 155.7 kB / 406.2 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003723/0.02837, allocations: 4.053 MB / 410.3 MB, free: 8.355 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.853e-05/0.02843, allocations: 12.59 kB / 410.3 MB, free: 8.344 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.02863, allocations: 203.5 kB / 410.5 MB, free: 8.145 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006038/0.03467, allocations: 7.34 MB / 417.8 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.0347, allocations: 12 kB / 417.9 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004196/0.0389, allocations: 2.298 MB / 420.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.265e-05/0.03899, allocations: 47.77 kB / 420.2 MB, free: 14.44 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.0391, allocations: 95.81 kB / 420.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003249/0.04234, allocations: 1.96 MB / 422.2 MB, free: 12.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.04235, allocations: 0 / 422.2 MB, free: 12.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.04235, allocations: 0 / 422.2 MB, free: 12.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.04236, allocations: 0 / 422.2 MB, free: 12.38 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.001618/0.04398, allocations: 1.012 MB / 423.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.04402, allocations: 8.031 kB / 423.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004661/0.04449, allocations: 148.3 kB / 423.4 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.04475, allocations: 196.2 kB / 423.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.04477, allocations: 21.03 kB / 423.6 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.0448, allocations: 36.31 kB / 423.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006114/0.04542, allocations: 448 kB / 424.1 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.04543, allocations: 4.188 kB / 424.1 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.04546, allocations: 16.12 kB / 424.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.04547, allocations: 8 kB / 424.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005393/0.04601, allocations: 404.9 kB / 424.5 MB, free: 9.984 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003311/0.04932, allocations: 2.799 MB / 427.3 MB, free: 7.109 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.04968, allocations: 175.8 kB / 427.5 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.04974, allocations: 60.27 kB / 427.6 MB, free: 6.863 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03497/0.08471, allocations: 20.55 MB / 448.1 MB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005299/0.08524, allocations: 377.2 kB / 448.5 MB, free: 1.812 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.814e-06/0.08524, allocations: 0 / 448.5 MB, free: 1.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.00147/0.08671, allocations: 0.5889 MB / 449.1 MB, free: 1.219 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/0.08688, allocations: 483.6 kB / 449.5 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.087, allocations: 238.4 kB / 449.8 MB, free: 396 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.08702, allocations: 33.7 kB / 449.8 MB, free: 356 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.268e-05/0.08712, allocations: 219.1 kB / 450 MB, free: 132 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.08722, allocations: 134.9 kB / 450.1 MB, free: 15.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.461e-05/0.08731, allocations: 99.67 kB / 450.2 MB, free: 15.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.08743, allocations: 0.504 MB / 450.7 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.87e-05/0.08748, allocations: 44.89 kB / 450.8 MB, free: 15.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.0877, allocations: 396.9 kB / 451.2 MB, free: 14.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.08805, allocations: 492.6 kB / 451.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.08806, allocations: 4 kB / 451.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003967/0.08845, allocations: 377.2 kB / 452 MB, free: 13.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.08847, allocations: 12 kB / 452 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.08848, allocations: 8 kB / 452.1 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.0885, allocations: 12 kB / 452.1 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009399/0.08944, allocations: 347.6 kB / 452.4 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007762/0.09022, allocations: 1.798 MB / 454.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.09034, allocations: 15.95 kB / 454.2 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.09037, allocations: 27.98 kB / 454.2 MB, free: 11.5 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.0001153/0.09049, allocations: 204.4 kB / 454.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/0.09055, allocations: 47.78 kB / 454.5 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006144/0.09116, allocations: 0.7185 MB / 455.2 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.09117, allocations: 8 kB / 455.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.09118, allocations: 7.984 kB / 455.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.09118, allocations: 3.938 kB / 455.2 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006862/0.09187, allocations: 0.8086 MB / 456 MB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.09188, allocations: 8.031 kB / 456 MB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005059/0.09238, allocations: 147.8 kB / 456.2 MB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.09239, allocations: 4 kB / 456.2 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.0924, allocations: 12 kB / 456.2 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002779/0.09268, allocations: 0.9009 MB / 457.1 MB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.09268, allocations: 3.984 kB / 457.1 MB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.09306, allocations: 0.5094 MB / 457.6 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.09309, allocations: 27.78 kB / 457.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.09313, allocations: 47.62 kB / 457.7 MB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.09326, allocations: 15.98 kB / 457.7 MB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.09329, allocations: 27.97 kB / 457.7 MB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.09331, allocations: 12 kB / 457.7 MB, free: 7.797 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001637/0.09347, allocations: 291 kB / 458 MB, free: 7.516 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.09347, allocations: 3.938 kB / 458 MB, free: 7.512 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001023/0.09449, allocations: 474.5 kB / 458.5 MB, free: 7.047 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.001132/0.09562, allocations: 0.7592 MB / 459.3 MB, free: 6.277 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007303/0.09635, allocations: 334.7 kB / 459.6 MB, free: 5.949 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.09636, allocations: 3.938 kB / 459.6 MB, free: 5.945 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.09672, allocations: 166.1 kB / 459.8 MB, free: 5.777 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.09723, allocations: 160.3 kB / 459.9 MB, free: 5.621 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.241/1.338, allocations: 0.5385 GB / 0.9876 GB, free: 154.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.997e-05/1.338, allocations: 113.3 kB / 0.9877 GB, free: 154 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003721/1.339, allocations: 155.5 kB / 0.9878 GB, free: 154 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/1.339, allocations: 165.8 kB / 0.988 GB, free: 154 MB / 458.7 MB Notification: Performance of SimCode: time 2.074e-06/1.339, allocations: 0 / 0.988 GB, free: 154 MB / 458.7 MB Notification: Performance of Templates: time 0.0175/1.356, allocations: 18.8 MB / 1.006 GB, free: 140.4 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 6.107405341695994]