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.001191/0.001191, allocations: 103.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2089/0.2089, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 72.22 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1243, allocations: 62.45 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3951/0.5195, allocations: 153 MB / 0.6183 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006315/0.5258, allocations: 5.311 MB / 0.6235 GB, free: 4.816 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.526, allocations: 4 kB / 0.6235 GB, free: 4.812 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.5265, allocations: 55.59 kB / 0.6235 GB, free: 4.758 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003567/0.53, allocations: 1.316 MB / 0.6248 GB, free: 3.438 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.5305, allocations: 149.4 kB / 0.625 GB, free: 3.301 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006088/0.5311, allocations: 394.2 kB / 0.6254 GB, free: 2.914 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.015e-05/0.5312, allocations: 17.66 kB / 0.6254 GB, free: 2.898 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003895/0.5316, allocations: 175.3 kB / 0.6255 GB, free: 2.727 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003468/0.5319, allocations: 167.5 kB / 0.6257 GB, free: 2.562 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.532, allocations: 8 kB / 0.6257 GB, free: 2.555 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.5343, allocations: 1.057 MB / 0.6267 GB, free: 1.496 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.644e-05/0.5344, allocations: 43.77 kB / 0.6268 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.5346, allocations: 107.5 kB / 0.6269 GB, free: 1.348 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001754/0.5363, allocations: 0.8537 MB / 0.6277 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5364, allocations: 0 / 0.6277 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5364, allocations: 3.938 kB / 0.6277 GB, free: 500 kB / 462.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.5364, allocations: 0 / 0.6277 GB, free: 500 kB / 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.001618/0.538, allocations: 0.695 MB / 0.6284 GB, free: 15.74 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.5381, allocations: 8.031 kB / 0.6284 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.914e-05/0.5381, allocations: 58.73 kB / 0.6285 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007989/0.5461, allocations: 0.6097 MB / 0.6291 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.5466, allocations: 263.5 kB / 0.6293 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.5468, allocations: 123.4 kB / 0.6294 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.5469, allocations: 20 kB / 0.6294 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.5482, allocations: 0.5633 MB / 0.63 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.5482, allocations: 4 kB / 0.63 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.614e-05/0.5483, allocations: 11.98 kB / 0.63 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.5484, allocations: 8 kB / 0.63 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.5498, allocations: 0.6338 MB / 0.6306 GB, free: 13.34 MB / 478.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.002629/0.5525, allocations: 1.713 MB / 0.6323 GB, free: 11.47 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.5529, allocations: 158.5 kB / 0.6325 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.5531, allocations: 72.88 kB / 0.6325 GB, free: 11.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001784/0.5549, allocations: 1.487 MB / 0.634 GB, free: 9.477 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.5549, allocations: 34.56 kB / 0.634 GB, free: 9.434 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 2.454e-06/0.5549, allocations: 0 / 0.634 GB, free: 9.434 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.001056/0.556, allocations: 328.3 kB / 0.6343 GB, free: 9.109 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.556, allocations: 55.41 kB / 0.6344 GB, free: 9.043 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.5562, allocations: 182.5 kB / 0.6346 GB, free: 8.855 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.5563, allocations: 25.7 kB / 0.6346 GB, free: 8.824 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.5564, allocations: 183.3 kB / 0.6348 GB, free: 8.641 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.5565, allocations: 67.08 kB / 0.6348 GB, free: 8.574 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.5566, allocations: 97.88 kB / 0.6349 GB, free: 8.473 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.5568, allocations: 330.8 kB / 0.6352 GB, free: 8.141 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.5569, allocations: 68.7 kB / 0.6353 GB, free: 8.074 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.5572, allocations: 260 kB / 0.6355 GB, free: 7.727 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005103/0.5577, allocations: 375.4 kB / 0.6359 GB, free: 7.266 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.5578, allocations: 0 / 0.6359 GB, free: 7.266 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006789/0.5584, allocations: 372.4 kB / 0.6363 GB, free: 6.898 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.5585, allocations: 11.94 kB / 0.6363 GB, free: 6.887 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.5585, allocations: 8 kB / 0.6363 GB, free: 6.879 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.5585, allocations: 8 kB / 0.6363 GB, free: 6.871 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/0.5589, allocations: 123.8 kB / 0.6364 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004327/0.5594, allocations: 0.6064 MB / 0.637 GB, free: 6.121 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.5597, allocations: 43.72 kB / 0.637 GB, free: 6.078 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.413e-05/0.5597, allocations: 47.98 kB / 0.6371 GB, free: 6.031 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.0001937/0.5599, allocations: 141.7 kB / 0.6372 GB, free: 5.883 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.56, allocations: 23.75 kB / 0.6372 GB, free: 5.863 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009781/0.561, allocations: 461.6 kB / 0.6377 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.561, allocations: 7.938 kB / 0.6377 GB, free: 5.395 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.561, allocations: 0 / 0.6377 GB, free: 5.395 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.561, allocations: 3.984 kB / 0.6377 GB, free: 5.391 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008831/0.5619, allocations: 0.639 MB / 0.6383 GB, free: 4.652 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.562, allocations: 0 / 0.6383 GB, free: 4.652 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.5622, allocations: 55.91 kB / 0.6384 GB, free: 4.598 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.994e-05/0.5622, allocations: 4 kB / 0.6384 GB, free: 4.594 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.5622, allocations: 8 kB / 0.6384 GB, free: 4.586 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003241/0.5626, allocations: 0.6018 MB / 0.639 GB, free: 3.961 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.5626, allocations: 7.969 kB / 0.639 GB, free: 3.953 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.563, allocations: 290.3 kB / 0.6392 GB, free: 3.629 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.906e-05/0.5631, allocations: 108.8 kB / 0.6394 GB, free: 3.504 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.5631, allocations: 7.938 kB / 0.6394 GB, free: 3.496 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.5634, allocations: 15.98 kB / 0.6394 GB, free: 3.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.5634, allocations: 19.92 kB / 0.6394 GB, free: 3.461 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.5634, allocations: 19.98 kB / 0.6394 GB, free: 3.441 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.5636, allocations: 135.9 kB / 0.6395 GB, free: 3.309 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5636, allocations: 0 / 0.6395 GB, free: 3.309 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006382/0.5642, allocations: 172 kB / 0.6397 GB, free: 3.141 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.001145/0.5654, allocations: 1.003 MB / 0.6407 GB, free: 2.098 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005038/0.5659, allocations: 229.2 kB / 0.6409 GB, free: 1.875 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5659, allocations: 0 / 0.6409 GB, free: 1.875 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.5661, allocations: 88.2 kB / 0.641 GB, free: 1.789 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005593/0.5667, allocations: 64.91 kB / 0.641 GB, free: 1.727 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.5704, allocations: 3.047 MB / 0.644 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.5707, allocations: 0.7207 MB / 0.6447 GB, free: 13.62 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007747/0.5714, allocations: 383.6 kB / 0.6451 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.5717, allocations: 87.38 kB / 0.6452 GB, free: 13.16 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.5717, allocations: 4 kB / 0.6452 GB, free: 13.16 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/0.5992, allocations: 7.865 MB / 0.6529 GB, free: 5.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.44, allocations: 13.62 kB / 0.6529 GB, free: 5.398 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