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.001697/0.001697, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002455/0.002455, allocations: 212.1 kB / 23.74 MB, free: 4.66 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.549/1.549, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2216/0.2216, allocations: 46.93 MB / 360.8 MB, free: 4.254 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.003841/0.003841, allocations: 75.88 kB / 0.4962 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3474, allocations: 66.09 MB / 0.5608 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2031/0.5505, allocations: 153.5 MB / 0.7107 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00694/0.5574, allocations: 5.353 MB / 0.7159 GB, free: 4.781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.5576, allocations: 0 / 0.7159 GB, free: 4.781 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.5579, allocations: 51.66 kB / 0.716 GB, free: 4.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003629/0.5615, allocations: 1.346 MB / 0.7173 GB, free: 3.383 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.5619, allocations: 149.3 kB / 0.7174 GB, free: 3.242 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006906/0.5626, allocations: 394.1 kB / 0.7178 GB, free: 2.855 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.569e-05/0.5627, allocations: 17.78 kB / 0.7178 GB, free: 2.836 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003715/0.563, allocations: 175.3 kB / 0.718 GB, free: 2.664 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.5634, allocations: 183.4 kB / 0.7181 GB, free: 2.484 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.5635, allocations: 11.94 kB / 0.7182 GB, free: 2.473 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002404/0.5659, allocations: 1.111 MB / 0.7192 GB, free: 1.359 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.571e-05/0.566, allocations: 43.81 kB / 0.7193 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.5661, allocations: 111.5 kB / 0.7194 GB, free: 1.207 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.5678, allocations: 0.861 MB / 0.7202 GB, free: 352 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5678, allocations: 0 / 0.7202 GB, free: 352 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5678, allocations: 0 / 0.7202 GB, free: 352 kB / 0.545 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.5678, allocations: 0 / 0.7202 GB, free: 352 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.001408/0.5692, allocations: 0.6216 MB / 0.7208 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.5693, allocations: 12.03 kB / 0.7208 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.74e-05/0.5694, allocations: 62.72 kB / 0.7209 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007645/0.577, allocations: 0.6054 MB / 0.7215 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/0.5775, allocations: 217.3 kB / 0.7217 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.5777, allocations: 222.1 kB / 0.7219 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.5778, allocations: 20 kB / 0.7219 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.579, allocations: 0.5665 MB / 0.7225 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.579, allocations: 4 kB / 0.7225 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.135e-05/0.5791, allocations: 12 kB / 0.7225 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.5791, allocations: 4 kB / 0.7225 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.5805, allocations: 0.6337 MB / 0.7231 GB, free: 13.22 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.002202/0.5827, allocations: 1.59 MB / 0.7247 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.5831, allocations: 146.1 kB / 0.7248 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.5832, allocations: 68.88 kB / 0.7249 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/0.5843, allocations: 491 kB / 0.7254 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.5844, allocations: 38.56 kB / 0.7254 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.382e-06/0.5844, allocations: 0 / 0.7254 GB, free: 10.75 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.0009394/0.5853, allocations: 328.2 kB / 0.7257 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.5854, allocations: 55.41 kB / 0.7258 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.5855, allocations: 194.5 kB / 0.7259 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.5856, allocations: 29.7 kB / 0.726 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.5857, allocations: 179.9 kB / 0.7261 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.63e-05/0.5858, allocations: 79.34 kB / 0.7262 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.5859, allocations: 94 kB / 0.7263 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.586, allocations: 330.8 kB / 0.7266 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.5862, allocations: 72.7 kB / 0.7267 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/0.5865, allocations: 260 kB / 0.7269 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004881/0.587, allocations: 366.2 kB / 0.7273 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.587, allocations: 3.938 kB / 0.7273 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006536/0.5876, allocations: 371.8 kB / 0.7276 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.5876, allocations: 12 kB / 0.7277 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.5876, allocations: 8 kB / 0.7277 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.5877, allocations: 8 kB / 0.7277 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.5881, allocations: 123.8 kB / 0.7278 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004066/0.5885, allocations: 0.6094 MB / 0.7284 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.5887, allocations: 39.69 kB / 0.7284 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-05/0.5888, allocations: 44.08 kB / 0.7285 GB, free: 7.332 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.000149/0.5889, allocations: 147 kB / 0.7286 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.589, allocations: 27.84 kB / 0.7286 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008294/0.5898, allocations: 455.2 kB / 0.7291 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5898, allocations: 4 kB / 0.7291 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5898, allocations: 0 / 0.7291 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5898, allocations: 0 / 0.7291 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008589/0.5907, allocations: 0.5395 MB / 0.7296 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5907, allocations: 0 / 0.7296 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.5909, allocations: 59.91 kB / 0.7297 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.5909, allocations: 4 kB / 0.7297 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.5909, allocations: 16.23 kB / 0.7297 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003626/0.5913, allocations: 0.6015 MB / 0.7303 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5913, allocations: 0 / 0.7303 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.5917, allocations: 297.6 kB / 0.7305 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.5918, allocations: 39.75 kB / 0.7306 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.377e-05/0.5919, allocations: 8 kB / 0.7306 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.5921, allocations: 12 kB / 0.7306 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.5922, allocations: 19.97 kB / 0.7306 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.5922, allocations: 15.98 kB / 0.7306 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001544/0.5923, allocations: 147.4 kB / 0.7308 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5923, allocations: 0 / 0.7308 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007118/0.5931, allocations: 167.6 kB / 0.7309 GB, free: 4.637 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.001312/0.5944, allocations: 0.9919 MB / 0.7319 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005352/0.5949, allocations: 221.3 kB / 0.7321 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5949, allocations: 0 / 0.7321 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.5951, allocations: 80.45 kB / 0.7322 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/0.5957, allocations: 64.11 kB / 0.7323 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2374/0.8331, allocations: 3.056 MB / 0.7352 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.8333, allocations: 0.7204 MB / 0.7359 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009113/0.8342, allocations: 376.9 kB / 0.7363 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.8344, allocations: 91.84 kB / 0.7364 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of SimCode: time 9.91e-07/0.8344, allocations: 3.656 kB / 0.7364 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03635/0.8708, allocations: 8.163 MB / 0.7444 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.67, allocations: 11.22 kB / 0.7444 GB, free: 169.3 MB / 0.5606 GB " [Timeout remaining time 646] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/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: 16.83469549403526]