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.001569/0.001569, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 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.00185/0.00185, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.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.2135/0.2135, allocations: 44.91 MB / 359.6 MB, free: 6.285 MB / 286.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.002077/0.002077, allocations: 71.89 kB / 0.4944 GB, free: 10.17 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.305, allocations: 65.47 MB / 0.5583 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1826/0.4875, allocations: 153.5 MB / 0.7082 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006532/0.494, allocations: 5.178 MB / 0.7132 GB, free: 8.418 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.4942, allocations: 0 / 0.7132 GB, free: 8.418 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.4945, allocations: 63.58 kB / 0.7133 GB, free: 8.355 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.4976, allocations: 1.232 MB / 0.7145 GB, free: 7.125 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.498, allocations: 143.6 kB / 0.7146 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005752/0.4986, allocations: 394.2 kB / 0.715 GB, free: 6.602 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.543e-05/0.4986, allocations: 17.8 kB / 0.715 GB, free: 6.582 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002976/0.4989, allocations: 175.3 kB / 0.7152 GB, free: 6.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003117/0.4992, allocations: 175.4 kB / 0.7154 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.4993, allocations: 8 kB / 0.7154 GB, free: 6.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.5013, allocations: 1.057 MB / 0.7164 GB, free: 5.172 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.416e-05/0.5014, allocations: 47.77 kB / 0.7165 GB, free: 5.125 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.5015, allocations: 115.5 kB / 0.7166 GB, free: 5.012 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.5028, allocations: 0.8481 MB / 0.7174 GB, free: 4.164 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5028, allocations: 0 / 0.7174 GB, free: 4.164 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5028, allocations: 0 / 0.7174 GB, free: 4.164 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.5028, allocations: 0 / 0.7174 GB, free: 4.164 MB / 0.545 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.001349/0.5042, allocations: 0.6255 MB / 0.718 GB, free: 3.508 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.5042, allocations: 8.031 kB / 0.718 GB, free: 3.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007657/0.5119, allocations: 0.6054 MB / 0.7186 GB, free: 2.895 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005757/0.5124, allocations: 213.4 kB / 0.7188 GB, free: 2.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/0.5127, allocations: 230.1 kB / 0.719 GB, free: 2.383 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.962e-05/0.5128, allocations: 23.98 kB / 0.719 GB, free: 2.359 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.514, allocations: 0.5665 MB / 0.7196 GB, free: 1.762 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.514, allocations: 0 / 0.7196 GB, free: 1.762 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-05/0.5141, allocations: 16 kB / 0.7196 GB, free: 1.746 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.5141, allocations: 8 kB / 0.7196 GB, free: 1.738 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.5155, allocations: 0.6299 MB / 0.7202 GB, free: 1.105 MB / 0.545 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.002422/0.518, allocations: 1.583 MB / 0.7218 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.5183, allocations: 146.5 kB / 0.7219 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.5184, allocations: 68.83 kB / 0.722 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005793/0.519, allocations: 387.8 kB / 0.7224 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.5191, allocations: 34.5 kB / 0.7224 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.5191, allocations: 0 / 0.7224 GB, free: 14.74 MB / 0.5606 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.001033/0.5201, allocations: 326.9 kB / 0.7227 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.5202, allocations: 55.41 kB / 0.7228 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.5203, allocations: 187.1 kB / 0.7229 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.5204, allocations: 37.69 kB / 0.723 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.5205, allocations: 191.7 kB / 0.7232 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.767e-05/0.5206, allocations: 67.47 kB / 0.7232 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.5207, allocations: 94.02 kB / 0.7233 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5209, allocations: 330.8 kB / 0.7236 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.521, allocations: 64.7 kB / 0.7237 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.5213, allocations: 264 kB / 0.7239 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.5218, allocations: 370.2 kB / 0.7243 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.5218, allocations: 4 kB / 0.7243 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006306/0.5225, allocations: 375.9 kB / 0.7247 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5225, allocations: 8 kB / 0.7247 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.5225, allocations: 11.94 kB / 0.7247 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.5225, allocations: 8 kB / 0.7247 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.5229, allocations: 127.8 kB / 0.7248 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004181/0.5233, allocations: 0.6059 MB / 0.7254 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.5236, allocations: 35.73 kB / 0.7254 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.609e-05/0.5237, allocations: 47.98 kB / 0.7255 GB, free: 11.32 MB / 0.5606 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.0001515/0.5238, allocations: 145.6 kB / 0.7256 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.5239, allocations: 15.91 kB / 0.7256 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008278/0.5247, allocations: 433 kB / 0.726 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.5247, allocations: 4 kB / 0.726 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.5247, allocations: 0 / 0.726 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5247, allocations: 3.938 kB / 0.726 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008781/0.5256, allocations: 0.531 MB / 0.7266 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5256, allocations: 4 kB / 0.7266 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.5258, allocations: 55.91 kB / 0.7266 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.5258, allocations: 7.984 kB / 0.7266 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.5258, allocations: 11.94 kB / 0.7266 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003523/0.5262, allocations: 0.5899 MB / 0.7272 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5262, allocations: 4.031 kB / 0.7272 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.5266, allocations: 301.5 kB / 0.7275 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-05/0.5267, allocations: 35.88 kB / 0.7275 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.5267, allocations: 11.89 kB / 0.7276 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.527, allocations: 11.98 kB / 0.7276 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.527, allocations: 15.92 kB / 0.7276 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.527, allocations: 27.92 kB / 0.7276 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001249/0.5272, allocations: 132.2 kB / 0.7277 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5272, allocations: 4 kB / 0.7277 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006258/0.5278, allocations: 151.7 kB / 0.7279 GB, free: 8.695 MB / 0.5606 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.0004893/0.5283, allocations: 228.4 kB / 0.7281 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000555/0.5288, allocations: 221.3 kB / 0.7283 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5288, allocations: 0 / 0.7283 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.529, allocations: 79.83 kB / 0.7284 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.5296, allocations: 63.17 kB / 0.7284 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.531, allocations: 0.7415 MB / 0.7292 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.5314, allocations: 0.7285 MB / 0.7299 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.5316, allocations: 91.36 kB / 0.73 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.5316, allocations: 0 / 0.73 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of Templates: time 0.00858/0.5402, allocations: 5.362 MB / 0.7352 GB, free: 1.121 MB / 0.5606 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 -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: 9.014090063981712]