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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001525/0.001525, allocations: 109.6 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001895/0.001895, allocations: 209.8 kB / 18.27 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 71.89 kB / 417.2 MB, free: 7.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1359, allocations: 62.43 MB / 479.6 MB, free: 8.871 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4714/0.6073, allocations: 150.9 MB / 0.6157 GB, free: 18.53 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007585/0.615, allocations: 5.292 MB / 0.6209 GB, free: 15.1 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003233/0.6154, allocations: 9.125 kB / 0.6209 GB, free: 15.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.6157, allocations: 41.09 kB / 0.6209 GB, free: 15.08 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00463/0.6204, allocations: 1.208 MB / 0.6221 GB, free: 14.45 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.6208, allocations: 144.7 kB / 0.6223 GB, free: 14.38 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000771/0.6216, allocations: 389.7 kB / 0.6226 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.844e-05/0.6217, allocations: 18.31 kB / 0.6226 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004408/0.6222, allocations: 170.2 kB / 0.6228 GB, free: 14.14 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004732/0.6226, allocations: 187.8 kB / 0.623 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.657e-05/0.6227, allocations: 6.906 kB / 0.623 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003003/0.6257, allocations: 1.087 MB / 0.6241 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.6258, allocations: 54.8 kB / 0.6241 GB, free: 13.67 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.6261, allocations: 106.9 kB / 0.6242 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002625/0.6287, allocations: 0.8785 MB / 0.6251 GB, free: 13.35 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.6287, allocations: 0 / 0.6251 GB, free: 13.35 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6287, allocations: 0 / 0.6251 GB, free: 13.35 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.6287, allocations: 0 / 0.6251 GB, free: 13.35 MB / 462.1 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.001922/0.6307, allocations: 0.6873 MB / 0.6257 GB, free: 12.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.6307, allocations: 10.19 kB / 0.6257 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.6308, allocations: 61.38 kB / 0.6258 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008072/0.6389, allocations: 0.61 MB / 0.6264 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.6395, allocations: 263.2 kB / 0.6267 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.6396, allocations: 121 kB / 0.6268 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.6398, allocations: 27.5 kB / 0.6268 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.641, allocations: 0.5578 MB / 0.6273 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.6411, allocations: 7.938 kB / 0.6273 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.16e-05/0.6412, allocations: 11.19 kB / 0.6274 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/0.6412, allocations: 9.875 kB / 0.6274 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.6427, allocations: 0.6286 MB / 0.628 GB, free: 11.93 MB / 462.1 MB 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.002376/0.6451, allocations: 1.712 MB / 0.6297 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.6455, allocations: 158.7 kB / 0.6298 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.6456, allocations: 75.58 kB / 0.6299 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/0.6471, allocations: 1.487 MB / 0.6313 GB, free: 8.828 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.6471, allocations: 31.94 kB / 0.6314 GB, free: 8.789 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/0.6471, allocations: 1.375 kB / 0.6314 GB, free: 8.789 MB / 462.1 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.001021/0.6481, allocations: 331.1 kB / 0.6317 GB, free: 8.672 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.6482, allocations: 53.5 kB / 0.6317 GB, free: 8.609 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.6483, allocations: 187.9 kB / 0.6319 GB, free: 8.477 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.6484, allocations: 31.42 kB / 0.6319 GB, free: 8.441 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.639e-05/0.6485, allocations: 182.7 kB / 0.6321 GB, free: 8.281 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.6485, allocations: 65.33 kB / 0.6322 GB, free: 8.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.6487, allocations: 105.5 kB / 0.6323 GB, free: 8.176 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.968e-05/0.6487, allocations: 328.5 kB / 0.6326 GB, free: 7.855 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.6489, allocations: 64.48 kB / 0.6326 GB, free: 7.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.6491, allocations: 260.9 kB / 0.6329 GB, free: 7.562 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.6496, allocations: 373.5 kB / 0.6333 GB, free: 7.215 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.6496, allocations: 2.625 kB / 0.6333 GB, free: 7.215 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006246/0.6502, allocations: 364.3 kB / 0.6336 GB, free: 7.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.6503, allocations: 7.906 kB / 0.6336 GB, free: 7.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.6503, allocations: 7.25 kB / 0.6336 GB, free: 7.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.6503, allocations: 7.781 kB / 0.6336 GB, free: 7.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.6507, allocations: 128.8 kB / 0.6337 GB, free: 7.055 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000225/0.6509, allocations: 0.6091 MB / 0.6343 GB, free: 6.457 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.6512, allocations: 43.12 kB / 0.6344 GB, free: 6.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.117e-05/0.6513, allocations: 42.28 kB / 0.6344 GB, free: 6.426 MB / 462.1 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.0001263/0.6514, allocations: 146 kB / 0.6346 GB, free: 6.285 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/0.6515, allocations: 21.59 kB / 0.6346 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009259/0.6524, allocations: 464.3 kB / 0.635 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.6524, allocations: 4.578 kB / 0.635 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6525, allocations: 0 / 0.635 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6525, allocations: 0 / 0.635 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007531/0.6532, allocations: 0.6398 MB / 0.6357 GB, free: 5.574 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.6532, allocations: 0 / 0.6357 GB, free: 5.574 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.6535, allocations: 58.7 kB / 0.6357 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.6535, allocations: 9 kB / 0.6357 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.6535, allocations: 11.48 kB / 0.6357 GB, free: 5.562 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000196/0.6537, allocations: 0.5934 MB / 0.6363 GB, free: 4.973 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6537, allocations: 2.812 kB / 0.6363 GB, free: 4.973 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.6541, allocations: 300 kB / 0.6366 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.324e-05/0.6541, allocations: 104.3 kB / 0.6367 GB, free: 4.621 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/0.6542, allocations: 19.67 kB / 0.6367 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.6545, allocations: 14.38 kB / 0.6367 GB, free: 4.602 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.6545, allocations: 19.33 kB / 0.6367 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.6546, allocations: 20.06 kB / 0.6368 GB, free: 4.594 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.428e-05/0.6547, allocations: 135.9 kB / 0.6369 GB, free: 4.508 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6547, allocations: 0 / 0.6369 GB, free: 4.508 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007239/0.6554, allocations: 166.1 kB / 0.6371 GB, free: 4.473 MB / 462.1 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.001182/0.6566, allocations: 1.003 MB / 0.638 GB, free: 3.645 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000498/0.6571, allocations: 228.7 kB / 0.6383 GB, free: 3.586 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.6571, allocations: 64 / 0.6383 GB, free: 3.586 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.6573, allocations: 88.92 kB / 0.6383 GB, free: 3.566 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.6579, allocations: 69.39 kB / 0.6384 GB, free: 3.551 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.6611, allocations: 3.109 MB / 0.6414 GB, free: 1.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.6613, allocations: 0.7245 MB / 0.6421 GB, free: 376 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008077/0.6621, allocations: 387.2 kB / 0.6425 GB, free: 332 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.6623, allocations: 84.75 kB / 0.6426 GB, free: 296 kB / 462.1 MB Notification: Performance of SimCode: time 3.71e-07/0.6623, allocations: 4 kB / 0.6426 GB, free: 292 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.6879, allocations: 7.771 MB / 0.6502 GB, free: 13.39 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/0.6882, allocations: 274.4 kB / 0.6505 GB, free: 13.03 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/2.794, allocations: 0 / 0.6505 GB, free: 13.03 MB / 478.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches