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.001455/0.001455, allocations: 117.8 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00167/0.00167, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.09 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002633/0.002634, allocations: 76.16 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3948, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1805/0.5754, allocations: 153 MB / 0.68 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006866/0.5823, allocations: 5.318 MB / 0.6852 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002742/0.5826, allocations: 3.938 kB / 0.6852 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.583, allocations: 55.66 kB / 0.6852 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004689/0.5878, allocations: 1.327 MB / 0.6865 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.5882, allocations: 145.3 kB / 0.6867 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008288/0.589, allocations: 394.1 kB / 0.687 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.834e-05/0.5891, allocations: 17.67 kB / 0.687 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004273/0.5895, allocations: 163.4 kB / 0.6872 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/0.59, allocations: 175.5 kB / 0.6874 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.72e-05/0.59, allocations: 8 kB / 0.6874 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002579/0.5926, allocations: 1.099 MB / 0.6885 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.982e-05/0.5927, allocations: 43.88 kB / 0.6885 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.5929, allocations: 119.4 kB / 0.6886 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001965/0.5949, allocations: 0.8537 MB / 0.6894 GB, free: 14.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5949, allocations: 0 / 0.6894 GB, free: 14.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5949, allocations: 0 / 0.6894 GB, free: 14.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.5949, allocations: 4 kB / 0.6894 GB, free: 14.48 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.001602/0.5965, allocations: 0.6788 MB / 0.6901 GB, free: 13.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.5966, allocations: 16.02 kB / 0.6901 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.263e-05/0.5967, allocations: 62.73 kB / 0.6902 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007603/0.6043, allocations: 0.6014 MB / 0.6908 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005821/0.6049, allocations: 267.2 kB / 0.691 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.6051, allocations: 123.4 kB / 0.6911 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.6052, allocations: 24 kB / 0.6912 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.6065, allocations: 0.5595 MB / 0.6917 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.6065, allocations: 3.938 kB / 0.6917 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.772e-05/0.6066, allocations: 12 kB / 0.6917 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.6066, allocations: 8 kB / 0.6917 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.608, allocations: 0.6338 MB / 0.6924 GB, free: 11.34 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.002297/0.6103, allocations: 1.721 MB / 0.694 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.6107, allocations: 154.5 kB / 0.6942 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.6108, allocations: 76.83 kB / 0.6943 GB, free: 9.234 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001564/0.6124, allocations: 1.479 MB / 0.6957 GB, free: 7.492 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.6125, allocations: 34.56 kB / 0.6957 GB, free: 7.449 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.713e-06/0.6125, allocations: 0 / 0.6957 GB, free: 7.449 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.001007/0.6135, allocations: 336.4 kB / 0.6961 GB, free: 7.117 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.6135, allocations: 51.41 kB / 0.6961 GB, free: 7.055 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.6137, allocations: 182.5 kB / 0.6963 GB, free: 6.867 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.6138, allocations: 29.7 kB / 0.6963 GB, free: 6.832 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.6139, allocations: 183.3 kB / 0.6965 GB, free: 6.645 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.278e-05/0.6139, allocations: 74.98 kB / 0.6965 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.6141, allocations: 97.95 kB / 0.6966 GB, free: 6.469 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.6142, allocations: 318.8 kB / 0.6969 GB, free: 6.148 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.6144, allocations: 68.7 kB / 0.697 GB, free: 6.082 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.6147, allocations: 264 kB / 0.6973 GB, free: 5.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.6151, allocations: 363.7 kB / 0.6976 GB, free: 5.281 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.6152, allocations: 4 kB / 0.6976 GB, free: 5.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006442/0.6158, allocations: 369 kB / 0.698 GB, free: 4.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.6158, allocations: 10.66 kB / 0.698 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.6159, allocations: 8 kB / 0.698 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.6159, allocations: 11.94 kB / 0.698 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.6163, allocations: 128.5 kB / 0.6981 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003851/0.6167, allocations: 0.6093 MB / 0.6987 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.617, allocations: 43.53 kB / 0.6988 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/0.617, allocations: 40 kB / 0.6988 GB, free: 4.043 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.0001563/0.6172, allocations: 149.6 kB / 0.6989 GB, free: 3.887 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.6173, allocations: 19.75 kB / 0.699 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008243/0.6181, allocations: 463 kB / 0.6994 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6181, allocations: 4 kB / 0.6994 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6181, allocations: 0 / 0.6994 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6181, allocations: 0 / 0.6994 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008532/0.619, allocations: 0.6432 MB / 0.7 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.619, allocations: 4 kB / 0.7 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.6192, allocations: 55.95 kB / 0.7001 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.6192, allocations: 0 / 0.7001 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.6193, allocations: 16 kB / 0.7001 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003219/0.6196, allocations: 0.6015 MB / 0.7007 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.6196, allocations: 256 / 0.7007 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.62, allocations: 298.1 kB / 0.701 GB, free: 1.617 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.6201, allocations: 108.8 kB / 0.7011 GB, free: 1.492 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.6202, allocations: 8 kB / 0.7011 GB, free: 1.484 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.6204, allocations: 15.98 kB / 0.7011 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.6205, allocations: 15.92 kB / 0.7011 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.6205, allocations: 23.98 kB / 0.7011 GB, free: 1.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001317/0.6207, allocations: 135.6 kB / 0.7013 GB, free: 1.297 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6207, allocations: 0 / 0.7013 GB, free: 1.297 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006812/0.6213, allocations: 163.9 kB / 0.7014 GB, free: 1.137 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.001288/0.6226, allocations: 1.01 MB / 0.7024 GB, free: 84 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005396/0.6232, allocations: 228.4 kB / 0.7026 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.6232, allocations: 4 kB / 0.7026 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.6234, allocations: 81.3 kB / 0.7027 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.624, allocations: 62.55 kB / 0.7028 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/0.6279, allocations: 3.057 MB / 0.7058 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.6282, allocations: 0.7285 MB / 0.7065 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006255/0.6288, allocations: 383.2 kB / 0.7068 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.629, allocations: 83.38 kB / 0.7069 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.629, allocations: 4 kB / 0.7069 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03993/0.669, allocations: 7.989 MB / 0.7147 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.02, allocations: 13.62 kB / 0.7147 GB, free: 3.273 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