Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 111.8 kB / 17.33 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 197.3 kB / 18.25 MB, free: 5.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2369/0.2369, allocations: 44.17 MB / 336.2 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 64.7 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1034, allocations: 60.84 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3987/0.5022, allocations: 148 MB / 0.6024 GB, free: 13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004806/0.507, allocations: 5.303 MB / 0.6076 GB, free: 7.699 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.72e-05/0.5071, allocations: 0 / 0.6076 GB, free: 7.699 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.5074, allocations: 43.73 kB / 0.6076 GB, free: 7.656 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002796/0.5103, allocations: 1.204 MB / 0.6088 GB, free: 6.453 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.5106, allocations: 135.4 kB / 0.6089 GB, free: 6.328 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004426/0.511, allocations: 394.1 kB / 0.6093 GB, free: 5.941 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.5111, allocations: 13.69 kB / 0.6093 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.5113, allocations: 175.3 kB / 0.6095 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.5115, allocations: 179.5 kB / 0.6096 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.5116, allocations: 8 kB / 0.6097 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.5132, allocations: 1.077 MB / 0.6107 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.947e-05/0.5133, allocations: 47.75 kB / 0.6108 GB, free: 4.449 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.5134, allocations: 107.5 kB / 0.6109 GB, free: 4.344 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.5145, allocations: 0.8732 MB / 0.6117 GB, free: 3.469 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.5145, allocations: 0 / 0.6117 GB, free: 3.469 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.5145, allocations: 4 kB / 0.6117 GB, free: 3.465 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.5145, allocations: 0 / 0.6117 GB, free: 3.465 MB / 446.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.001145/0.5157, allocations: 0.6873 MB / 0.6124 GB, free: 2.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.5157, allocations: 8.031 kB / 0.6124 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.152e-05/0.5158, allocations: 58.73 kB / 0.6124 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007206/0.523, allocations: 0.5897 MB / 0.613 GB, free: 2.066 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.5233, allocations: 267.5 kB / 0.6133 GB, free: 1.766 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.5235, allocations: 124.2 kB / 0.6134 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.883e-05/0.5235, allocations: 20 kB / 0.6134 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.5247, allocations: 0.5634 MB / 0.614 GB, free: 1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.5247, allocations: 3.938 kB / 0.614 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.993e-05/0.5248, allocations: 12 kB / 0.614 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.5248, allocations: 7.984 kB / 0.614 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.5262, allocations: 0.6299 MB / 0.6146 GB, free: 356 kB / 446.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.002027/0.5282, allocations: 1.711 MB / 0.6163 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.5285, allocations: 154.5 kB / 0.6164 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.5287, allocations: 76.83 kB / 0.6165 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/0.5299, allocations: 1.471 MB / 0.6179 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.5299, allocations: 43.67 kB / 0.618 GB, free: 12.46 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.764e-06/0.53, allocations: 3.938 kB / 0.618 GB, free: 12.45 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.0009984/0.531, allocations: 322.9 kB / 0.6183 GB, free: 12.13 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.531, allocations: 55.41 kB / 0.6183 GB, free: 12.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.5312, allocations: 183 kB / 0.6185 GB, free: 11.88 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.5312, allocations: 33.7 kB / 0.6185 GB, free: 11.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.5313, allocations: 183.3 kB / 0.6187 GB, free: 11.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.861e-05/0.5314, allocations: 63.11 kB / 0.6188 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.5316, allocations: 101.9 kB / 0.6189 GB, free: 11.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.5317, allocations: 330.8 kB / 0.6192 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.5318, allocations: 68.7 kB / 0.6193 GB, free: 11.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.5321, allocations: 263.8 kB / 0.6195 GB, free: 10.74 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.5325, allocations: 366.2 kB / 0.6199 GB, free: 10.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.5326, allocations: 0 / 0.6199 GB, free: 10.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005695/0.5331, allocations: 374 kB / 0.6202 GB, free: 9.914 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5332, allocations: 8 kB / 0.6202 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.5332, allocations: 8 kB / 0.6202 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.5332, allocations: 8 kB / 0.6202 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.5336, allocations: 127.8 kB / 0.6204 GB, free: 9.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003149/0.5339, allocations: 0.6136 MB / 0.621 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.5342, allocations: 39.53 kB / 0.621 GB, free: 9.094 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.5342, allocations: 43.98 kB / 0.621 GB, free: 9.051 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.0001333/0.5344, allocations: 141.7 kB / 0.6212 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.5344, allocations: 19.81 kB / 0.6212 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009986/0.5355, allocations: 462.6 kB / 0.6216 GB, free: 8.418 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.5355, allocations: 4 kB / 0.6216 GB, free: 8.414 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5355, allocations: 0 / 0.6216 GB, free: 8.414 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.5355, allocations: 0 / 0.6216 GB, free: 8.414 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008619/0.5364, allocations: 0.636 MB / 0.6223 GB, free: 7.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.5364, allocations: 4 kB / 0.6223 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.5366, allocations: 63.89 kB / 0.6223 GB, free: 7.613 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.5366, allocations: 8.25 kB / 0.6223 GB, free: 7.605 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.5366, allocations: 4 kB / 0.6223 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002668/0.5369, allocations: 0.5976 MB / 0.6229 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.5369, allocations: 7.969 kB / 0.6229 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.5373, allocations: 294.2 kB / 0.6232 GB, free: 6.645 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.365e-05/0.5374, allocations: 116.8 kB / 0.6233 GB, free: 6.512 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.09e-05/0.5374, allocations: 15.94 kB / 0.6233 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.5377, allocations: 11.98 kB / 0.6233 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.5377, allocations: 16.86 kB / 0.6234 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.5378, allocations: 15.98 kB / 0.6234 GB, free: 6.453 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.5379, allocations: 143.6 kB / 0.6235 GB, free: 6.312 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5379, allocations: 0 / 0.6235 GB, free: 6.312 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006434/0.5385, allocations: 164 kB / 0.6237 GB, free: 6.152 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.001115/0.5397, allocations: 1.014 MB / 0.6247 GB, free: 5.102 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005039/0.5402, allocations: 220 kB / 0.6249 GB, free: 4.891 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.5402, allocations: 4.188 kB / 0.6249 GB, free: 4.887 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.5404, allocations: 91.81 kB / 0.625 GB, free: 4.797 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.541, allocations: 68.59 kB / 0.625 GB, free: 4.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003428/0.5444, allocations: 3.058 MB / 0.628 GB, free: 1.367 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.5447, allocations: 0.7245 MB / 0.6287 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007848/0.5455, allocations: 387.1 kB / 0.6291 GB, free: 236 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.5457, allocations: 91.36 kB / 0.6292 GB, free: 144 kB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5457, allocations: 0 / 0.6292 GB, free: 144 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.5668, allocations: 7.686 MB / 0.6367 GB, free: 8.621 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/0.5671, allocations: 278 kB / 0.6369 GB, free: 8.254 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.607, allocations: 0 / 0.6369 GB, free: 8.254 MB / 478.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches