Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.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.001925/0.001925, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002179/0.002179, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2945/0.2945, allocations: 46.96 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.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_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_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 67.89 kB / 0.4974 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3409, allocations: 66.03 MB / 0.5619 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1768/0.5177, allocations: 132 MB / 0.6908 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006581/0.5243, allocations: 4.754 MB / 0.6954 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.5245, allocations: 8 kB / 0.6954 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.5249, allocations: 43.69 kB / 0.6954 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004566/0.5295, allocations: 1.329 MB / 0.6967 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.5299, allocations: 151.6 kB / 0.6969 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007293/0.5306, allocations: 402.1 kB / 0.6973 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.278e-05/0.5307, allocations: 13.8 kB / 0.6973 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003406/0.531, allocations: 175.3 kB / 0.6975 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003655/0.5314, allocations: 167.5 kB / 0.6976 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.5314, allocations: 11.94 kB / 0.6976 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/0.5344, allocations: 0.9671 MB / 0.6986 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.5345, allocations: 47.81 kB / 0.6986 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.5346, allocations: 95.58 kB / 0.6987 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.5365, allocations: 0.848 MB / 0.6995 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5366, allocations: 3.938 kB / 0.6995 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5366, allocations: 0 / 0.6995 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.5366, allocations: 0 / 0.6995 GB, free: 6.641 MB / 0.5294 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.001446/0.538, allocations: 0.6216 MB / 0.7001 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.5381, allocations: 8.031 kB / 0.7002 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007805/0.5459, allocations: 0.6132 MB / 0.7008 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008046/0.5467, allocations: 197.6 kB / 0.7009 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002423/0.5469, allocations: 230.1 kB / 0.7012 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.547, allocations: 24 kB / 0.7012 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.5484, allocations: 0.7422 MB / 0.7019 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.5484, allocations: 7.938 kB / 0.7019 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.646e-05/0.5485, allocations: 12 kB / 0.7019 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/0.5485, allocations: 11.98 kB / 0.7019 GB, free: 4 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.55, allocations: 0.6182 MB / 0.7025 GB, free: 3.379 MB / 0.5294 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.002284/0.5522, allocations: 1.409 MB / 0.7039 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.5526, allocations: 146.5 kB / 0.7041 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.5528, allocations: 68.88 kB / 0.7041 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.5539, allocations: 483 kB / 0.7046 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.5539, allocations: 38.56 kB / 0.7046 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 2.925e-06/0.5539, allocations: 0 / 0.7046 GB, free: 1.129 MB / 0.5294 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.001025/0.5549, allocations: 331.4 kB / 0.7049 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.555, allocations: 55.41 kB / 0.705 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.5552, allocations: 199 kB / 0.7052 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.5552, allocations: 25.7 kB / 0.7052 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.5553, allocations: 191.8 kB / 0.7054 GB, free: 320 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-05/0.5554, allocations: 75.38 kB / 0.7055 GB, free: 244 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.5555, allocations: 94 kB / 0.7055 GB, free: 144 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.5557, allocations: 330.8 kB / 0.7059 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.5558, allocations: 72.64 kB / 0.7059 GB, free: 15.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.5561, allocations: 264 kB / 0.7062 GB, free: 15.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004736/0.5566, allocations: 365.3 kB / 0.7065 GB, free: 14.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.5566, allocations: 4 kB / 0.7065 GB, free: 14.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006214/0.5572, allocations: 381.2 kB / 0.7069 GB, free: 14.55 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.5572, allocations: 8 kB / 0.7069 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.5573, allocations: 4 kB / 0.7069 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.5573, allocations: 12 kB / 0.7069 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.5577, allocations: 123.8 kB / 0.707 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004211/0.5581, allocations: 0.6093 MB / 0.7076 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.5584, allocations: 40.17 kB / 0.7077 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.015e-05/0.5584, allocations: 47.98 kB / 0.7077 GB, free: 13.69 MB / 0.545 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.0001547/0.5586, allocations: 143.3 kB / 0.7079 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.5586, allocations: 19.91 kB / 0.7079 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008415/0.5595, allocations: 459.2 kB / 0.7083 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.5595, allocations: 4 kB / 0.7083 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5595, allocations: 0 / 0.7083 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5595, allocations: 0 / 0.7083 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008724/0.5604, allocations: 0.501 MB / 0.7088 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5604, allocations: 0 / 0.7088 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.5606, allocations: 55.95 kB / 0.7089 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5606, allocations: 4 kB / 0.7089 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.5606, allocations: 12 kB / 0.7089 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003751/0.561, allocations: 0.6015 MB / 0.7095 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.561, allocations: 0 / 0.7095 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.5614, allocations: 313.6 kB / 0.7098 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-05/0.5615, allocations: 27.88 kB / 0.7098 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.5615, allocations: 4 kB / 0.7098 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.5618, allocations: 19.92 kB / 0.7098 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.5618, allocations: 15.92 kB / 0.7098 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.5618, allocations: 23.98 kB / 0.7098 GB, free: 11.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001347/0.562, allocations: 136 kB / 0.71 GB, free: 11.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.562, allocations: 0 / 0.71 GB, free: 11.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000729/0.5627, allocations: 175.5 kB / 0.7101 GB, free: 11.05 MB / 0.545 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.0005334/0.5632, allocations: 258.8 kB / 0.7104 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005566/0.5638, allocations: 220.1 kB / 0.7106 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.5638, allocations: 0 / 0.7106 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.564, allocations: 85.39 kB / 0.7107 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005709/0.5646, allocations: 72.22 kB / 0.7108 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.5663, allocations: 0.9075 MB / 0.7116 GB, free: 9.457 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.5664, allocations: 116.5 kB / 0.7118 GB, free: 9.324 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.5667, allocations: 83.36 kB / 0.7118 GB, free: 9.242 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.5667, allocations: 0 / 0.7118 GB, free: 9.242 MB / 0.545 GB Notification: Performance of Templates: time 0.009176/0.5759, allocations: 5.64 MB / 0.7173 GB, free: 3.605 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.923825938254595]