Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001421/0.001421, allocations: 109.2 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2038/0.2038, allocations: 46.11 MB / 343.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0028/0.0028, allocations: 77.72 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1402, allocations: 62.45 MB / 479.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4198/0.5601, allocations: 150.8 MB / 0.6154 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008859/0.569, allocations: 5.39 MB / 0.6207 GB, free: 7.457 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002944/0.5694, allocations: 0 / 0.6207 GB, free: 7.457 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004655/0.5699, allocations: 47.72 kB / 0.6207 GB, free: 7.41 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005412/0.5754, allocations: 1.165 MB / 0.6219 GB, free: 6.242 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005044/0.5759, allocations: 145.7 kB / 0.622 GB, free: 6.109 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.577, allocations: 466.1 kB / 0.6224 GB, free: 5.652 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.217e-05/0.5771, allocations: 13.67 kB / 0.6225 GB, free: 5.641 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005662/0.5777, allocations: 171.3 kB / 0.6226 GB, free: 5.473 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.5782, allocations: 179.4 kB / 0.6228 GB, free: 5.297 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.271e-05/0.5783, allocations: 8 kB / 0.6228 GB, free: 5.289 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003775/0.5821, allocations: 1.061 MB / 0.6238 GB, free: 4.227 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.5823, allocations: 43.77 kB / 0.6239 GB, free: 4.184 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000274/0.5826, allocations: 107.5 kB / 0.624 GB, free: 4.078 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003164/0.5858, allocations: 0.8732 MB / 0.6248 GB, free: 3.203 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5858, allocations: 0 / 0.6248 GB, free: 3.203 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5858, allocations: 0 / 0.6248 GB, free: 3.203 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.5858, allocations: 4 kB / 0.6248 GB, free: 3.199 MB / 462.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.002209/0.588, allocations: 0.6795 MB / 0.6255 GB, free: 2.469 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.781e-05/0.5881, allocations: 8.875 kB / 0.6255 GB, free: 2.461 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.5882, allocations: 66.66 kB / 0.6256 GB, free: 2.387 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009598/0.5978, allocations: 0.6102 MB / 0.6262 GB, free: 1.777 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.5985, allocations: 263.5 kB / 0.6264 GB, free: 1.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.5986, allocations: 119.4 kB / 0.6265 GB, free: 1.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.5988, allocations: 27.94 kB / 0.6266 GB, free: 1.312 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.6002, allocations: 0.5673 MB / 0.6271 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.6002, allocations: 3.938 kB / 0.6271 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-05/0.6003, allocations: 12 kB / 0.6271 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.6003, allocations: 8 kB / 0.6271 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.6018, allocations: 0.626 MB / 0.6277 GB, free: 64 kB / 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.002967/0.6048, allocations: 1.717 MB / 0.6294 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.6053, allocations: 158.5 kB / 0.6296 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.6056, allocations: 72.83 kB / 0.6296 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002146/0.6077, allocations: 1.487 MB / 0.6311 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.6078, allocations: 34.56 kB / 0.6311 GB, free: 12.16 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 2.414e-06/0.6078, allocations: 0 / 0.6311 GB, free: 12.16 MB / 478.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.001428/0.6092, allocations: 317.5 kB / 0.6314 GB, free: 11.85 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.6093, allocations: 63.33 kB / 0.6315 GB, free: 11.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.6095, allocations: 191 kB / 0.6317 GB, free: 11.58 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.6096, allocations: 29.7 kB / 0.6317 GB, free: 11.54 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.6098, allocations: 175.3 kB / 0.6319 GB, free: 11.37 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.018e-05/0.6099, allocations: 71.08 kB / 0.6319 GB, free: 11.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.6101, allocations: 97.88 kB / 0.632 GB, free: 11.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6102, allocations: 334.8 kB / 0.6323 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.6105, allocations: 68.7 kB / 0.6324 GB, free: 10.79 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/0.6108, allocations: 260 kB / 0.6327 GB, free: 10.45 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007021/0.6116, allocations: 366.2 kB / 0.633 GB, free: 9.992 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.6116, allocations: 4 kB / 0.633 GB, free: 9.988 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009834/0.6126, allocations: 371.6 kB / 0.6334 GB, free: 9.621 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.6126, allocations: 8 kB / 0.6334 GB, free: 9.613 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.6127, allocations: 7.984 kB / 0.6334 GB, free: 9.605 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/0.6127, allocations: 12 kB / 0.6334 GB, free: 9.594 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.6133, allocations: 123.8 kB / 0.6335 GB, free: 9.473 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004557/0.6138, allocations: 0.6068 MB / 0.6341 GB, free: 8.844 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.6142, allocations: 47.53 kB / 0.6341 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.28e-05/0.6143, allocations: 40 kB / 0.6342 GB, free: 8.758 MB / 478.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.00023/0.6145, allocations: 145.6 kB / 0.6343 GB, free: 8.605 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.6147, allocations: 15.81 kB / 0.6343 GB, free: 8.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.6161, allocations: 462.2 kB / 0.6348 GB, free: 8.125 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.6161, allocations: 0 / 0.6348 GB, free: 8.125 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6161, allocations: 0 / 0.6348 GB, free: 8.125 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6161, allocations: 0 / 0.6348 GB, free: 8.125 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.6174, allocations: 0.639 MB / 0.6354 GB, free: 7.387 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.6174, allocations: 0 / 0.6354 GB, free: 7.387 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.6178, allocations: 61.47 kB / 0.6355 GB, free: 7.328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.6178, allocations: 4.25 kB / 0.6355 GB, free: 7.324 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.6178, allocations: 11.98 kB / 0.6355 GB, free: 7.312 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004025/0.6182, allocations: 0.5938 MB / 0.6361 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6183, allocations: 80 / 0.6361 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005249/0.6188, allocations: 306.1 kB / 0.6364 GB, free: 6.355 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.619, allocations: 112.8 kB / 0.6365 GB, free: 6.227 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.211e-05/0.619, allocations: 7.938 kB / 0.6365 GB, free: 6.219 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.6194, allocations: 23.92 kB / 0.6365 GB, free: 6.195 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.6195, allocations: 15.92 kB / 0.6365 GB, free: 6.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.887e-05/0.6195, allocations: 20.69 kB / 0.6365 GB, free: 6.16 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.6197, allocations: 131.9 kB / 0.6366 GB, free: 6.031 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6197, allocations: 0 / 0.6366 GB, free: 6.031 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001006/0.6207, allocations: 172 kB / 0.6368 GB, free: 5.863 MB / 478.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.001732/0.6225, allocations: 1.004 MB / 0.6378 GB, free: 4.816 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007764/0.6233, allocations: 221.3 kB / 0.638 GB, free: 4.602 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6233, allocations: 0 / 0.638 GB, free: 4.602 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.6236, allocations: 83.91 kB / 0.6381 GB, free: 4.52 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000844/0.6245, allocations: 68.38 kB / 0.6381 GB, free: 4.453 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005593/0.6301, allocations: 3.119 MB / 0.6412 GB, free: 1.031 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.6305, allocations: 0.7206 MB / 0.6419 GB, free: 288 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00132/0.6318, allocations: 387.8 kB / 0.6423 GB, free: 15.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.6322, allocations: 95.36 kB / 0.6424 GB, free: 15.81 MB / 494.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6322, allocations: 4 kB / 0.6424 GB, free: 15.81 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0276/0.6598, allocations: 7.631 MB / 0.6498 GB, free: 8.32 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/0.6601, allocations: 256.7 kB / 0.6501 GB, free: 7.969 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/2.822, allocations: 0 / 0.6501 GB, free: 7.969 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches