Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.002061/0.002061, allocations: 103.5 kB / 20.97 MB, free: 3.449 MB / 18.57 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.002109/0.002109, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 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.589/1.589, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3781/0.3781, allocations: 34.25 MB / 295.2 MB, free: 0.625 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.594e-05/3.805e-05, allocations: 6.25 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4/0.4001, allocations: 145.7 MB / 0.5107 GB, free: 17.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005137/0.4052, allocations: 5.381 MB / 0.516 GB, free: 13.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.4054, allocations: 0 / 0.516 GB, free: 13.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.4057, allocations: 55.08 kB / 0.516 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.4091, allocations: 1.355 MB / 0.5173 GB, free: 12.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.4095, allocations: 150.2 kB / 0.5175 GB, free: 12.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004941/0.41, allocations: 404.8 kB / 0.5179 GB, free: 12.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.41, allocations: 10.5 kB / 0.5179 GB, free: 12.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003665/0.4104, allocations: 230.6 kB / 0.5181 GB, free: 12.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.4107, allocations: 157.9 kB / 0.5182 GB, free: 12.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.4107, allocations: 8.375 kB / 0.5183 GB, free: 12.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.4127, allocations: 0.9718 MB / 0.5192 GB, free: 12.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.958e-05/0.4128, allocations: 44.92 kB / 0.5192 GB, free: 12.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.4129, allocations: 87.19 kB / 0.5193 GB, free: 12.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.4146, allocations: 0.9519 MB / 0.5203 GB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4146, allocations: 0 / 0.5203 GB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4146, allocations: 0 / 0.5203 GB, free: 11.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.4146, allocations: 0 / 0.5203 GB, free: 11.87 MB / 410.7 MB 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.001306/0.416, allocations: 0.7192 MB / 0.521 GB, free: 11.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.416, allocations: 22.08 kB / 0.521 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007586/0.4236, allocations: 0.659 MB / 0.5216 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/0.4241, allocations: 209.4 kB / 0.5218 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.4242, allocations: 226.1 kB / 0.522 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.4243, allocations: 31.53 kB / 0.5221 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.4254, allocations: 0.8188 MB / 0.5229 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.4254, allocations: 3.938 kB / 0.5229 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.499e-05/0.4255, allocations: 11.5 kB / 0.5229 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.4255, allocations: 8.25 kB / 0.5229 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.4266, allocations: 0.6586 MB / 0.5235 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.4285, allocations: 1.838 MB / 0.5253 GB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.4288, allocations: 163.4 kB / 0.5255 GB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.4289, allocations: 73.39 kB / 0.5256 GB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.43, allocations: 0.5236 MB / 0.5261 GB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.43, allocations: 43.11 kB / 0.5261 GB, free: 8.125 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.743e-06/0.43, allocations: 4 kB / 0.5261 GB, free: 8.121 MB / 410.7 MB 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.0009739/0.431, allocations: 344.1 kB / 0.5264 GB, free: 8.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/0.431, allocations: 54.38 kB / 0.5265 GB, free: 7.957 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.4312, allocations: 258.6 kB / 0.5267 GB, free: 7.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.4312, allocations: 37.64 kB / 0.5268 GB, free: 7.707 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.4312, allocations: 242.4 kB / 0.527 GB, free: 7.488 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.4313, allocations: 67.06 kB / 0.5271 GB, free: 7.438 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.4314, allocations: 99.88 kB / 0.5272 GB, free: 7.383 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.428e-05/0.4315, allocations: 0.4984 MB / 0.5277 GB, free: 6.883 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.4316, allocations: 65.83 kB / 0.5277 GB, free: 6.871 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.4318, allocations: 353.8 kB / 0.5281 GB, free: 6.477 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.4322, allocations: 459 kB / 0.5285 GB, free: 6.023 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.4322, allocations: 2.562 kB / 0.5285 GB, free: 6.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005565/0.4327, allocations: 389.8 kB / 0.5289 GB, free: 5.871 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.4327, allocations: 5.812 kB / 0.5289 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.4327, allocations: 8.062 kB / 0.5289 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.4328, allocations: 11.02 kB / 0.5289 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.4331, allocations: 129.7 kB / 0.529 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002583/0.4334, allocations: 0.9141 MB / 0.5299 GB, free: 4.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.4337, allocations: 49.91 kB / 0.53 GB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.405e-05/0.4337, allocations: 42.88 kB / 0.53 GB, free: 4.906 MB / 410.7 MB 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.0001248/0.4338, allocations: 191.9 kB / 0.5302 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.4339, allocations: 22.41 kB / 0.5302 GB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000759/0.4347, allocations: 480.8 kB / 0.5307 GB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4347, allocations: 3.984 kB / 0.5307 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4347, allocations: 0 / 0.5307 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4347, allocations: 3.5 kB / 0.5307 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007284/0.4354, allocations: 0.5669 MB / 0.5312 GB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4354, allocations: 3 kB / 0.5312 GB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.4356, allocations: 66.89 kB / 0.5313 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4356, allocations: 6.938 kB / 0.5313 GB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.4356, allocations: 8.266 kB / 0.5313 GB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002527/0.4359, allocations: 0.9113 MB / 0.5322 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.4359, allocations: 2.781 kB / 0.5322 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.4363, allocations: 382.8 kB / 0.5326 GB, free: 2.816 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.159e-05/0.4363, allocations: 31.62 kB / 0.5326 GB, free: 2.801 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.4364, allocations: 6.109 kB / 0.5326 GB, free: 2.801 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.4366, allocations: 15.48 kB / 0.5326 GB, free: 2.793 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.4367, allocations: 21.11 kB / 0.5326 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.4367, allocations: 19.64 kB / 0.5326 GB, free: 2.785 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001034/0.4368, allocations: 183.7 kB / 0.5328 GB, free: 2.648 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4368, allocations: 0 / 0.5328 GB, free: 2.648 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006898/0.4375, allocations: 169.3 kB / 0.533 GB, free: 2.613 MB / 410.7 MB 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.0006457/0.4381, allocations: 276.6 kB / 0.5332 GB, free: 2.473 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005502/0.4387, allocations: 237 kB / 0.5335 GB, free: 2.406 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.4387, allocations: 10.69 kB / 0.5335 GB, free: 2.398 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.4389, allocations: 86.78 kB / 0.5336 GB, free: 2.371 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.4395, allocations: 91.66 kB / 0.5337 GB, free: 2.344 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.4409, allocations: 0.8788 MB / 0.5345 GB, free: 1.789 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.432e-05/0.441, allocations: 114.1 kB / 0.5346 GB, free: 1.715 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005428/0.4415, allocations: 381.2 kB / 0.535 GB, free: 1.652 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.4417, allocations: 62.88 kB / 0.535 GB, free: 1.633 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.4417, allocations: 4 kB / 0.535 GB, free: 1.629 MB / 410.7 MB Notification: Performance of Templates: time 0.01009/0.4518, allocations: 5.839 MB / 0.5408 GB, free: 15.69 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.8181618580129]