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.001515/0.001515, allocations: 77.97 kB / 21.42 MB, free: 3.078 MB / 18.57 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.001402/0.001402, allocations: 166.7 kB / 24.82 MB, free: 8.926 MB / 18.57 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.074/1.074, allocations: 177.1 MB / 205.3 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] 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.3061/0.3061, allocations: 32.81 MB / 294.6 MB, free: 1.25 MB / 266.7 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.[0-9,]+.|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.[0-9,]+.|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: Performance of FrontEnd - loaded program: time 3.567e-06/3.567e-06, allocations: 4 kB / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/3.072e-05, allocations: 2.312 kB / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3672/0.3672, allocations: 143.3 MB / 0.5077 GB, free: 20.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00501/0.3723, allocations: 5.173 MB / 0.5127 GB, free: 17.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.3724, allocations: 1.594 kB / 0.5127 GB, free: 17.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.3727, allocations: 58.39 kB / 0.5128 GB, free: 17.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003143/0.3759, allocations: 1.287 MB / 0.514 GB, free: 16.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.3761, allocations: 143.9 kB / 0.5142 GB, free: 16.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004515/0.3766, allocations: 417.3 kB / 0.5146 GB, free: 16.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.3766, allocations: 13.56 kB / 0.5146 GB, free: 16.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.3769, allocations: 235.8 kB / 0.5148 GB, free: 16.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.3771, allocations: 157.4 kB / 0.5149 GB, free: 16.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.3771, allocations: 9.094 kB / 0.515 GB, free: 16.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.3785, allocations: 0.9474 MB / 0.5159 GB, free: 15.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.631e-05/0.3785, allocations: 50.16 kB / 0.5159 GB, free: 15.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.732e-05/0.3786, allocations: 83.41 kB / 0.516 GB, free: 15.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.3797, allocations: 0.9284 MB / 0.5169 GB, free: 15.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3797, allocations: 4 kB / 0.5169 GB, free: 15.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3797, allocations: 0 / 0.5169 GB, free: 15.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.3797, allocations: 0 / 0.5169 GB, free: 15.4 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.0009058/0.3807, allocations: 0.7209 MB / 0.5176 GB, free: 14.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3807, allocations: 11.22 kB / 0.5176 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003403/0.3841, allocations: 0.6576 MB / 0.5183 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.3844, allocations: 205.3 kB / 0.5185 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.94e-05/0.3845, allocations: 227.5 kB / 0.5187 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-05/0.3845, allocations: 32.94 kB / 0.5187 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.3851, allocations: 0.6945 MB / 0.5194 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3851, allocations: 0 / 0.5194 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.794e-05/0.3851, allocations: 13.41 kB / 0.5194 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.3851, allocations: 7.578 kB / 0.5194 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004415/0.3856, allocations: 447.6 kB / 0.5198 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.3866, allocations: 1.793 MB / 0.5216 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.3868, allocations: 125.8 kB / 0.5217 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.893e-05/0.3868, allocations: 56.3 kB / 0.5218 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003065/0.3871, allocations: 460.5 kB / 0.5222 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.3872, allocations: 40.3 kB / 0.5222 GB, free: 11.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.874e-06/0.3872, allocations: 0 / 0.5222 GB, free: 11.78 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.0005132/0.3877, allocations: 275.9 kB / 0.5225 GB, free: 11.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.683e-05/0.3877, allocations: 58.12 kB / 0.5226 GB, free: 11.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/0.3878, allocations: 261.2 kB / 0.5228 GB, free: 11.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.3878, allocations: 32.11 kB / 0.5228 GB, free: 11.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.3879, allocations: 245.8 kB / 0.5231 GB, free: 11.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.3879, allocations: 64.64 kB / 0.5231 GB, free: 11.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.388, allocations: 103.8 kB / 0.5232 GB, free: 11.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.754e-05/0.388, allocations: 0.502 MB / 0.5237 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.748e-05/0.3881, allocations: 42.02 kB / 0.5238 GB, free: 10.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.3882, allocations: 330.5 kB / 0.5241 GB, free: 10.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.3884, allocations: 421.7 kB / 0.5245 GB, free: 9.746 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3884, allocations: 2.906 kB / 0.5245 GB, free: 9.746 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002918/0.3887, allocations: 339.2 kB / 0.5248 GB, free: 9.617 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3887, allocations: 9.062 kB / 0.5248 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.3887, allocations: 8.188 kB / 0.5248 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3887, allocations: 14.67 kB / 0.5248 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.3889, allocations: 132.1 kB / 0.525 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001762/0.3891, allocations: 0.9118 MB / 0.5259 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.3892, allocations: 41.23 kB / 0.5259 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.3892, allocations: 42.47 kB / 0.5259 GB, free: 8.66 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 7.751e-05/0.3893, allocations: 184.4 kB / 0.5261 GB, free: 8.477 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.3894, allocations: 23.19 kB / 0.5261 GB, free: 8.465 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004189/0.3898, allocations: 418.6 kB / 0.5265 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3898, allocations: 3.938 kB / 0.5265 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.3898, allocations: 6.156 kB / 0.5265 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3898, allocations: 2.531 kB / 0.5265 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.3902, allocations: 0.5007 MB / 0.527 GB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3902, allocations: 8.062 kB / 0.527 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.3903, allocations: 53.58 kB / 0.5271 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3903, allocations: 2.375 kB / 0.5271 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3903, allocations: 16.42 kB / 0.5271 GB, free: 7.902 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001715/0.3905, allocations: 0.907 MB / 0.528 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3905, allocations: 2.375 kB / 0.528 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.3906, allocations: 341.3 kB / 0.5283 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.3907, allocations: 37.41 kB / 0.5284 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.3907, allocations: 9.953 kB / 0.5284 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.3908, allocations: 15.94 kB / 0.5284 GB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.3909, allocations: 21.38 kB / 0.5284 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.3909, allocations: 17.53 kB / 0.5284 GB, free: 6.656 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.543e-05/0.3909, allocations: 171.1 kB / 0.5286 GB, free: 6.531 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3909, allocations: 4.031 kB / 0.5286 GB, free: 6.527 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004745/0.3914, allocations: 155.6 kB / 0.5287 GB, free: 6.496 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.0003771/0.3918, allocations: 247.9 kB / 0.529 GB, free: 6.363 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.3921, allocations: 213.7 kB / 0.5292 GB, free: 6.305 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3921, allocations: 0 / 0.5292 GB, free: 6.305 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.164e-05/0.3921, allocations: 70.41 kB / 0.5292 GB, free: 6.289 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.3925, allocations: 83.47 kB / 0.5293 GB, free: 6.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.3935, allocations: 0.702 MB / 0.53 GB, free: 5.816 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.286e-05/0.3936, allocations: 79.62 kB / 0.5301 GB, free: 5.742 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004084/0.394, allocations: 383 kB / 0.5305 GB, free: 5.684 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.3942, allocations: 188.8 kB / 0.5306 GB, free: 5.605 MB / 410.7 MB Notification: Performance of SimCode: time 1.282e-06/0.3942, allocations: 0 / 0.5306 GB, free: 5.605 MB / 410.7 MB Notification: Performance of Templates: time 0.008003/0.4022, allocations: 6.169 MB / 0.5367 GB, free: 3.957 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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_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: 3.961997881066054]