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.001349/0.001353, allocations: 108.6 kB / 17.21 MB, free: 6.273 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.0013/0.0013, allocations: 194 kB / 18.12 MB, free: 5.363 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.481/1.481, allocations: 222.9 MB / 241.8 MB, free: 13.62 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.2257/0.2257, allocations: 44.17 MB / 336.1 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 60.41 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1381, allocations: 60.84 MB / 468.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4858/0.624, allocations: 147.9 MB / 0.6021 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006709/0.6307, allocations: 5.397 MB / 0.6074 GB, free: 7.758 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/0.631, allocations: 0 / 0.6074 GB, free: 7.758 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.6313, allocations: 43.73 kB / 0.6074 GB, free: 7.715 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00381/0.6352, allocations: 1.157 MB / 0.6085 GB, free: 6.555 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.6355, allocations: 135.9 kB / 0.6087 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006755/0.6362, allocations: 474 kB / 0.6091 GB, free: 5.961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.761e-05/0.6363, allocations: 9.688 kB / 0.6091 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003387/0.6366, allocations: 163.3 kB / 0.6093 GB, free: 5.793 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003448/0.637, allocations: 183.4 kB / 0.6094 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.6371, allocations: 4 kB / 0.6095 GB, free: 5.609 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.6394, allocations: 1.053 MB / 0.6105 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.549e-05/0.6395, allocations: 47.75 kB / 0.6105 GB, free: 4.512 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.6397, allocations: 111.5 kB / 0.6106 GB, free: 4.402 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001967/0.6417, allocations: 0.8576 MB / 0.6115 GB, free: 3.543 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.6417, allocations: 4 kB / 0.6115 GB, free: 3.539 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6417, allocations: 0 / 0.6115 GB, free: 3.539 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.6417, allocations: 7.938 kB / 0.6115 GB, free: 3.531 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.001543/0.6433, allocations: 0.6874 MB / 0.6122 GB, free: 2.797 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.6433, allocations: 12.03 kB / 0.6122 GB, free: 2.785 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.437e-05/0.6434, allocations: 58.73 kB / 0.6122 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007482/0.6509, allocations: 0.5907 MB / 0.6128 GB, free: 2.129 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/0.6514, allocations: 263.5 kB / 0.613 GB, free: 1.832 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.6515, allocations: 119.4 kB / 0.6132 GB, free: 1.688 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.6517, allocations: 24 kB / 0.6132 GB, free: 1.664 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.6529, allocations: 0.5556 MB / 0.6137 GB, free: 1.074 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.6529, allocations: 7.938 kB / 0.6137 GB, free: 1.066 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-05/0.653, allocations: 12 kB / 0.6137 GB, free: 1.055 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.653, allocations: 8 kB / 0.6138 GB, free: 1.047 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.6545, allocations: 0.6299 MB / 0.6144 GB, free: 428 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.002379/0.6569, allocations: 1.703 MB / 0.616 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/0.6573, allocations: 157.7 kB / 0.6162 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.6574, allocations: 80.77 kB / 0.6163 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/0.6587, allocations: 1.479 MB / 0.6177 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.6588, allocations: 34.56 kB / 0.6177 GB, free: 12.53 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.723e-06/0.6588, allocations: 0 / 0.6177 GB, free: 12.53 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.0009883/0.6598, allocations: 341.4 kB / 0.6181 GB, free: 12.2 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.6598, allocations: 51.41 kB / 0.6181 GB, free: 12.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.66, allocations: 187 kB / 0.6183 GB, free: 11.95 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.66, allocations: 29.7 kB / 0.6183 GB, free: 11.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/0.6601, allocations: 183.3 kB / 0.6185 GB, free: 11.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.6602, allocations: 67.11 kB / 0.6186 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.6603, allocations: 93.86 kB / 0.6186 GB, free: 11.56 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6605, allocations: 334.8 kB / 0.619 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.6606, allocations: 68.7 kB / 0.619 GB, free: 11.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.661, allocations: 267.8 kB / 0.6193 GB, free: 10.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/0.6615, allocations: 358.2 kB / 0.6196 GB, free: 10.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.6615, allocations: 6.5 kB / 0.6196 GB, free: 10.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006992/0.6622, allocations: 377.3 kB / 0.62 GB, free: 9.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.6622, allocations: 8 kB / 0.62 GB, free: 9.973 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.6623, allocations: 4 kB / 0.62 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.6623, allocations: 12 kB / 0.62 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/0.6627, allocations: 123.8 kB / 0.6201 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003986/0.6631, allocations: 0.6079 MB / 0.6207 GB, free: 9.207 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.6634, allocations: 47.59 kB / 0.6208 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.317e-05/0.6635, allocations: 43.98 kB / 0.6208 GB, free: 9.117 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.0001707/0.6636, allocations: 141.7 kB / 0.6209 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.621e-05/0.6637, allocations: 15.81 kB / 0.621 GB, free: 8.953 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.6647, allocations: 463.9 kB / 0.6214 GB, free: 8.484 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.6647, allocations: 0 / 0.6214 GB, free: 8.484 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.6648, allocations: 0.8125 kB / 0.6214 GB, free: 8.484 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.6648, allocations: 11.88 kB / 0.6214 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000883/0.6657, allocations: 0.6352 MB / 0.622 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.6657, allocations: 4 kB / 0.622 GB, free: 7.734 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.6659, allocations: 59.95 kB / 0.6221 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.6659, allocations: 256 / 0.6221 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.666, allocations: 15.94 kB / 0.6221 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003425/0.6663, allocations: 0.6015 MB / 0.6227 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.6663, allocations: 4 kB / 0.6227 GB, free: 7.035 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.6668, allocations: 292.8 kB / 0.623 GB, free: 6.711 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.667, allocations: 112.8 kB / 0.6231 GB, free: 6.582 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.851e-05/0.667, allocations: 11.94 kB / 0.6231 GB, free: 6.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.6673, allocations: 11.98 kB / 0.6231 GB, free: 6.559 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.6674, allocations: 19.92 kB / 0.6231 GB, free: 6.539 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.6674, allocations: 19.98 kB / 0.6232 GB, free: 6.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.6675, allocations: 139.6 kB / 0.6233 GB, free: 6.383 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6675, allocations: 3.938 kB / 0.6233 GB, free: 6.379 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006569/0.6682, allocations: 163.8 kB / 0.6234 GB, free: 6.219 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.001173/0.6694, allocations: 0.9949 MB / 0.6244 GB, free: 5.184 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005194/0.6699, allocations: 232.8 kB / 0.6246 GB, free: 4.957 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6699, allocations: 0.5625 kB / 0.6246 GB, free: 4.957 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.6701, allocations: 83.83 kB / 0.6247 GB, free: 4.875 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.6707, allocations: 64.44 kB / 0.6248 GB, free: 4.812 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.6744, allocations: 3.06 MB / 0.6278 GB, free: 1.449 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.6747, allocations: 0.7245 MB / 0.6285 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000787/0.6755, allocations: 383.4 kB / 0.6288 GB, free: 324 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.6757, allocations: 87.38 kB / 0.6289 GB, free: 236 kB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6757, allocations: 3.938 kB / 0.6289 GB, free: 232 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.6963, allocations: 7.555 MB / 0.6363 GB, free: 8.812 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.6966, allocations: 269 kB / 0.6366 GB, free: 8.457 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/2.711, allocations: 3.625 kB / 0.6366 GB, free: 8.457 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