Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008478/0.0008477, allocations: 174.8 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.19/1.19, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007674/0.0007675, allocations: 85.05 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3205/0.3205, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003731, allocations: 12 kB / 432.1 MB, free: 5.746 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1134, allocations: 58.84 MB / 490.9 MB, free: 10.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3453/0.4588, allocations: 137.3 MB / 0.6135 GB, free: 13.53 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0049/0.4637, allocations: 4.347 MB / 0.6178 GB, free: 9.195 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.4639, allocations: 0 / 0.6178 GB, free: 9.195 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.4642, allocations: 35.73 kB / 0.6178 GB, free: 9.16 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003614/0.4678, allocations: 1.296 MB / 0.6191 GB, free: 7.863 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.4681, allocations: 131.1 kB / 0.6192 GB, free: 7.742 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005161/0.4687, allocations: 410.1 kB / 0.6196 GB, free: 7.34 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.567e-05/0.4687, allocations: 16.61 kB / 0.6196 GB, free: 7.328 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.469, allocations: 177.2 kB / 0.6198 GB, free: 7.156 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.4693, allocations: 167.5 kB / 0.6199 GB, free: 6.992 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.4693, allocations: 12 kB / 0.6199 GB, free: 6.98 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.4716, allocations: 1.174 MB / 0.6211 GB, free: 5.805 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.341e-05/0.4717, allocations: 47.8 kB / 0.6211 GB, free: 5.758 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.4718, allocations: 129.2 kB / 0.6212 GB, free: 5.625 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009597/0.4728, allocations: 0.6725 MB / 0.6219 GB, free: 4.953 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4728, allocations: 0 / 0.6219 GB, free: 4.953 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4728, allocations: 0 / 0.6219 GB, free: 4.953 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.4728, allocations: 0 / 0.6219 GB, free: 4.953 MB / 442.7 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.001205/0.4741, allocations: 0.6564 MB / 0.6225 GB, free: 4.254 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.4741, allocations: 8.031 kB / 0.6225 GB, free: 4.246 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.669e-05/0.4742, allocations: 58.73 kB / 0.6226 GB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007251/0.4815, allocations: 0.5996 MB / 0.6232 GB, free: 3.586 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.4819, allocations: 256.9 kB / 0.6234 GB, free: 3.297 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.482, allocations: 127.3 kB / 0.6236 GB, free: 3.148 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.622e-05/0.4822, allocations: 24 kB / 0.6236 GB, free: 3.125 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.4833, allocations: 0.5555 MB / 0.6241 GB, free: 2.543 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4833, allocations: 3.938 kB / 0.6241 GB, free: 2.539 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.502e-05/0.4834, allocations: 19.94 kB / 0.6241 GB, free: 2.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.4834, allocations: 8 kB / 0.6241 GB, free: 2.512 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.4848, allocations: 0.626 MB / 0.6248 GB, free: 1.887 MB / 442.7 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.001807/0.4866, allocations: 1.623 MB / 0.6263 GB, free: 140 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.4869, allocations: 167 kB / 0.6265 GB, free: 15.96 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.4871, allocations: 72.83 kB / 0.6266 GB, free: 15.89 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001816/0.4889, allocations: 2.088 MB / 0.6286 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.4889, allocations: 34.56 kB / 0.6286 GB, free: 13.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=20): time 2.314e-06/0.4889, allocations: 0 / 0.6286 GB, free: 13.41 MB / 458.7 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=20): time 0.0009156/0.4899, allocations: 346.6 kB / 0.629 GB, free: 13.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.4899, allocations: 55.41 kB / 0.629 GB, free: 13.01 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.4901, allocations: 182.2 kB / 0.6292 GB, free: 12.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.4901, allocations: 33.64 kB / 0.6292 GB, free: 12.78 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.215e-05/0.4902, allocations: 183.2 kB / 0.6294 GB, free: 12.59 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.975e-05/0.4903, allocations: 70.98 kB / 0.6295 GB, free: 12.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/0.4903, allocations: 16 kB / 0.6295 GB, free: 12.51 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4904, allocations: 326.8 kB / 0.6298 GB, free: 12.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.4905, allocations: 64.7 kB / 0.6299 GB, free: 12.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.4908, allocations: 259.8 kB / 0.6301 GB, free: 11.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.4912, allocations: 372 kB / 0.6305 GB, free: 11.31 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4912, allocations: 0 / 0.6305 GB, free: 11.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005657/0.4918, allocations: 369.3 kB / 0.6308 GB, free: 10.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.4918, allocations: 8 kB / 0.6308 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.4919, allocations: 8.547 kB / 0.6308 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.4919, allocations: 12 kB / 0.6308 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.4923, allocations: 119.8 kB / 0.631 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003576/0.4926, allocations: 0.6097 MB / 0.6316 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.4929, allocations: 46.34 kB / 0.6316 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.4929, allocations: 36 kB / 0.6316 GB, free: 10.09 MB / 458.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.4931, allocations: 145.6 kB / 0.6318 GB, free: 9.938 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.4931, allocations: 23.81 kB / 0.6318 GB, free: 9.914 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007558/0.4939, allocations: 324.6 kB / 0.6321 GB, free: 9.578 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4939, allocations: 4 kB / 0.6321 GB, free: 9.574 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4939, allocations: 3.984 kB / 0.6321 GB, free: 9.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4939, allocations: 0 / 0.6321 GB, free: 9.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006412/0.4946, allocations: 0.5168 MB / 0.6326 GB, free: 8.984 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.4946, allocations: 4.156 kB / 0.6326 GB, free: 8.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.4948, allocations: 63.89 kB / 0.6327 GB, free: 8.918 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4948, allocations: 0 / 0.6327 GB, free: 8.918 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.4949, allocations: 8 kB / 0.6327 GB, free: 8.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002986/0.4952, allocations: 0.586 MB / 0.6333 GB, free: 8.301 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.4952, allocations: 11.95 kB / 0.6333 GB, free: 8.289 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.4955, allocations: 271.6 kB / 0.6335 GB, free: 7.992 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.4956, allocations: 120.8 kB / 0.6336 GB, free: 7.855 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.4956, allocations: 0 / 0.6336 GB, free: 7.855 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.4959, allocations: 24.62 kB / 0.6337 GB, free: 7.832 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.4959, allocations: 19.86 kB / 0.6337 GB, free: 7.812 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.496, allocations: 19.98 kB / 0.6337 GB, free: 7.793 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.4961, allocations: 132.7 kB / 0.6338 GB, free: 7.664 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4961, allocations: 0 / 0.6338 GB, free: 7.664 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006454/0.4967, allocations: 200 kB / 0.634 GB, free: 7.469 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001286/0.498, allocations: 1.062 MB / 0.6351 GB, free: 6.379 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004699/0.4985, allocations: 223.9 kB / 0.6353 GB, free: 6.16 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4985, allocations: 0 / 0.6353 GB, free: 6.16 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.4987, allocations: 85.39 kB / 0.6354 GB, free: 6.078 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.4992, allocations: 52.22 kB / 0.6354 GB, free: 6.027 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/0.5033, allocations: 2.865 MB / 0.6382 GB, free: 3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.5036, allocations: 0.7283 MB / 0.6389 GB, free: 2.246 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.5038, allocations: 87.38 kB / 0.639 GB, free: 2.16 MB / 458.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5038, allocations: 4.188 kB / 0.639 GB, free: 2.156 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.443/3.946, allocations: 5.837 MB / 0.6447 GB, free: 12.32 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches