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.0009036/0.0009036, allocations: 93.88 kB / 17.35 MB, free: 6.371 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.001338/0.001338, allocations: 171.8 kB / 18.25 MB, free: 5.527 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.318/1.318, allocations: 223.3 MB / 242.3 MB, free: 14.49 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.186/0.186, allocations: 44.25 MB / 337.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.000312, allocations: 8 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1059, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4317/0.5377, allocations: 146 MB / 0.6039 GB, free: 0.625 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006331/0.5441, allocations: 5.326 MB / 0.6091 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.5443, allocations: 0 / 0.6091 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.5446, allocations: 43.72 kB / 0.6091 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003524/0.5482, allocations: 1.162 MB / 0.6102 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.5485, allocations: 135.6 kB / 0.6104 GB, free: 9.969 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005737/0.5491, allocations: 466 kB / 0.6108 GB, free: 9.512 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.997e-05/0.5492, allocations: 13.69 kB / 0.6108 GB, free: 9.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.5495, allocations: 163.3 kB / 0.611 GB, free: 9.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.5498, allocations: 183.4 kB / 0.6112 GB, free: 9.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.5498, allocations: 4 kB / 0.6112 GB, free: 9.156 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.5522, allocations: 1.057 MB / 0.6122 GB, free: 8.098 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.5523, allocations: 47.75 kB / 0.6122 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.5525, allocations: 133.2 kB / 0.6124 GB, free: 7.914 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.5542, allocations: 0.8576 MB / 0.6132 GB, free: 7.055 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.5542, allocations: 0 / 0.6132 GB, free: 7.055 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.5542, allocations: 3.938 kB / 0.6132 GB, free: 7.051 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.5542, allocations: 0 / 0.6132 GB, free: 7.051 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.001444/0.5557, allocations: 0.6271 MB / 0.6138 GB, free: 6.379 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.5557, allocations: 12.03 kB / 0.6138 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.628e-05/0.5558, allocations: 58.73 kB / 0.6139 GB, free: 6.301 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007535/0.5634, allocations: 0.5941 MB / 0.6145 GB, free: 5.707 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005142/0.5639, allocations: 262.1 kB / 0.6147 GB, free: 5.414 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.5641, allocations: 123.4 kB / 0.6148 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.5642, allocations: 20 kB / 0.6149 GB, free: 5.246 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.5654, allocations: 0.5556 MB / 0.6154 GB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.5655, allocations: 3.938 kB / 0.6154 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-05/0.5656, allocations: 12 kB / 0.6154 GB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.5656, allocations: 11.98 kB / 0.6154 GB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.5671, allocations: 0.6299 MB / 0.616 GB, free: 4 MB / 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.002327/0.5694, allocations: 1.699 MB / 0.6177 GB, free: 2.152 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.5698, allocations: 165.2 kB / 0.6179 GB, free: 1.984 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.5699, allocations: 76.83 kB / 0.6179 GB, free: 1.906 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001512/0.5714, allocations: 1.479 MB / 0.6194 GB, free: 164 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.5715, allocations: 38.56 kB / 0.6194 GB, free: 116 kB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 2.134e-06/0.5715, allocations: 0 / 0.6194 GB, free: 116 kB / 446.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.001015/0.5725, allocations: 328 kB / 0.6197 GB, free: 15.79 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.5726, allocations: 55.41 kB / 0.6198 GB, free: 15.72 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.5728, allocations: 191 kB / 0.62 GB, free: 15.53 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.5728, allocations: 29.7 kB / 0.62 GB, free: 15.49 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.5729, allocations: 183.3 kB / 0.6202 GB, free: 15.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.573, allocations: 67.09 kB / 0.6202 GB, free: 15.24 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/0.5731, allocations: 37.7 kB / 0.6203 GB, free: 15.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5732, allocations: 330.8 kB / 0.6206 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.5734, allocations: 60.7 kB / 0.6206 GB, free: 14.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.5736, allocations: 267.8 kB / 0.6209 GB, free: 14.45 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000475/0.5741, allocations: 373.7 kB / 0.6212 GB, free: 13.99 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.5741, allocations: 0 / 0.6212 GB, free: 13.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006138/0.5748, allocations: 372.7 kB / 0.6216 GB, free: 13.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.5748, allocations: 8 kB / 0.6216 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.5748, allocations: 8.844 kB / 0.6216 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.5748, allocations: 8 kB / 0.6216 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.5753, allocations: 127.8 kB / 0.6217 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003565/0.5756, allocations: 0.6055 MB / 0.6223 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.5759, allocations: 43.53 kB / 0.6224 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.944e-05/0.5759, allocations: 43.98 kB / 0.6224 GB, free: 12.76 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.0001511/0.5761, allocations: 145.8 kB / 0.6226 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.5762, allocations: 19.81 kB / 0.6226 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009577/0.5771, allocations: 468.4 kB / 0.623 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.5771, allocations: 4 kB / 0.623 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.5771, allocations: 3.938 kB / 0.623 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5772, allocations: 0 / 0.623 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008871/0.578, allocations: 0.6352 MB / 0.6237 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.5781, allocations: 4 kB / 0.6237 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.5783, allocations: 59.89 kB / 0.6237 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.5783, allocations: 4 kB / 0.6237 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.5783, allocations: 11.94 kB / 0.6237 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003881/0.5787, allocations: 0.594 MB / 0.6243 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5787, allocations: 8.125 kB / 0.6243 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.5791, allocations: 296.9 kB / 0.6246 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.5792, allocations: 112.8 kB / 0.6247 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.5793, allocations: 7.938 kB / 0.6247 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.5795, allocations: 15.98 kB / 0.6247 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.5796, allocations: 19.92 kB / 0.6248 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.5796, allocations: 23.98 kB / 0.6248 GB, free: 10.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.5797, allocations: 139.6 kB / 0.6249 GB, free: 10.01 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5798, allocations: 0 / 0.6249 GB, free: 10.01 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006655/0.5804, allocations: 163.8 kB / 0.6251 GB, free: 9.852 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.001137/0.5816, allocations: 0.9988 MB / 0.626 GB, free: 8.812 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004864/0.5821, allocations: 220 kB / 0.6262 GB, free: 8.598 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.5821, allocations: 4 kB / 0.6263 GB, free: 8.594 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.5823, allocations: 89.2 kB / 0.6263 GB, free: 8.508 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005903/0.5829, allocations: 64.38 kB / 0.6264 GB, free: 8.445 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.5864, allocations: 3.099 MB / 0.6294 GB, free: 5.043 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.5867, allocations: 0.7284 MB / 0.6301 GB, free: 4.285 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008115/0.5875, allocations: 391.3 kB / 0.6305 GB, free: 3.902 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.5877, allocations: 87.33 kB / 0.6306 GB, free: 3.816 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5877, allocations: 0 / 0.6306 GB, free: 3.816 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.6071, allocations: 7.453 MB / 0.6379 GB, free: 12.53 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/0.6074, allocations: 265.2 kB / 0.6381 GB, free: 12.18 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/2.62, allocations: 0 / 0.6381 GB, free: 12.18 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