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.001365/0.001365, allocations: 109.1 kB / 21.85 MB, free: 60 kB / 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.001547/0.001547, allocations: 220.3 kB / 25.13 MB, free: 3.578 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.468/1.468, allocations: 230.4 MB / 258.7 MB, free: 8.035 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.2321/0.2321, allocations: 46.92 MB / 362 MB, free: 4.309 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.002343/0.002343, allocations: 83.86 kB / 0.4978 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3256, allocations: 66.08 MB / 0.5624 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1845/0.5101, allocations: 151.4 MB / 0.7102 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006371/0.5165, allocations: 5.29 MB / 0.7154 GB, free: 6.945 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.5166, allocations: 4 kB / 0.7154 GB, free: 6.941 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.5169, allocations: 59.58 kB / 0.7154 GB, free: 6.883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00367/0.5206, allocations: 1.34 MB / 0.7168 GB, free: 5.539 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.5209, allocations: 142.5 kB / 0.7169 GB, free: 5.406 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005804/0.5215, allocations: 406.1 kB / 0.7173 GB, free: 5.008 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.079e-05/0.5215, allocations: 9.797 kB / 0.7173 GB, free: 4.996 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002792/0.5218, allocations: 179.3 kB / 0.7175 GB, free: 4.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.5221, allocations: 183.4 kB / 0.7176 GB, free: 4.641 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.5222, allocations: 8 kB / 0.7176 GB, free: 4.633 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.5242, allocations: 1.002 MB / 0.7186 GB, free: 3.633 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.126e-05/0.5243, allocations: 55.81 kB / 0.7187 GB, free: 3.578 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.5244, allocations: 103.5 kB / 0.7188 GB, free: 3.477 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.5259, allocations: 0.8532 MB / 0.7196 GB, free: 2.621 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5259, allocations: 0 / 0.7196 GB, free: 2.621 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5259, allocations: 0 / 0.7196 GB, free: 2.621 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.5259, allocations: 0 / 0.7196 GB, free: 2.621 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.001305/0.5272, allocations: 0.6177 MB / 0.7202 GB, free: 1.973 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.5272, allocations: 12.03 kB / 0.7202 GB, free: 1.961 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00735/0.5346, allocations: 0.5976 MB / 0.7208 GB, free: 1.363 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006522/0.5352, allocations: 217.5 kB / 0.721 GB, free: 1.125 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002418/0.5355, allocations: 230.1 kB / 0.7212 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.035e-05/0.5356, allocations: 23.94 kB / 0.7213 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.5369, allocations: 0.7383 MB / 0.722 GB, free: 12 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.5369, allocations: 0 / 0.722 GB, free: 12 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.597e-05/0.5369, allocations: 12 kB / 0.722 GB, free: 0 / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.271e-05/0.537, allocations: 8.047 kB / 0.722 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.5385, allocations: 0.6337 MB / 0.7226 GB, free: 15.36 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.002496/0.541, allocations: 1.579 MB / 0.7242 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/0.5414, allocations: 150.5 kB / 0.7243 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.5415, allocations: 72.86 kB / 0.7244 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/0.5427, allocations: 494.9 kB / 0.7248 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.5427, allocations: 30.56 kB / 0.7249 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.5427, allocations: 0 / 0.7249 GB, free: 12.89 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.001125/0.5439, allocations: 331.9 kB / 0.7252 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.5439, allocations: 55.34 kB / 0.7252 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.5441, allocations: 194.6 kB / 0.7254 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.5442, allocations: 25.7 kB / 0.7254 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.5443, allocations: 187.9 kB / 0.7256 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.677e-05/0.5444, allocations: 79.36 kB / 0.7257 GB, free: 12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.5445, allocations: 86.02 kB / 0.7258 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.5447, allocations: 330.8 kB / 0.7261 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.5448, allocations: 64.7 kB / 0.7262 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.5451, allocations: 264 kB / 0.7264 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.5457, allocations: 370.2 kB / 0.7268 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.5457, allocations: 7.938 kB / 0.7268 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006566/0.5463, allocations: 369.1 kB / 0.7271 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.5463, allocations: 8 kB / 0.7271 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.5464, allocations: 4 kB / 0.7271 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/0.5464, allocations: 12 kB / 0.7271 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004187/0.5468, allocations: 127.8 kB / 0.7273 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004321/0.5472, allocations: 0.6021 MB / 0.7279 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.5475, allocations: 47.69 kB / 0.7279 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.5475, allocations: 43.98 kB / 0.7279 GB, free: 9.465 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.0001552/0.5477, allocations: 141.7 kB / 0.7281 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.5478, allocations: 19.84 kB / 0.7281 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008579/0.5486, allocations: 466.2 kB / 0.7285 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5486, allocations: 7.984 kB / 0.7286 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5486, allocations: 0 / 0.7286 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.5486, allocations: 3.984 kB / 0.7286 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009076/0.5495, allocations: 0.5357 MB / 0.7291 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5495, allocations: 3.984 kB / 0.7291 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.5498, allocations: 59.91 kB / 0.7291 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.5498, allocations: 0 / 0.7291 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.5498, allocations: 12 kB / 0.7292 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003748/0.5502, allocations: 0.5977 MB / 0.7297 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.5502, allocations: 3.938 kB / 0.7297 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.5506, allocations: 302.4 kB / 0.73 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.5507, allocations: 27.83 kB / 0.7301 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.5507, allocations: 7.938 kB / 0.7301 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.551, allocations: 15.98 kB / 0.7301 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.551, allocations: 11.98 kB / 0.7301 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.551, allocations: 23.98 kB / 0.7301 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001462/0.5512, allocations: 143.4 kB / 0.7302 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5512, allocations: 0 / 0.7302 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007012/0.5519, allocations: 171.6 kB / 0.7304 GB, free: 6.773 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.0005578/0.5525, allocations: 266.7 kB / 0.7307 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000545/0.553, allocations: 221 kB / 0.7309 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.553, allocations: 0.5 kB / 0.7309 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.5532, allocations: 79.84 kB / 0.731 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.5538, allocations: 76.53 kB / 0.731 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.5554, allocations: 0.8849 MB / 0.7319 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.5558, allocations: 0.7284 MB / 0.7326 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006621/0.5565, allocations: 378.1 kB / 0.733 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.5566, allocations: 63.38 kB / 0.733 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.5566, allocations: 0 / 0.733 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of Templates: time 0.2526/0.8092, allocations: 5.945 MB / 0.7388 GB, free: 174.9 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/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: 5.756970388116315]