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.001338/0.001338, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001879/0.001879, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2293/0.2293, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001562, allocations: 67.89 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.386, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1673/0.5533, allocations: 153 MB / 0.68 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005987/0.5593, allocations: 5.322 MB / 0.6852 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.5596, allocations: 4 kB / 0.6852 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.5599, allocations: 55.66 kB / 0.6852 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004806/0.5648, allocations: 1.323 MB / 0.6865 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.5652, allocations: 142 kB / 0.6867 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007277/0.566, allocations: 398.1 kB / 0.687 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.316e-05/0.566, allocations: 9.688 kB / 0.6871 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003367/0.5664, allocations: 171.4 kB / 0.6872 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.5667, allocations: 175.4 kB / 0.6874 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.5668, allocations: 8 kB / 0.6874 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00316/0.57, allocations: 1.096 MB / 0.6885 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.5701, allocations: 51.75 kB / 0.6885 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.5703, allocations: 103.5 kB / 0.6886 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002434/0.5727, allocations: 0.8576 MB / 0.6894 GB, free: 14.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5727, allocations: 3.938 kB / 0.6895 GB, free: 14.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5727, allocations: 0 / 0.6895 GB, free: 14.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.928e-06/0.5728, allocations: 0 / 0.6895 GB, free: 14.45 MB / 0.545 GB 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.001583/0.5743, allocations: 0.6867 MB / 0.6901 GB, free: 13.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.5744, allocations: 8.031 kB / 0.6901 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.5745, allocations: 62.72 kB / 0.6902 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007788/0.5823, allocations: 0.6053 MB / 0.6908 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006254/0.583, allocations: 263.2 kB / 0.691 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.5831, allocations: 123.4 kB / 0.6911 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.5832, allocations: 20 kB / 0.6912 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.5844, allocations: 0.5634 MB / 0.6917 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.5844, allocations: 3.938 kB / 0.6917 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.586e-05/0.5845, allocations: 12 kB / 0.6917 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.5845, allocations: 4 kB / 0.6917 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.5861, allocations: 0.6299 MB / 0.6924 GB, free: 11.32 MB / 0.545 GB 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.002194/0.5883, allocations: 1.714 MB / 0.694 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.5886, allocations: 166.4 kB / 0.6942 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.5888, allocations: 76.86 kB / 0.6943 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/0.5902, allocations: 1.479 MB / 0.6957 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.5903, allocations: 38.56 kB / 0.6957 GB, free: 7.418 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 3.146e-06/0.5903, allocations: 7.984 kB / 0.6957 GB, free: 7.41 MB / 0.545 GB 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.00096/0.5913, allocations: 325.4 kB / 0.6961 GB, free: 7.086 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.5913, allocations: 55.41 kB / 0.6961 GB, free: 7.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.5915, allocations: 186.5 kB / 0.6963 GB, free: 6.828 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.5915, allocations: 33.7 kB / 0.6963 GB, free: 6.789 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.652e-05/0.5916, allocations: 179.3 kB / 0.6965 GB, free: 6.605 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.5917, allocations: 70.98 kB / 0.6966 GB, free: 6.535 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.5918, allocations: 93.97 kB / 0.6966 GB, free: 6.438 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.5919, allocations: 326.8 kB / 0.697 GB, free: 6.109 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.5921, allocations: 64.72 kB / 0.697 GB, free: 6.047 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.5923, allocations: 264 kB / 0.6973 GB, free: 5.695 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/0.5928, allocations: 370.1 kB / 0.6976 GB, free: 5.238 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.5928, allocations: 3.984 kB / 0.6976 GB, free: 5.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005971/0.5934, allocations: 357.9 kB / 0.698 GB, free: 4.879 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.5934, allocations: 8.938 kB / 0.698 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.5934, allocations: 8 kB / 0.698 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.5934, allocations: 12 kB / 0.698 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.5938, allocations: 131.8 kB / 0.6981 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003311/0.5942, allocations: 0.6054 MB / 0.6987 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.5944, allocations: 43.52 kB / 0.6988 GB, free: 4.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.569e-05/0.5945, allocations: 40 kB / 0.6988 GB, free: 4.012 MB / 0.545 GB 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.0001329/0.5946, allocations: 149.8 kB / 0.6989 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.5947, allocations: 27.73 kB / 0.699 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000775/0.5955, allocations: 454.3 kB / 0.6994 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.5955, allocations: 7.984 kB / 0.6994 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5955, allocations: 0 / 0.6994 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5955, allocations: 0 / 0.6994 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008072/0.5963, allocations: 0.6392 MB / 0.7 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.5963, allocations: 4 kB / 0.7 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.5966, allocations: 55.91 kB / 0.7001 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.5966, allocations: 4 kB / 0.7001 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.5966, allocations: 15.98 kB / 0.7001 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002801/0.5969, allocations: 0.5978 MB / 0.7007 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.5969, allocations: 4.031 kB / 0.7007 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.5972, allocations: 294.2 kB / 0.701 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.5974, allocations: 108.8 kB / 0.7011 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.5974, allocations: 11.98 kB / 0.7011 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.5976, allocations: 8 kB / 0.7011 GB, free: 1.441 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.5977, allocations: 27.91 kB / 0.7011 GB, free: 1.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.5977, allocations: 16 kB / 0.7011 GB, free: 1.398 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000121/0.5979, allocations: 135.6 kB / 0.7013 GB, free: 1.266 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5979, allocations: 0 / 0.7013 GB, free: 1.266 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006276/0.5985, allocations: 159.9 kB / 0.7014 GB, free: 1.109 MB / 0.545 GB 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.001109/0.5996, allocations: 1.014 MB / 0.7024 GB, free: 52 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005086/0.6001, allocations: 233.1 kB / 0.7026 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6001, allocations: 0 / 0.7026 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.6003, allocations: 80.27 kB / 0.7027 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005356/0.6009, allocations: 68.28 kB / 0.7028 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/0.6044, allocations: 3.053 MB / 0.7058 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.6047, allocations: 0.7206 MB / 0.7065 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005955/0.6053, allocations: 379.2 kB / 0.7068 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.6055, allocations: 99.3 kB / 0.7069 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.6055, allocations: 0 / 0.7069 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.6339, allocations: 7.985 MB / 0.7147 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.96, allocations: 13.75 kB / 0.7147 GB, free: 3.242 MB / 0.5606 GB (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