Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.0009611/0.0009611, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001085/0.001085, allocations: 161.4 kB / 24.91 MB, free: 8.719 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.9002/0.9002, allocations: 177 MB / 205.2 MB, free: 5.031 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.2463/0.2463, allocations: 34.86 MB / 296.6 MB, free: 400 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.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 325.9 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179e-05/1.291e-05, allocations: 6.312 kB / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2729/0.2729, allocations: 145.4 MB / 471.4 MB, free: 16.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003326/0.2762, allocations: 5.243 MB / 476.6 MB, free: 16.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.2763, allocations: 6.812 kB / 476.6 MB, free: 16.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.2765, allocations: 62.77 kB / 476.7 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.2784, allocations: 1.289 MB / 478 MB, free: 16.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.2786, allocations: 146 kB / 478.1 MB, free: 16.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.279, allocations: 425.3 kB / 478.5 MB, free: 16.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.279, allocations: 11.12 kB / 478.5 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.2792, allocations: 230.6 kB / 478.8 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.2794, allocations: 155.8 kB / 478.9 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.2794, allocations: 8.938 kB / 478.9 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000875/0.2803, allocations: 0.9444 MB / 479.9 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.199e-05/0.2804, allocations: 53.58 kB / 479.9 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.442e-05/0.2804, allocations: 79.16 kB / 480 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007621/0.2812, allocations: 0.9372 MB / 480.9 MB, free: 16.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2812, allocations: 0 / 480.9 MB, free: 16.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2812, allocations: 0 / 480.9 MB, free: 16.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.2812, allocations: 0 / 480.9 MB, free: 16.03 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006981/0.2819, allocations: 0.5832 MB / 481.5 MB, free: 15.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.657e-05/0.2819, allocations: 12.78 kB / 481.5 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003154/0.2851, allocations: 0.7652 MB / 482.3 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.2853, allocations: 169.5 kB / 482.5 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.798e-05/0.2853, allocations: 232.6 kB / 482.7 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-05/0.2854, allocations: 27.19 kB / 482.7 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.2859, allocations: 0.6592 MB / 483.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2859, allocations: 0 / 483.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.2859, allocations: 9.688 kB / 483.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.2859, allocations: 14.34 kB / 483.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/0.2863, allocations: 373.5 kB / 483.8 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008726/0.2872, allocations: 1.307 MB / 485.1 MB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.2873, allocations: 103.6 kB / 485.2 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.2873, allocations: 45.95 kB / 485.2 MB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/0.2876, allocations: 372.1 kB / 485.6 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.2876, allocations: 33.75 kB / 485.6 MB, free: 13.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.052e-06/0.2876, allocations: 0 / 485.6 MB, free: 13.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004122/0.288, allocations: 231.5 kB / 485.8 MB, free: 13.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.643e-05/0.288, allocations: 56.69 kB / 485.9 MB, free: 13.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.246e-05/0.2881, allocations: 200.9 kB / 486.1 MB, free: 13.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.2881, allocations: 32.2 kB / 486.1 MB, free: 13.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.2882, allocations: 197.4 kB / 486.3 MB, free: 13.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.2882, allocations: 63.56 kB / 486.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.927e-05/0.2883, allocations: 84.66 kB / 486.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.345e-05/0.2883, allocations: 333.3 kB / 486.8 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.806e-05/0.2883, allocations: 40.17 kB / 486.8 MB, free: 12.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/0.2884, allocations: 235.2 kB / 487 MB, free: 12.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.2886, allocations: 331.1 kB / 487.4 MB, free: 12.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2886, allocations: 3.5 kB / 487.4 MB, free: 12.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002229/0.2888, allocations: 264.3 kB / 487.6 MB, free: 12.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.2888, allocations: 7.5 kB / 487.6 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.2888, allocations: 7.969 kB / 487.6 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2888, allocations: 13.19 kB / 487.7 MB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.289, allocations: 115.6 kB / 487.8 MB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001291/0.2892, allocations: 0.5928 MB / 488.4 MB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2893, allocations: 46.08 kB / 488.4 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.2893, allocations: 36.27 kB / 488.4 MB, free: 11.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 6.802e-05/0.2894, allocations: 146 kB / 488.6 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.2894, allocations: 19.08 kB / 488.6 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.2898, allocations: 379.4 kB / 489 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.2898, allocations: 3.938 kB / 489 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.2898, allocations: 0 / 489 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2898, allocations: 1.203 kB / 489 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.2901, allocations: 408.3 kB / 489.4 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2901, allocations: 2.938 kB / 489.4 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.09e-05/0.2902, allocations: 48.77 kB / 489.4 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2902, allocations: 2.75 kB / 489.4 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.2902, allocations: 5.031 kB / 489.4 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.633e-05/0.2903, allocations: 0.5882 MB / 490 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2903, allocations: 7.375 kB / 490 MB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.2904, allocations: 242.1 kB / 490.3 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.2904, allocations: 25.8 kB / 490.3 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.2905, allocations: 16.27 kB / 490.3 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.2906, allocations: 11.28 kB / 490.3 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.2906, allocations: 20.33 kB / 490.3 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.2906, allocations: 15.17 kB / 490.4 MB, free: 10.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.935e-05/0.2907, allocations: 55.5 kB / 490.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2907, allocations: 0 / 490.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003068/0.291, allocations: 157.6 kB / 490.6 MB, free: 10.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.0002602/0.2912, allocations: 231.2 kB / 490.8 MB, free: 10.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.2914, allocations: 183.1 kB / 491 MB, free: 10.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.2914, allocations: 10.84 kB / 491 MB, free: 10.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.317e-05/0.2915, allocations: 69.05 kB / 491 MB, free: 10.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.2918, allocations: 73.94 kB / 491.1 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008727/0.2926, allocations: 0.6798 MB / 491.8 MB, free: 9.914 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.888e-05/0.2927, allocations: 73.3 kB / 491.9 MB, free: 9.844 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003578/0.293, allocations: 383.6 kB / 492.2 MB, free: 9.789 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.2932, allocations: 154.6 kB / 492.4 MB, free: 9.734 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2932, allocations: 0 / 492.4 MB, free: 9.734 MB / 410.7 MB Notification: Performance of Templates: time 0.006264/0.2995, allocations: 6.139 MB / 498.5 MB, free: 7.723 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.369245063047856]