Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001585/0.001586, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001569/0.00157, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, 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.2186/0.2186, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 75.88 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3545, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.1666/0.5211, allocations: 153.3 MB / 0.6802 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007738/0.5289, allocations: 6.837 MB / 0.6869 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.5292, allocations: 0 / 0.6869 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000547/0.5298, allocations: 79.56 kB / 0.687 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006908/0.5367, allocations: 2.225 MB / 0.6891 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.5372, allocations: 146 kB / 0.6893 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00111/0.5383, allocations: 0.5138 MB / 0.6898 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.015e-05/0.5384, allocations: 20.3 kB / 0.6898 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000618/0.5391, allocations: 255 kB / 0.6901 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.5401, allocations: 486.5 kB / 0.6905 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.382e-05/0.5402, allocations: 12 kB / 0.6905 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005776/0.546, allocations: 2.635 MB / 0.6931 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.5462, allocations: 167.5 kB / 0.6933 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003354/0.5466, allocations: 211.1 kB / 0.6935 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003958/0.5505, allocations: 1.859 MB / 0.6953 GB, free: 8.484 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5506, allocations: 0 / 0.6953 GB, free: 8.484 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5506, allocations: 0 / 0.6953 GB, free: 8.484 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.946e-05/0.5506, allocations: 4 kB / 0.6953 GB, free: 8.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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002665/0.5533, allocations: 0.9889 MB / 0.6962 GB, free: 7.441 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.5533, allocations: 12.03 kB / 0.6963 GB, free: 7.43 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.5535, allocations: 86.7 kB / 0.6963 GB, free: 7.336 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00362/0.5571, allocations: 0.5 MB / 0.6968 GB, free: 6.836 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/0.5578, allocations: 371.3 kB / 0.6972 GB, free: 6.434 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.5579, allocations: 131.5 kB / 0.6973 GB, free: 6.281 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.558, allocations: 32 kB / 0.6973 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.5596, allocations: 1.109 MB / 0.6984 GB, free: 5.109 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.5596, allocations: 4 kB / 0.6984 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.075e-05/0.5597, allocations: 19.97 kB / 0.6984 GB, free: 5.086 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.324e-05/0.5598, allocations: 56.91 kB / 0.6985 GB, free: 5.031 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003069/0.5629, allocations: 2.264 MB / 0.7007 GB, free: 2.766 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.003491/0.5664, allocations: 2.637 MB / 0.7033 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.5666, allocations: 110.3 kB / 0.7034 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.097e-05/0.5667, allocations: 57.08 kB / 0.7034 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004023/0.5708, allocations: 3.269 MB / 0.7066 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.5708, allocations: 38.55 kB / 0.7067 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.5708, allocations: 3.938 kB / 0.7067 GB, free: 11.95 MB / 0.5606 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=16): time 0.001033/0.5719, allocations: 307 kB / 0.707 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.5719, allocations: 51.41 kB / 0.707 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003962/0.5723, allocations: 380.1 kB / 0.7074 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.5724, allocations: 37.64 kB / 0.7074 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.5726, allocations: 378.7 kB / 0.7078 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/0.5727, allocations: 71.47 kB / 0.7078 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.5729, allocations: 162.5 kB / 0.708 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.573, allocations: 338.8 kB / 0.7083 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.5732, allocations: 125.9 kB / 0.7084 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004923/0.5737, allocations: 0.5725 MB / 0.709 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008351/0.5746, allocations: 0.7453 MB / 0.7097 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/0.5746, allocations: 4 kB / 0.7097 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001422/0.576, allocations: 0.7463 MB / 0.7105 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.5761, allocations: 12 kB / 0.7105 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/0.5761, allocations: 16 kB / 0.7105 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.188e-05/0.5761, allocations: 20 kB / 0.7105 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/0.5766, allocations: 187.7 kB / 0.7107 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003496/0.577, allocations: 0.6171 MB / 0.7113 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/0.5774, allocations: 99.47 kB / 0.7114 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.146e-05/0.5775, allocations: 63.98 kB / 0.7114 GB, free: 6.531 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * 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.0002186/0.5777, allocations: 209.3 kB / 0.7116 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003316/0.5781, allocations: 91.67 kB / 0.7117 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003673/0.5785, allocations: 203.4 kB / 0.7119 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.5785, allocations: 48 / 0.7119 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5785, allocations: 3.984 kB / 0.7119 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.5785, allocations: 0 / 0.7119 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007565/0.5793, allocations: 0.5383 MB / 0.7125 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.5793, allocations: 4 kB / 0.7125 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.5794, allocations: 31.98 kB / 0.7125 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.5794, allocations: 0 / 0.7125 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.5794, allocations: 7.984 kB / 0.7125 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003384/0.5798, allocations: 0.594 MB / 0.7131 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5798, allocations: 0 / 0.7131 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.5801, allocations: 268 kB / 0.7133 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.5802, allocations: 116.8 kB / 0.7134 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.452e-05/0.5803, allocations: 7.875 kB / 0.7135 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.5806, allocations: 15.98 kB / 0.7135 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.5806, allocations: 11.92 kB / 0.7135 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.5807, allocations: 12 kB / 0.7135 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002401/0.5809, allocations: 239.2 kB / 0.7137 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5809, allocations: 7.938 kB / 0.7137 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001179/0.5821, allocations: 351.2 kB / 0.7141 GB, free: 3.68 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (13): * Single equations (assignments): 12 * 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.002246/0.5843, allocations: 1.332 MB / 0.7154 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000681/0.585, allocations: 341.7 kB / 0.7157 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.5851, allocations: 1.875 kB / 0.7157 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.5852, allocations: 51.78 kB / 0.7157 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/0.5857, allocations: 68.17 kB / 0.7158 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.32/0.9057, allocations: 10.2 MB / 0.7258 GB, free: 33.35 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.906, allocations: 0.7861 MB / 0.7265 GB, free: 32.65 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006239/0.9066, allocations: 241.9 kB / 0.7268 GB, free: 32.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.9068, allocations: 115.2 kB / 0.7269 GB, free: 32.64 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.9068, allocations: 0.5312 kB / 0.7269 GB, free: 32.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03289/0.9397, allocations: 13.01 MB / 0.7396 GB, free: 31.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.54, allocations: 8.438 kB / 0.7396 GB, free: 31.65 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches