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.001174/0.001175, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001162/0.001162, allocations: 192 kB / 18.55 MB, free: 4.566 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 / 242.2 MB, free: 15.18 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.2074/0.2074, allocations: 44.19 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 61.19 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1165, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3311/0.4476, allocations: 150.1 MB / 0.605 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004867/0.4525, allocations: 5.314 MB / 0.6102 GB, free: 5.102 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/0.4526, allocations: 4 kB / 0.6102 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.4529, allocations: 55.59 kB / 0.6102 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002877/0.4558, allocations: 1.305 MB / 0.6115 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.4561, allocations: 153.2 kB / 0.6116 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004932/0.4566, allocations: 394.1 kB / 0.612 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.174e-05/0.4567, allocations: 9.688 kB / 0.612 GB, free: 3.195 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.4569, allocations: 167.3 kB / 0.6122 GB, free: 3.031 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.4572, allocations: 179.5 kB / 0.6124 GB, free: 2.855 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.4573, allocations: 8 kB / 0.6124 GB, free: 2.848 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.4592, allocations: 1.038 MB / 0.6134 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.4594, allocations: 47.75 kB / 0.6134 GB, free: 1.762 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.4595, allocations: 107.5 kB / 0.6135 GB, free: 1.656 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.4607, allocations: 0.8575 MB / 0.6144 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4607, allocations: 0 / 0.6144 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4607, allocations: 0 / 0.6144 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.4607, allocations: 0 / 0.6144 GB, free: 0.7969 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.001161/0.4619, allocations: 0.6796 MB / 0.615 GB, free: 72 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.462, allocations: 8.031 kB / 0.615 GB, free: 64 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.432e-05/0.462, allocations: 54.78 kB / 0.6151 GB, free: 16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007353/0.4694, allocations: 0.5936 MB / 0.6157 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.4698, allocations: 267.5 kB / 0.6159 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.4699, allocations: 127.4 kB / 0.616 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.954e-05/0.47, allocations: 23.98 kB / 0.6161 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.4711, allocations: 0.5595 MB / 0.6166 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.4711, allocations: 4 kB / 0.6166 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.909e-05/0.4712, allocations: 15.98 kB / 0.6166 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.4712, allocations: 8 kB / 0.6166 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.4725, allocations: 0.6298 MB / 0.6173 GB, free: 13.68 MB / 462.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.001926/0.4745, allocations: 1.711 MB / 0.6189 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.4748, allocations: 150.4 kB / 0.6191 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.4749, allocations: 76.83 kB / 0.6191 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.476, allocations: 1.479 MB / 0.6206 GB, free: 9.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.4761, allocations: 38.5 kB / 0.6206 GB, free: 9.793 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.4761, allocations: 0 / 0.6206 GB, free: 9.793 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.0008856/0.477, allocations: 328 kB / 0.6209 GB, free: 9.469 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.477, allocations: 51.41 kB / 0.621 GB, free: 9.406 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.4772, allocations: 182.5 kB / 0.6212 GB, free: 9.219 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.4772, allocations: 25.7 kB / 0.6212 GB, free: 9.188 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.181e-05/0.4773, allocations: 187.3 kB / 0.6214 GB, free: 9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.048e-05/0.4773, allocations: 71.09 kB / 0.6214 GB, free: 8.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.4775, allocations: 89.88 kB / 0.6215 GB, free: 8.836 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.4776, allocations: 338.7 kB / 0.6218 GB, free: 8.496 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.4777, allocations: 68.64 kB / 0.6219 GB, free: 8.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.4779, allocations: 259.8 kB / 0.6221 GB, free: 8.082 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/0.4783, allocations: 374.1 kB / 0.6225 GB, free: 7.621 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.4784, allocations: 7.938 kB / 0.6225 GB, free: 7.613 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005445/0.4789, allocations: 369.5 kB / 0.6229 GB, free: 7.246 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.4789, allocations: 8 kB / 0.6229 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.4789, allocations: 4 kB / 0.6229 GB, free: 7.234 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.479, allocations: 12 kB / 0.6229 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.4793, allocations: 124.7 kB / 0.623 GB, free: 7.102 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002862/0.4796, allocations: 0.6015 MB / 0.6236 GB, free: 6.477 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.4799, allocations: 51.81 kB / 0.6236 GB, free: 6.426 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/0.4799, allocations: 48.78 kB / 0.6237 GB, free: 6.379 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.0001184/0.48, allocations: 133.7 kB / 0.6238 GB, free: 6.238 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.4801, allocations: 19.81 kB / 0.6238 GB, free: 6.219 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000882/0.481, allocations: 470.9 kB / 0.6243 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.481, allocations: 0 / 0.6243 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.481, allocations: 0 / 0.6243 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.481, allocations: 3.984 kB / 0.6243 GB, free: 5.746 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007704/0.4818, allocations: 0.6431 MB / 0.6249 GB, free: 5.004 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.4818, allocations: 0 / 0.6249 GB, free: 5.004 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.482, allocations: 59.91 kB / 0.625 GB, free: 4.945 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.482, allocations: 0 / 0.625 GB, free: 4.945 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.4821, allocations: 12.25 kB / 0.625 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002491/0.4823, allocations: 0.6015 MB / 0.6256 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4823, allocations: 0 / 0.6256 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.4827, allocations: 304.8 kB / 0.6259 GB, free: 3.973 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.152e-05/0.4828, allocations: 104.8 kB / 0.626 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/0.4828, allocations: 7.938 kB / 0.626 GB, free: 3.844 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.483, allocations: 19.98 kB / 0.626 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.4831, allocations: 11.98 kB / 0.626 GB, free: 3.812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.4831, allocations: 23.98 kB / 0.626 GB, free: 3.789 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.4832, allocations: 135.6 kB / 0.6262 GB, free: 3.656 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.4832, allocations: 0 / 0.6262 GB, free: 3.656 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005729/0.4838, allocations: 167.8 kB / 0.6263 GB, free: 3.492 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.001027/0.4849, allocations: 1.003 MB / 0.6273 GB, free: 2.449 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004624/0.4853, allocations: 229.2 kB / 0.6275 GB, free: 2.227 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4853, allocations: 0 / 0.6275 GB, free: 2.227 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.4855, allocations: 84.33 kB / 0.6276 GB, free: 2.145 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.4861, allocations: 74.33 kB / 0.6277 GB, free: 2.078 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.4893, allocations: 2.995 MB / 0.6306 GB, free: 14.78 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.4895, allocations: 0.7207 MB / 0.6313 GB, free: 14.03 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007445/0.4903, allocations: 387.1 kB / 0.6317 GB, free: 13.65 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.4905, allocations: 83.38 kB / 0.6317 GB, free: 13.57 MB / 478.1 MB Notification: Performance of SimCode: time 1.512e-06/0.4905, allocations: 0 / 0.6317 GB, free: 13.57 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5803/1.071, allocations: 7.781 MB / 0.6393 GB, free: 5.902 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.37, allocations: 10.58 kB / 0.6393 GB, free: 5.898 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