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.001137/0.001137, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00167/0.001671, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2032/0.2032, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002628/0.0002628, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1142, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4137/0.528, allocations: 148.9 MB / 0.6172 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005657/0.5337, allocations: 5.315 MB / 0.6224 GB, free: 10.26 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.5338, allocations: 0 / 0.6224 GB, free: 10.26 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.5341, allocations: 43.73 kB / 0.6225 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.5372, allocations: 1.163 MB / 0.6236 GB, free: 9.055 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.5375, allocations: 142.5 kB / 0.6238 GB, free: 8.922 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006164/0.5382, allocations: 466 kB / 0.6242 GB, free: 8.465 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.07e-05/0.5382, allocations: 13.67 kB / 0.6242 GB, free: 8.453 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.5386, allocations: 175.3 kB / 0.6244 GB, free: 8.281 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.5389, allocations: 175.5 kB / 0.6245 GB, free: 8.109 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.5389, allocations: 8 kB / 0.6246 GB, free: 8.102 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/0.5409, allocations: 1.068 MB / 0.6256 GB, free: 7.031 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.654e-05/0.541, allocations: 47.75 kB / 0.6256 GB, free: 6.984 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.5412, allocations: 129.3 kB / 0.6258 GB, free: 6.852 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.5428, allocations: 0.8731 MB / 0.6266 GB, free: 5.977 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5428, allocations: 0 / 0.6266 GB, free: 5.977 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5428, allocations: 0 / 0.6266 GB, free: 5.977 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.5428, allocations: 0 / 0.6266 GB, free: 5.977 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.001286/0.5441, allocations: 0.6209 MB / 0.6272 GB, free: 5.305 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.5441, allocations: 12.88 kB / 0.6272 GB, free: 5.293 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.969e-05/0.5442, allocations: 62.73 kB / 0.6273 GB, free: 5.223 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008043/0.5523, allocations: 0.6024 MB / 0.6279 GB, free: 4.621 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.5527, allocations: 267.6 kB / 0.6281 GB, free: 4.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.5528, allocations: 131.1 kB / 0.6283 GB, free: 4.172 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.5529, allocations: 20 kB / 0.6283 GB, free: 4.152 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.5541, allocations: 0.5595 MB / 0.6288 GB, free: 3.562 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.5542, allocations: 3.938 kB / 0.6288 GB, free: 3.559 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.664e-05/0.5543, allocations: 12 kB / 0.6288 GB, free: 3.547 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.5543, allocations: 11.98 kB / 0.6289 GB, free: 3.535 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.5557, allocations: 0.626 MB / 0.6295 GB, free: 2.906 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.002064/0.5578, allocations: 1.721 MB / 0.6311 GB, free: 1.035 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.5581, allocations: 154.5 kB / 0.6313 GB, free: 0.875 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.5583, allocations: 72.88 kB / 0.6314 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001449/0.5598, allocations: 1.479 MB / 0.6328 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.5598, allocations: 38.5 kB / 0.6328 GB, free: 15.01 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 2.765e-06/0.5598, allocations: 8 kB / 0.6329 GB, free: 15 MB / 478.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.0009364/0.5608, allocations: 316.1 kB / 0.6332 GB, free: 14.69 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.5608, allocations: 59.41 kB / 0.6332 GB, free: 14.62 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.561, allocations: 187 kB / 0.6334 GB, free: 14.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.561, allocations: 33.7 kB / 0.6334 GB, free: 14.39 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.5611, allocations: 187.2 kB / 0.6336 GB, free: 14.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.313e-05/0.5612, allocations: 63.09 kB / 0.6337 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.5612, allocations: 37.7 kB / 0.6337 GB, free: 14.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5614, allocations: 330.8 kB / 0.634 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.5615, allocations: 64.7 kB / 0.6341 GB, free: 13.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.5618, allocations: 264 kB / 0.6343 GB, free: 13.35 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.5622, allocations: 377.6 kB / 0.6347 GB, free: 12.89 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.5622, allocations: 0 / 0.6347 GB, free: 12.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000591/0.5628, allocations: 364.8 kB / 0.635 GB, free: 12.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.5629, allocations: 8 kB / 0.635 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.5629, allocations: 8.875 kB / 0.635 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.5629, allocations: 8 kB / 0.6351 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.5633, allocations: 127.8 kB / 0.6352 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004039/0.5637, allocations: 0.6055 MB / 0.6358 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.564, allocations: 43.53 kB / 0.6358 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/0.5641, allocations: 43.98 kB / 0.6359 GB, free: 11.66 MB / 478.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.0001398/0.5642, allocations: 145.8 kB / 0.636 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.5643, allocations: 19.81 kB / 0.636 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009052/0.5652, allocations: 460.4 kB / 0.6364 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.5652, allocations: 8 kB / 0.6365 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5652, allocations: 0 / 0.6365 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.5652, allocations: 0 / 0.6365 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008708/0.5661, allocations: 0.6391 MB / 0.6371 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.5661, allocations: 6.625 kB / 0.6371 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.5663, allocations: 63.89 kB / 0.6371 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.5664, allocations: 4 kB / 0.6372 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.5664, allocations: 4 kB / 0.6372 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003156/0.5667, allocations: 0.5976 MB / 0.6377 GB, free: 9.582 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.5667, allocations: 4.281 kB / 0.6377 GB, free: 9.578 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.5671, allocations: 300.5 kB / 0.638 GB, free: 9.246 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.5672, allocations: 112.8 kB / 0.6381 GB, free: 9.117 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/0.5673, allocations: 15.92 kB / 0.6382 GB, free: 9.102 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.5675, allocations: 8 kB / 0.6382 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.5676, allocations: 15.98 kB / 0.6382 GB, free: 9.078 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.5676, allocations: 27.92 kB / 0.6382 GB, free: 9.051 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.5678, allocations: 135.9 kB / 0.6383 GB, free: 8.918 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5678, allocations: 0 / 0.6383 GB, free: 8.918 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008184/0.5686, allocations: 168 kB / 0.6385 GB, free: 8.754 MB / 478.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.001281/0.5699, allocations: 1.005 MB / 0.6395 GB, free: 7.707 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005083/0.5704, allocations: 231.1 kB / 0.6397 GB, free: 7.484 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5705, allocations: 0 / 0.6397 GB, free: 7.484 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.5706, allocations: 81.28 kB / 0.6398 GB, free: 7.406 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006046/0.5713, allocations: 64.12 kB / 0.6398 GB, free: 7.344 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003819/0.5751, allocations: 3.161 MB / 0.6429 GB, free: 3.879 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.5754, allocations: 0.7246 MB / 0.6436 GB, free: 3.125 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008045/0.5762, allocations: 384.3 kB / 0.644 GB, free: 2.75 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.5764, allocations: 83.39 kB / 0.6441 GB, free: 2.668 MB / 478.1 MB Notification: Performance of SimCode: time 2.7e-07/0.5764, allocations: 0 / 0.6441 GB, free: 2.668 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.596, allocations: 7.537 MB / 0.6514 GB, free: 11.3 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.5963, allocations: 264 kB / 0.6517 GB, free: 10.95 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.075/2.671, allocations: 0 / 0.6517 GB, free: 10.95 MB / 494.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