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.007042/0.007042, allocations: 106.6 kB / 21.98 MB, free: 5.219 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.001708/0.001708, allocations: 212.4 kB / 25.29 MB, free: 3.203 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.466/1.466, allocations: 230.5 MB / 258.9 MB, free: 8.023 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.2404/0.2404, allocations: 46.93 MB / 362.3 MB, free: 4.184 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.002701/0.002701, allocations: 83.88 kB / 0.4982 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3272, allocations: 66.08 MB / 0.5628 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1938/0.5209, allocations: 153.5 MB / 0.7127 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006514/0.5274, allocations: 5.349 MB / 0.7179 GB, free: 4.742 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.5276, allocations: 0 / 0.7179 GB, free: 4.742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.5279, allocations: 47.67 kB / 0.7179 GB, free: 4.695 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003585/0.5314, allocations: 1.348 MB / 0.7193 GB, free: 3.344 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.5318, allocations: 146.5 kB / 0.7194 GB, free: 3.207 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006542/0.5324, allocations: 398.1 kB / 0.7198 GB, free: 2.816 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.446e-05/0.5325, allocations: 17.72 kB / 0.7198 GB, free: 2.797 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.5328, allocations: 175.3 kB / 0.72 GB, free: 2.625 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.5331, allocations: 179.5 kB / 0.7201 GB, free: 2.449 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.5331, allocations: 11.94 kB / 0.7202 GB, free: 2.438 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.5354, allocations: 1.115 MB / 0.7212 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.88e-05/0.5355, allocations: 43.81 kB / 0.7213 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.5356, allocations: 111.5 kB / 0.7214 GB, free: 1.168 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.537, allocations: 0.8597 MB / 0.7222 GB, free: 316 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.537, allocations: 7.984 kB / 0.7222 GB, free: 308 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.537, allocations: 0 / 0.7222 GB, free: 308 kB / 0.545 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.537, allocations: 0 / 0.7222 GB, free: 308 kB / 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.001342/0.5384, allocations: 0.6216 MB / 0.7228 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.5384, allocations: 8.031 kB / 0.7229 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007474/0.5459, allocations: 0.6015 MB / 0.7234 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.5464, allocations: 209.6 kB / 0.7236 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.5466, allocations: 127.2 kB / 0.7238 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.276e-05/0.5467, allocations: 24 kB / 0.7238 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.5479, allocations: 0.5665 MB / 0.7243 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.548, allocations: 0 / 0.7243 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-05/0.548, allocations: 12 kB / 0.7243 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.5481, allocations: 8 kB / 0.7244 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.5496, allocations: 0.6299 MB / 0.725 GB, free: 13.38 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.002631/0.5522, allocations: 1.586 MB / 0.7265 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.5527, allocations: 146.5 kB / 0.7267 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.5528, allocations: 68.88 kB / 0.7267 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/0.554, allocations: 498.9 kB / 0.7272 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.5541, allocations: 34.55 kB / 0.7272 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.954e-06/0.5541, allocations: 0 / 0.7272 GB, free: 10.91 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.001076/0.5551, allocations: 331.9 kB / 0.7276 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.5552, allocations: 51.41 kB / 0.7276 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.5554, allocations: 186.6 kB / 0.7278 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.5554, allocations: 29.7 kB / 0.7278 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.5556, allocations: 187.8 kB / 0.728 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.022e-05/0.5557, allocations: 75.36 kB / 0.7281 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.5558, allocations: 98 kB / 0.7281 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.556, allocations: 326.8 kB / 0.7285 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.5561, allocations: 68.7 kB / 0.7285 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.5564, allocations: 264 kB / 0.7288 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.5569, allocations: 370.2 kB / 0.7291 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-06/0.5569, allocations: 4 kB / 0.7291 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006561/0.5576, allocations: 376.2 kB / 0.7295 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.5576, allocations: 10.03 kB / 0.7295 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.5576, allocations: 4 kB / 0.7295 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.5577, allocations: 12 kB / 0.7295 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/0.5581, allocations: 127.8 kB / 0.7296 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004529/0.5585, allocations: 0.6018 MB / 0.7302 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.5588, allocations: 47.78 kB / 0.7303 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/0.5588, allocations: 43.98 kB / 0.7303 GB, free: 7.48 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.0001647/0.559, allocations: 145.7 kB / 0.7305 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.5591, allocations: 19.84 kB / 0.7305 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000926/0.56, allocations: 467.2 kB / 0.7309 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.56, allocations: 0 / 0.7309 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.56, allocations: 0 / 0.7309 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.56, allocations: 0 / 0.7309 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009072/0.5609, allocations: 0.5356 MB / 0.7314 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.5609, allocations: 4 kB / 0.7314 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.5611, allocations: 60.14 kB / 0.7315 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.5612, allocations: 8 kB / 0.7315 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.5612, allocations: 8 kB / 0.7315 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003953/0.5616, allocations: 0.5977 MB / 0.7321 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.5616, allocations: 7.938 kB / 0.7321 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.562, allocations: 294.3 kB / 0.7324 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.484e-05/0.5621, allocations: 35.88 kB / 0.7324 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.5621, allocations: 7.938 kB / 0.7324 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.5624, allocations: 11.98 kB / 0.7324 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.5624, allocations: 11.98 kB / 0.7325 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.773e-05/0.5624, allocations: 23.98 kB / 0.7325 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001321/0.5626, allocations: 139.4 kB / 0.7326 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5626, allocations: 0 / 0.7326 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006809/0.5632, allocations: 171.6 kB / 0.7328 GB, free: 4.793 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.0005274/0.5638, allocations: 266.7 kB / 0.733 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005569/0.5643, allocations: 224.1 kB / 0.7332 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5643, allocations: 3.938 kB / 0.7332 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/0.5645, allocations: 76.33 kB / 0.7333 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.5651, allocations: 80.16 kB / 0.7334 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.5669, allocations: 0.9036 MB / 0.7343 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.5673, allocations: 0.7323 MB / 0.735 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.5675, allocations: 83.36 kB / 0.7351 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/0.5675, allocations: 0 / 0.7351 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of Templates: time 0.2421/0.8097, allocations: 5.559 MB / 0.7405 GB, free: 174.1 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 9.01692619919777]