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.001494/0.001494, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001757/0.001757, allocations: 161 kB / 24.56 MB, free: 20 kB / 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.049/1.049, allocations: 177.2 MB / 205 MB, free: 5.289 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.3331/0.3331, allocations: 32.8 MB / 294.3 MB, free: 1.234 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 1.643e-06/1.643e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.014e-05, allocations: 5.688 kB / 376.1 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3187/0.3187, allocations: 146 MB / 0.5098 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004639/0.3234, allocations: 5.219 MB / 0.5149 GB, free: 15.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.3235, allocations: 2.938 kB / 0.5149 GB, free: 15.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.3238, allocations: 60.55 kB / 0.515 GB, free: 15.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.3265, allocations: 1.282 MB / 0.5163 GB, free: 14.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.3268, allocations: 149.4 kB / 0.5164 GB, free: 14.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004288/0.3272, allocations: 418.1 kB / 0.5168 GB, free: 14.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.3272, allocations: 13.58 kB / 0.5168 GB, free: 14.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.3275, allocations: 234.3 kB / 0.517 GB, free: 14.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.3277, allocations: 155.9 kB / 0.5172 GB, free: 14.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.3278, allocations: 8.562 kB / 0.5172 GB, free: 14.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.3292, allocations: 0.9458 MB / 0.5181 GB, free: 14.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.556e-05/0.3293, allocations: 45.59 kB / 0.5182 GB, free: 14.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.901e-05/0.3294, allocations: 90.56 kB / 0.5182 GB, free: 14.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.3306, allocations: 0.927 MB / 0.5191 GB, free: 13.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3306, allocations: 0 / 0.5191 GB, free: 13.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3306, allocations: 0 / 0.5191 GB, free: 13.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.3306, allocations: 0 / 0.5191 GB, free: 13.95 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.0009988/0.3316, allocations: 0.7176 MB / 0.5198 GB, free: 13.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3317, allocations: 10.61 kB / 0.5199 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003762/0.3354, allocations: 0.6654 MB / 0.5205 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.3358, allocations: 204 kB / 0.5207 GB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.3359, allocations: 226.2 kB / 0.5209 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.464e-05/0.336, allocations: 31.88 kB / 0.5209 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008752/0.3369, allocations: 0.7447 MB / 0.5217 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.3369, allocations: 0 / 0.5217 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-05/0.3369, allocations: 11.12 kB / 0.5217 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/0.337, allocations: 12.75 kB / 0.5217 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006701/0.3376, allocations: 0.5135 MB / 0.5222 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.3389, allocations: 1.814 MB / 0.524 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.3391, allocations: 145 kB / 0.5241 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.579e-05/0.3392, allocations: 61.8 kB / 0.5242 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003443/0.3395, allocations: 456.4 kB / 0.5246 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.3396, allocations: 42.62 kB / 0.5246 GB, free: 10.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.064e-06/0.3396, allocations: 3.938 kB / 0.5246 GB, free: 10.24 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.0006671/0.3402, allocations: 290.4 kB / 0.5249 GB, free: 10.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/0.3402, allocations: 58.12 kB / 0.525 GB, free: 10.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.3404, allocations: 263.4 kB / 0.5252 GB, free: 9.887 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3404, allocations: 35.2 kB / 0.5253 GB, free: 9.852 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.3405, allocations: 241.1 kB / 0.5255 GB, free: 9.629 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.3405, allocations: 63.7 kB / 0.5256 GB, free: 9.582 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.009e-05/0.3406, allocations: 102.6 kB / 0.5257 GB, free: 9.527 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.3406, allocations: 0.5049 MB / 0.5261 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.012e-05/0.3407, allocations: 48.14 kB / 0.5262 GB, free: 9.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.3409, allocations: 339.6 kB / 0.5265 GB, free: 8.637 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.3411, allocations: 431.7 kB / 0.5269 GB, free: 8.191 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3411, allocations: 3.406 kB / 0.5269 GB, free: 8.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003811/0.3415, allocations: 366.7 kB / 0.5273 GB, free: 8.051 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3415, allocations: 8.469 kB / 0.5273 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3415, allocations: 8.062 kB / 0.5273 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.3416, allocations: 11.62 kB / 0.5273 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.3418, allocations: 126.3 kB / 0.5274 GB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002143/0.342, allocations: 0.9171 MB / 0.5283 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.3422, allocations: 42.55 kB / 0.5284 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.3422, allocations: 44.73 kB / 0.5284 GB, free: 7.094 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.656e-05/0.3423, allocations: 181.3 kB / 0.5286 GB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.3424, allocations: 28.86 kB / 0.5286 GB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004678/0.3428, allocations: 431.4 kB / 0.529 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3428, allocations: 2.484 kB / 0.529 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3428, allocations: 0 / 0.529 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3428, allocations: 0 / 0.529 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004476/0.3433, allocations: 0.5423 MB / 0.5296 GB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3433, allocations: 2.656 kB / 0.5296 GB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.3434, allocations: 59.47 kB / 0.5296 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3434, allocations: 3.938 kB / 0.5296 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3434, allocations: 8.094 kB / 0.5296 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001473/0.3436, allocations: 0.9045 MB / 0.5305 GB, free: 5.402 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3436, allocations: 3.938 kB / 0.5305 GB, free: 5.398 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.3438, allocations: 361.3 kB / 0.5309 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.3438, allocations: 32.22 kB / 0.5309 GB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.3438, allocations: 9.141 kB / 0.5309 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.344, allocations: 12.22 kB / 0.5309 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.344, allocations: 19.8 kB / 0.5309 GB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.344, allocations: 24.64 kB / 0.5309 GB, free: 5.055 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.686e-05/0.3441, allocations: 172.6 kB / 0.5311 GB, free: 4.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3441, allocations: 0 / 0.5311 GB, free: 4.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004833/0.3446, allocations: 150.5 kB / 0.5313 GB, free: 4.902 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.0003526/0.3449, allocations: 249.3 kB / 0.5315 GB, free: 4.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.3452, allocations: 217.1 kB / 0.5317 GB, free: 4.711 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3452, allocations: 2.844 kB / 0.5317 GB, free: 4.711 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.59e-05/0.3453, allocations: 85.17 kB / 0.5318 GB, free: 4.684 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.3457, allocations: 73.53 kB / 0.5319 GB, free: 4.672 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.3469, allocations: 0.7118 MB / 0.5325 GB, free: 4.207 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.275e-05/0.347, allocations: 74.06 kB / 0.5326 GB, free: 4.137 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004963/0.3475, allocations: 386.3 kB / 0.533 GB, free: 4.078 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.3476, allocations: 58.53 kB / 0.533 GB, free: 4.066 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/0.3476, allocations: 0 / 0.533 GB, free: 4.066 MB / 410.7 MB Notification: Performance of Templates: time 0.007064/0.3547, allocations: 5.269 MB / 0.5382 GB, free: 2.762 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: 4.029745107050985]