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.001304/0.001304, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001423/0.001423, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.443/1.443, allocations: 230.2 MB / 254.5 MB, free: 15.09 MB / 206.1 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.2315/0.2315, allocations: 46.9 MB / 357.4 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003189/0.003189, allocations: 75.88 kB / 0.4913 GB, free: 8.312 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1587, allocations: 66 MB / 0.5557 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4846/0.6433, allocations: 153.5 MB / 0.7056 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006293/0.6496, allocations: 5.333 MB / 0.7108 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.6497, allocations: 3.938 kB / 0.7108 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.65, allocations: 59.53 kB / 0.7109 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003413/0.6534, allocations: 1.326 MB / 0.7122 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.6538, allocations: 144.4 kB / 0.7123 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005484/0.6543, allocations: 390.2 kB / 0.7127 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/0.6544, allocations: 6.219 kB / 0.7127 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.6546, allocations: 175.8 kB / 0.7128 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002937/0.6549, allocations: 179.5 kB / 0.713 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.655, allocations: 8 kB / 0.713 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.6571, allocations: 1.114 MB / 0.7141 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.976e-05/0.6572, allocations: 47.64 kB / 0.7141 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.6573, allocations: 111.5 kB / 0.7143 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.6586, allocations: 0.8533 MB / 0.7151 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6586, allocations: 0 / 0.7151 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6586, allocations: 8 kB / 0.7151 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.6586, allocations: 0 / 0.7151 GB, free: 14.65 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.001293/0.6599, allocations: 0.693 MB / 0.7158 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.6599, allocations: 12.03 kB / 0.7158 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.591e-05/0.66, allocations: 63.28 kB / 0.7158 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007425/0.6674, allocations: 0.6059 MB / 0.7164 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006686/0.6681, allocations: 271.5 kB / 0.7167 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.6683, allocations: 120.2 kB / 0.7168 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.155e-05/0.6684, allocations: 31.98 kB / 0.7168 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.6697, allocations: 0.5595 MB / 0.7174 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.6697, allocations: 0 / 0.7174 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.938e-05/0.6698, allocations: 12 kB / 0.7174 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.6698, allocations: 8 kB / 0.7174 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.6712, allocations: 0.6299 MB / 0.718 GB, free: 11.49 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.002425/0.6737, allocations: 1.719 MB / 0.7197 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.674, allocations: 145.3 kB / 0.7198 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.6742, allocations: 67.7 kB / 0.7199 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001816/0.676, allocations: 1.494 MB / 0.7214 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.676, allocations: 34.56 kB / 0.7214 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 2.094e-06/0.676, allocations: 0 / 0.7214 GB, free: 7.609 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.001037/0.6771, allocations: 326.4 kB / 0.7217 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.6771, allocations: 51.41 kB / 0.7218 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.6773, allocations: 186.5 kB / 0.7219 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.6773, allocations: 29.7 kB / 0.722 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.6775, allocations: 187.8 kB / 0.7221 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/0.6775, allocations: 75.42 kB / 0.7222 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.6777, allocations: 90 kB / 0.7223 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6778, allocations: 338.7 kB / 0.7226 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.678, allocations: 68.7 kB / 0.7227 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/0.6783, allocations: 260.6 kB / 0.7229 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.6788, allocations: 368.1 kB / 0.7233 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.6788, allocations: 4 kB / 0.7233 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006427/0.6795, allocations: 374.7 kB / 0.7236 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.6795, allocations: 8 kB / 0.7237 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.6795, allocations: 7.938 kB / 0.7237 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.6795, allocations: 12 kB / 0.7237 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/0.6799, allocations: 119.9 kB / 0.7238 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004373/0.6804, allocations: 0.6095 MB / 0.7244 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.6806, allocations: 51.72 kB / 0.7244 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/0.6807, allocations: 40 kB / 0.7245 GB, free: 4.191 MB / 0.5294 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.0001683/0.6808, allocations: 141.7 kB / 0.7246 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.6809, allocations: 15.91 kB / 0.7246 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009261/0.6818, allocations: 470.7 kB / 0.7251 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.6818, allocations: 0 / 0.7251 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.6818, allocations: 0 / 0.7251 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.6818, allocations: 0 / 0.7251 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009836/0.6828, allocations: 0.643 MB / 0.7257 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6828, allocations: 0 / 0.7257 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.6831, allocations: 64.2 kB / 0.7258 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.6831, allocations: 7.938 kB / 0.7258 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.6831, allocations: 8 kB / 0.7258 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003754/0.6835, allocations: 0.6015 MB / 0.7264 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.6835, allocations: 3.984 kB / 0.7264 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.6838, allocations: 295.3 kB / 0.7266 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.684, allocations: 108.9 kB / 0.7267 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/0.684, allocations: 15.94 kB / 0.7268 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.6843, allocations: 11.98 kB / 0.7268 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.6843, allocations: 15.98 kB / 0.7268 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.6843, allocations: 19.98 kB / 0.7268 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001315/0.6845, allocations: 135.6 kB / 0.7269 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.6845, allocations: 3.938 kB / 0.7269 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006959/0.6852, allocations: 171.6 kB / 0.7271 GB, free: 1.281 MB / 0.5294 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.001324/0.6865, allocations: 1.005 MB / 0.7281 GB, free: 240 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000566/0.6871, allocations: 230.4 kB / 0.7283 GB, free: 12 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6871, allocations: 3.938 kB / 0.7283 GB, free: 8 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.6873, allocations: 71.92 kB / 0.7284 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.6879, allocations: 72.34 kB / 0.7284 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/0.6923, allocations: 3.055 MB / 0.7314 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.6928, allocations: 0.7245 MB / 0.7321 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007269/0.6935, allocations: 379.2 kB / 0.7325 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.6937, allocations: 87.38 kB / 0.7326 GB, free: 11.3 MB / 0.545 GB Notification: Performance of SimCode: time 8.51e-07/0.6937, allocations: 0 / 0.7326 GB, free: 11.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03409/0.7278, allocations: 7.971 MB / 0.7404 GB, free: 3.445 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.69, allocations: 23.66 kB / 0.7404 GB, free: 3.426 MB / 0.545 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.90784108499065]