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.001608/0.001608, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001971/0.001971, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.588/1.588, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2385/0.2385, allocations: 46.9 MB / 361.1 MB, free: 4.637 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.002312/0.002312, allocations: 75.88 kB / 0.4968 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3726, allocations: 65.99 MB / 0.5612 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2147/0.5873, allocations: 153.5 MB / 0.7111 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007402/0.5947, allocations: 5.357 MB / 0.7164 GB, free: 5.527 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.5949, allocations: 4 kB / 0.7164 GB, free: 5.523 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.5952, allocations: 47.67 kB / 0.7164 GB, free: 5.477 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003666/0.5989, allocations: 1.328 MB / 0.7177 GB, free: 4.145 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.5992, allocations: 146.6 kB / 0.7178 GB, free: 4.008 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006635/0.5999, allocations: 402.1 kB / 0.7182 GB, free: 3.613 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.597e-05/0.6, allocations: 13.67 kB / 0.7182 GB, free: 3.602 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.6003, allocations: 171.4 kB / 0.7184 GB, free: 3.434 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000358/0.6007, allocations: 175.4 kB / 0.7186 GB, free: 3.262 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.6007, allocations: 8 kB / 0.7186 GB, free: 3.254 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.603, allocations: 1.119 MB / 0.7197 GB, free: 2.133 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.293e-05/0.6031, allocations: 47.81 kB / 0.7197 GB, free: 2.086 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.6032, allocations: 111.5 kB / 0.7198 GB, free: 1.977 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.6049, allocations: 0.8571 MB / 0.7207 GB, free: 1.117 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6049, allocations: 0 / 0.7207 GB, free: 1.117 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6049, allocations: 0 / 0.7207 GB, free: 1.117 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.605, allocations: 0 / 0.7207 GB, free: 1.117 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.001479/0.6064, allocations: 0.697 MB / 0.7213 GB, free: 380 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.6065, allocations: 12.03 kB / 0.7214 GB, free: 368 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008118/0.6146, allocations: 0.6015 MB / 0.7219 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005689/0.6152, allocations: 275.4 kB / 0.7222 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.6153, allocations: 123.4 kB / 0.7223 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.6154, allocations: 20 kB / 0.7223 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.6167, allocations: 0.5672 MB / 0.7229 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.6167, allocations: 0 / 0.7229 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-05/0.6168, allocations: 15.98 kB / 0.7229 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.6168, allocations: 4 kB / 0.7229 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.6183, allocations: 0.6299 MB / 0.7235 GB, free: 14.03 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.00246/0.6207, allocations: 1.722 MB / 0.7252 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.6211, allocations: 146.5 kB / 0.7254 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.6213, allocations: 72.88 kB / 0.7254 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/0.623, allocations: 1.479 MB / 0.7269 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.623, allocations: 34.56 kB / 0.7269 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.623, allocations: 0 / 0.7269 GB, free: 10.15 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.0009901/0.624, allocations: 331.1 kB / 0.7272 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.624, allocations: 55.41 kB / 0.7273 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.6242, allocations: 182.5 kB / 0.7274 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.6243, allocations: 33.69 kB / 0.7275 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.6244, allocations: 195.8 kB / 0.7277 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.607e-05/0.6245, allocations: 67.42 kB / 0.7277 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.6246, allocations: 94.02 kB / 0.7278 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.6248, allocations: 326.8 kB / 0.7281 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.6249, allocations: 64.7 kB / 0.7282 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.6253, allocations: 264 kB / 0.7284 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005245/0.6258, allocations: 373 kB / 0.7288 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.6258, allocations: 0 / 0.7288 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006854/0.6265, allocations: 369.1 kB / 0.7291 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.6265, allocations: 11.94 kB / 0.7292 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.6265, allocations: 8 kB / 0.7292 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.6265, allocations: 11.94 kB / 0.7292 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/0.6269, allocations: 128.4 kB / 0.7293 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004403/0.6274, allocations: 0.6055 MB / 0.7299 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.6276, allocations: 43.69 kB / 0.7299 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/0.6277, allocations: 39.98 kB / 0.73 GB, free: 6.73 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.0001655/0.6279, allocations: 149.6 kB / 0.7301 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-05/0.6279, allocations: 19.84 kB / 0.7301 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008547/0.6288, allocations: 452.2 kB / 0.7306 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6288, allocations: 8 kB / 0.7306 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6288, allocations: 0 / 0.7306 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.6288, allocations: 7.922 kB / 0.7306 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009345/0.6297, allocations: 0.6392 MB / 0.7312 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.6297, allocations: 4 kB / 0.7312 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.63, allocations: 55.91 kB / 0.7313 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.63, allocations: 4 kB / 0.7313 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.63, allocations: 11.98 kB / 0.7313 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00039/0.6304, allocations: 0.5937 MB / 0.7319 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.6304, allocations: 8.266 kB / 0.7319 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/0.6308, allocations: 306.2 kB / 0.7322 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.6309, allocations: 108.9 kB / 0.7323 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.186e-05/0.631, allocations: 11.92 kB / 0.7323 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.6312, allocations: 11.94 kB / 0.7323 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.6313, allocations: 15.98 kB / 0.7323 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.6313, allocations: 19.98 kB / 0.7323 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001373/0.6314, allocations: 142.7 kB / 0.7325 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6314, allocations: 0 / 0.7325 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006483/0.6321, allocations: 167.6 kB / 0.7326 GB, free: 3.805 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.0006905/0.6328, allocations: 281.8 kB / 0.7329 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005444/0.6333, allocations: 221.3 kB / 0.7331 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6333, allocations: 0 / 0.7331 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.6335, allocations: 79.83 kB / 0.7332 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.6341, allocations: 84.58 kB / 0.7332 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.636, allocations: 0.8842 MB / 0.7341 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.6364, allocations: 0.7284 MB / 0.7348 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006773/0.6371, allocations: 379.2 kB / 0.7352 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.6373, allocations: 59.39 kB / 0.7352 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.6373, allocations: 0 / 0.7352 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of Templates: time 0.2703/0.9076, allocations: 5.867 MB / 0.741 GB, free: 174.3 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 cvode -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: 6.221223934087902]