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.001261/0.001261, allocations: 91.5 kB / 21.19 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.001193/0.001193, allocations: 156.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 1.03/1.03, allocations: 177 MB / 204.8 MB, free: 5.242 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.3043/0.3043, allocations: 34.87 MB / 296.3 MB, free: 488 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 2.445e-06/2.445e-06, allocations: 0 / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/3.026e-05, allocations: 2.312 kB / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3268/0.3269, allocations: 146 MB / 0.5125 GB, free: 16.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003804/0.3307, allocations: 5.224 MB / 0.5176 GB, free: 13.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.3308, allocations: 10.5 kB / 0.5176 GB, free: 13.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.3311, allocations: 62.81 kB / 0.5177 GB, free: 13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.3339, allocations: 1.276 MB / 0.5189 GB, free: 12.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.3342, allocations: 149.6 kB / 0.5191 GB, free: 12.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.3347, allocations: 419.6 kB / 0.5195 GB, free: 12.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.762e-05/0.3347, allocations: 7.781 kB / 0.5195 GB, free: 12.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002796/0.335, allocations: 232.1 kB / 0.5197 GB, free: 11.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.3352, allocations: 161 kB / 0.5199 GB, free: 11.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.3353, allocations: 5.812 kB / 0.5199 GB, free: 11.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.3367, allocations: 0.9439 MB / 0.5208 GB, free: 11.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-05/0.3367, allocations: 53.45 kB / 0.5208 GB, free: 11.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.698e-05/0.3368, allocations: 92.47 kB / 0.5209 GB, free: 11.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.3381, allocations: 0.9204 MB / 0.5218 GB, free: 11.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3381, allocations: 0 / 0.5218 GB, free: 11.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3381, allocations: 0 / 0.5218 GB, free: 11.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3381, allocations: 0 / 0.5218 GB, free: 11.27 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.0009569/0.3391, allocations: 0.7236 MB / 0.5225 GB, free: 10.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3391, allocations: 12.62 kB / 0.5225 GB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003599/0.3427, allocations: 0.6617 MB / 0.5232 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/0.3433, allocations: 203.4 kB / 0.5234 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.3434, allocations: 229 kB / 0.5236 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.558e-05/0.3434, allocations: 25.16 kB / 0.5236 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007649/0.3442, allocations: 0.7388 MB / 0.5244 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3442, allocations: 3.938 kB / 0.5244 GB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.695e-05/0.3443, allocations: 10.5 kB / 0.5244 GB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.3443, allocations: 8.906 kB / 0.5244 GB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00061/0.3449, allocations: 0.5193 MB / 0.5249 GB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.3462, allocations: 1.812 MB / 0.5267 GB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.3464, allocations: 137.9 kB / 0.5268 GB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.96e-05/0.3465, allocations: 63.44 kB / 0.5268 GB, free: 8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003317/0.3468, allocations: 471.7 kB / 0.5273 GB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.3468, allocations: 36.55 kB / 0.5273 GB, free: 7.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.984e-06/0.3468, allocations: 0 / 0.5273 GB, free: 7.57 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.0006144/0.3474, allocations: 300.2 kB / 0.5276 GB, free: 7.484 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/0.3475, allocations: 53.97 kB / 0.5277 GB, free: 7.422 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.3476, allocations: 261.9 kB / 0.5279 GB, free: 7.215 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.3476, allocations: 33.64 kB / 0.5279 GB, free: 7.176 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.3477, allocations: 239.7 kB / 0.5282 GB, free: 6.957 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.3477, allocations: 66.98 kB / 0.5282 GB, free: 6.906 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.11e-05/0.3478, allocations: 104 kB / 0.5283 GB, free: 6.852 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.058e-05/0.3478, allocations: 0.502 MB / 0.5288 GB, free: 6.348 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.875e-05/0.3479, allocations: 51.47 kB / 0.5289 GB, free: 6.344 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.348, allocations: 337.7 kB / 0.5292 GB, free: 5.961 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.3482, allocations: 427.2 kB / 0.5296 GB, free: 5.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3483, allocations: 2.875 kB / 0.5296 GB, free: 5.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003479/0.3486, allocations: 367.4 kB / 0.53 GB, free: 5.379 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3486, allocations: 14 kB / 0.53 GB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3486, allocations: 8.406 kB / 0.53 GB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3486, allocations: 13 kB / 0.53 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.3489, allocations: 126.1 kB / 0.5301 GB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002209/0.3491, allocations: 0.9139 MB / 0.531 GB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.3492, allocations: 41.58 kB / 0.531 GB, free: 4.426 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/0.3493, allocations: 43.36 kB / 0.5311 GB, free: 4.422 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 8.383e-05/0.3494, allocations: 183.9 kB / 0.5313 GB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.3494, allocations: 23.31 kB / 0.5313 GB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004271/0.3498, allocations: 432.2 kB / 0.5317 GB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3498, allocations: 2.344 kB / 0.5317 GB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3498, allocations: 0 / 0.5317 GB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3499, allocations: 2.5 kB / 0.5317 GB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004306/0.3503, allocations: 0.5395 MB / 0.5322 GB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3503, allocations: 3.031 kB / 0.5322 GB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.3504, allocations: 60.39 kB / 0.5323 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3504, allocations: 2.688 kB / 0.5323 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.3504, allocations: 8.078 kB / 0.5323 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001465/0.3506, allocations: 0.9016 MB / 0.5332 GB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3506, allocations: 11.16 kB / 0.5332 GB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.3508, allocations: 358.3 kB / 0.5335 GB, free: 2.414 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/0.3508, allocations: 35 kB / 0.5336 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.3508, allocations: 9.391 kB / 0.5336 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.3509, allocations: 11.84 kB / 0.5336 GB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.351, allocations: 23.55 kB / 0.5336 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.351, allocations: 21.17 kB / 0.5336 GB, free: 2.379 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.375e-05/0.3511, allocations: 176.5 kB / 0.5338 GB, free: 2.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3511, allocations: 0 / 0.5338 GB, free: 2.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000471/0.3515, allocations: 158.3 kB / 0.5339 GB, free: 2.215 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.0003375/0.3519, allocations: 234.2 kB / 0.5342 GB, free: 2.094 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003015/0.3522, allocations: 217.1 kB / 0.5344 GB, free: 2.035 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3522, allocations: 0.5625 kB / 0.5344 GB, free: 2.035 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.932e-05/0.3523, allocations: 88.5 kB / 0.5345 GB, free: 2.008 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.3526, allocations: 72.5 kB / 0.5345 GB, free: 1.996 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.3538, allocations: 0.7033 MB / 0.5352 GB, free: 1.543 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.151e-05/0.3538, allocations: 76.83 kB / 0.5353 GB, free: 1.473 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004054/0.3542, allocations: 396.6 kB / 0.5357 GB, free: 1.402 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.3543, allocations: 63.27 kB / 0.5357 GB, free: 1.387 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3543, allocations: 0 / 0.5357 GB, free: 1.387 MB / 410.7 MB Notification: Performance of Templates: time 0.007854/0.3622, allocations: 6.101 MB / 0.5417 GB, free: 15.35 MB / 426.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.7342845229431987]