Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.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.001674/0.001674, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 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.002309/0.002309, allocations: 205.6 kB / 24.46 MB, free: 4.023 MB / 14.72 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.443/1.443, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.23/0.23, allocations: 46.9 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CO2,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.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,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.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 75.88 kB / 0.4968 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2837, allocations: 65.99 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1851/0.4688, allocations: 153.5 MB / 0.7111 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006525/0.4753, allocations: 5.345 MB / 0.7164 GB, free: 5.543 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.4755, allocations: 0 / 0.7164 GB, free: 5.543 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.4757, allocations: 47.67 kB / 0.7164 GB, free: 5.496 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003351/0.4791, allocations: 1.339 MB / 0.7177 GB, free: 4.156 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.4795, allocations: 143.2 kB / 0.7178 GB, free: 4.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006107/0.4801, allocations: 402.1 kB / 0.7182 GB, free: 3.625 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.4801, allocations: 9.672 kB / 0.7182 GB, free: 3.617 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.4804, allocations: 171.4 kB / 0.7184 GB, free: 3.449 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.4808, allocations: 183.3 kB / 0.7186 GB, free: 3.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.4808, allocations: 8 kB / 0.7186 GB, free: 3.262 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.483, allocations: 1.107 MB / 0.7197 GB, free: 2.152 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.954e-05/0.4831, allocations: 47.81 kB / 0.7197 GB, free: 2.105 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.4832, allocations: 107.5 kB / 0.7198 GB, free: 2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.4848, allocations: 0.8649 MB / 0.7207 GB, free: 1.133 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4848, allocations: 4 kB / 0.7207 GB, free: 1.129 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4848, allocations: 0 / 0.7207 GB, free: 1.129 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.4848, allocations: 0 / 0.7207 GB, free: 1.129 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.001507/0.4863, allocations: 0.693 MB / 0.7213 GB, free: 396 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.4863, allocations: 12.03 kB / 0.7213 GB, free: 384 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008733/0.4951, allocations: 0.6093 MB / 0.7219 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006518/0.4957, allocations: 267.4 kB / 0.7222 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.4959, allocations: 123.4 kB / 0.7223 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.496, allocations: 24 kB / 0.7223 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.4974, allocations: 0.5633 MB / 0.7229 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.4974, allocations: 0 / 0.7229 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.309e-05/0.4975, allocations: 8 kB / 0.7229 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/0.4975, allocations: 11.98 kB / 0.7229 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.4991, allocations: 0.6299 MB / 0.7235 GB, free: 14.05 MB / 0.5606 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.002576/0.5016, allocations: 1.726 MB / 0.7252 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.502, allocations: 146 kB / 0.7253 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.5022, allocations: 68.88 kB / 0.7254 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001745/0.5039, allocations: 1.487 MB / 0.7269 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.5039, allocations: 34.56 kB / 0.7269 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.5039, allocations: 0 / 0.7269 GB, free: 10.16 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=19): time 0.001071/0.505, allocations: 325 kB / 0.7272 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.5051, allocations: 55.41 kB / 0.7273 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.5053, allocations: 186.5 kB / 0.7274 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.5053, allocations: 29.7 kB / 0.7275 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.5054, allocations: 191.8 kB / 0.7276 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.544e-05/0.5055, allocations: 75.42 kB / 0.7277 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.5056, allocations: 90.02 kB / 0.7278 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.5058, allocations: 330.8 kB / 0.7281 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.5059, allocations: 68.7 kB / 0.7282 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.5062, allocations: 260 kB / 0.7284 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005196/0.5068, allocations: 368.7 kB / 0.7288 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.5068, allocations: 4 kB / 0.7288 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006902/0.5075, allocations: 373.3 kB / 0.7291 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.5075, allocations: 8 kB / 0.7292 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.5075, allocations: 7.984 kB / 0.7292 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.5075, allocations: 12 kB / 0.7292 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.5079, allocations: 123.8 kB / 0.7293 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000452/0.5084, allocations: 0.6059 MB / 0.7299 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.5087, allocations: 47.69 kB / 0.7299 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.5087, allocations: 39.98 kB / 0.73 GB, free: 6.742 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.0001629/0.5089, allocations: 145.6 kB / 0.7301 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.316e-05/0.509, allocations: 23.84 kB / 0.7301 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008981/0.5099, allocations: 456.1 kB / 0.7306 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5099, allocations: 0 / 0.7306 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5099, allocations: 0 / 0.7306 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.5099, allocations: 7.984 kB / 0.7306 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.5109, allocations: 0.6352 MB / 0.7312 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5109, allocations: 4.25 kB / 0.7312 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.5111, allocations: 63.91 kB / 0.7313 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5111, allocations: 4 kB / 0.7313 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.5111, allocations: 8 kB / 0.7313 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000388/0.5115, allocations: 0.5977 MB / 0.7319 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.5115, allocations: 3.938 kB / 0.7319 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.5119, allocations: 313.5 kB / 0.7322 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.5121, allocations: 104.9 kB / 0.7323 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.5121, allocations: 7.938 kB / 0.7323 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.5124, allocations: 15.98 kB / 0.7323 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.5124, allocations: 19.92 kB / 0.7323 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.5125, allocations: 19.98 kB / 0.7323 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001394/0.5126, allocations: 138.7 kB / 0.7324 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5126, allocations: 4 kB / 0.7325 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006882/0.5133, allocations: 171.6 kB / 0.7326 GB, free: 3.812 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.0007063/0.514, allocations: 287.7 kB / 0.7329 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005459/0.5146, allocations: 205.3 kB / 0.7331 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.5146, allocations: 8.125 kB / 0.7331 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.5148, allocations: 75.83 kB / 0.7332 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.5154, allocations: 82.81 kB / 0.7332 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.5172, allocations: 0.8927 MB / 0.7341 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.5175, allocations: 0.7245 MB / 0.7348 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006777/0.5182, allocations: 383.3 kB / 0.7352 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.5184, allocations: 59.39 kB / 0.7352 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.5184, allocations: 0 / 0.7352 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of Templates: time 0.23/0.7484, allocations: 5.86 MB / 0.741 GB, free: 174.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.686847171280533]