Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002186/0.002186, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1997/0.1997, allocations: 32.8 MB / 294.1 MB, free: 40 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003456/0.003456, allocations: 68.17 kB / 440.6 MB, free: 9.438 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3708, allocations: 65.45 MB / 0.4942 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.161/0.5319, allocations: 132 MB / 0.6231 GB, free: 4.625 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.006583/0.5384, allocations: 4.618 MB / 0.6276 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.5386, allocations: 4 kB / 0.6276 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.5389, allocations: 51.59 kB / 0.6276 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003783/0.5427, allocations: 1.224 MB / 0.6288 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.5431, allocations: 144.1 kB / 0.629 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006052/0.5437, allocations: 406 kB / 0.6294 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.113e-05/0.5437, allocations: 5.812 kB / 0.6294 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002923/0.544, allocations: 175.4 kB / 0.6295 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000433/0.5445, allocations: 179.4 kB / 0.6297 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.5445, allocations: 8 kB / 0.6297 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.5464, allocations: 0.9323 MB / 0.6306 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.916e-05/0.5465, allocations: 47.88 kB / 0.6307 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.5466, allocations: 91.58 kB / 0.6308 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.5481, allocations: 0.8452 MB / 0.6316 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5481, allocations: 0 / 0.6316 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5481, allocations: 0 / 0.6316 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.5481, allocations: 0 / 0.6316 GB, free: 11.9 MB / 0.5294 GB 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.001323/0.5495, allocations: 0.6177 MB / 0.6322 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.5495, allocations: 12.03 kB / 0.6322 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008494/0.558, allocations: 0.6332 MB / 0.6328 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005964/0.5586, allocations: 225.4 kB / 0.633 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/0.5589, allocations: 226.1 kB / 0.6332 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.559, allocations: 20 kB / 0.6333 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.5604, allocations: 0.7384 MB / 0.634 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5604, allocations: 0 / 0.634 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.67e-05/0.5604, allocations: 12 kB / 0.634 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.5605, allocations: 8 kB / 0.634 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.5621, allocations: 0.6223 MB / 0.6346 GB, free: 8.613 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.5643, allocations: 1.413 MB / 0.636 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.5647, allocations: 146.5 kB / 0.6361 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.5649, allocations: 76.77 kB / 0.6362 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005879/0.5654, allocations: 376 kB / 0.6366 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.5655, allocations: 30.56 kB / 0.6366 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.5655, allocations: 0 / 0.6366 GB, free: 6.465 MB / 0.5294 GB 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.001097/0.5666, allocations: 331 kB / 0.6369 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/0.5667, allocations: 59.33 kB / 0.637 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.5669, allocations: 203 kB / 0.6372 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.5669, allocations: 33.64 kB / 0.6372 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.5671, allocations: 195.7 kB / 0.6374 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.973e-05/0.5671, allocations: 63.48 kB / 0.6374 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.5673, allocations: 102 kB / 0.6375 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.5674, allocations: 326.8 kB / 0.6379 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.5676, allocations: 64.7 kB / 0.6379 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.5679, allocations: 264 kB / 0.6382 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006038/0.5685, allocations: 366.2 kB / 0.6385 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.5685, allocations: 4 kB / 0.6385 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006838/0.5692, allocations: 369.6 kB / 0.6389 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.5692, allocations: 8 kB / 0.6389 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.5693, allocations: 12.09 kB / 0.6389 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.5693, allocations: 11.94 kB / 0.6389 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.5697, allocations: 135.8 kB / 0.639 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004479/0.5702, allocations: 0.5977 MB / 0.6396 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.5704, allocations: 39.73 kB / 0.6397 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.375e-05/0.5705, allocations: 40 kB / 0.6397 GB, free: 3.031 MB / 0.5294 GB 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 0.0001709/0.5707, allocations: 150.2 kB / 0.6398 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.624e-05/0.5707, allocations: 23.86 kB / 0.6399 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008771/0.5716, allocations: 429.7 kB / 0.6403 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.5716, allocations: 4 kB / 0.6403 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5716, allocations: 0 / 0.6403 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5716, allocations: 0 / 0.6403 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009203/0.5725, allocations: 496.2 kB / 0.6407 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.5726, allocations: 4.219 kB / 0.6407 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.5728, allocations: 59.91 kB / 0.6408 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.5728, allocations: 4 kB / 0.6408 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.5728, allocations: 11.98 kB / 0.6408 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004196/0.5732, allocations: 0.5937 MB / 0.6414 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.5732, allocations: 8.109 kB / 0.6414 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.5737, allocations: 300.8 kB / 0.6417 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.564e-05/0.5738, allocations: 35.77 kB / 0.6417 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.5738, allocations: 11.98 kB / 0.6417 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.5741, allocations: 8.094 kB / 0.6417 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.5741, allocations: 23.91 kB / 0.6418 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.5741, allocations: 19.98 kB / 0.6418 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001395/0.5743, allocations: 139.6 kB / 0.6419 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5743, allocations: 0 / 0.6419 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000665/0.5749, allocations: 151.7 kB / 0.6421 GB, free: 472 kB / 0.5294 GB 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.0004823/0.5754, allocations: 226.8 kB / 0.6423 GB, free: 236 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000534/0.576, allocations: 223.7 kB / 0.6425 GB, free: 12 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.576, allocations: 0 / 0.6425 GB, free: 12 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.5762, allocations: 81.52 kB / 0.6426 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005414/0.5767, allocations: 60.84 kB / 0.6426 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.5782, allocations: 0.7126 MB / 0.6433 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.5783, allocations: 120.5 kB / 0.6434 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007186/0.579, allocations: 386.2 kB / 0.6438 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.5792, allocations: 64.44 kB / 0.6439 GB, free: 14.54 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.5792, allocations: 0 / 0.6439 GB, free: 14.54 MB / 0.545 GB Notification: Performance of Templates: time 0.01105/0.5902, allocations: 5.247 MB / 0.649 GB, free: 9.363 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6311084339395165]