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.001553/0.001553, allocations: 106.8 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001861/0.001861, allocations: 209.8 kB / 18.27 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2226/0.2226, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 79.06 kB / 417.1 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1359, allocations: 62.44 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4378/0.5738, allocations: 151.2 MB / 0.616 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008705/0.5825, allocations: 6.801 MB / 0.6226 GB, free: 5.699 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.5828, allocations: 0 / 0.6226 GB, free: 5.699 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004344/0.5833, allocations: 83.61 kB / 0.6227 GB, free: 5.617 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006069/0.5894, allocations: 2.057 MB / 0.6247 GB, free: 3.559 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.5898, allocations: 143 kB / 0.6249 GB, free: 3.422 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000848/0.5906, allocations: 0.5139 MB / 0.6254 GB, free: 2.906 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.073e-05/0.5907, allocations: 16.3 kB / 0.6254 GB, free: 2.891 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005653/0.5913, allocations: 267 kB / 0.6256 GB, free: 2.629 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009439/0.5923, allocations: 0.5182 MB / 0.6261 GB, free: 2.109 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.894e-05/0.5923, allocations: 12 kB / 0.6262 GB, free: 2.098 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005719/0.5981, allocations: 3.258 MB / 0.6293 GB, free: 14.84 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.5983, allocations: 167.5 kB / 0.6295 GB, free: 14.67 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.5985, allocations: 215 kB / 0.6297 GB, free: 14.46 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004198/0.6027, allocations: 2.151 MB / 0.6318 GB, free: 12.3 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6027, allocations: 4 kB / 0.6318 GB, free: 12.3 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6027, allocations: 0 / 0.6318 GB, free: 12.3 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.6028, allocations: 0 / 0.6318 GB, free: 12.3 MB / 478.1 MB 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.0026/0.6054, allocations: 0.9643 MB / 0.6328 GB, free: 11.29 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.6054, allocations: 15.97 kB / 0.6328 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.6055, allocations: 86.69 kB / 0.6328 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.6173, allocations: 1.269 MB / 0.6341 GB, free: 9.91 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00071/0.6181, allocations: 379.5 kB / 0.6345 GB, free: 9.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.6182, allocations: 131.4 kB / 0.6346 GB, free: 9.344 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/0.6184, allocations: 35.98 kB / 0.6346 GB, free: 9.309 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.621, allocations: 1.438 MB / 0.636 GB, free: 7.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.6211, allocations: 0 / 0.636 GB, free: 7.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.6212, allocations: 12 kB / 0.636 GB, free: 7.828 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.413e-05/0.6213, allocations: 52.97 kB / 0.6361 GB, free: 7.777 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005202/0.6265, allocations: 2.627 MB / 0.6386 GB, free: 5.145 MB / 478.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.004758/0.6313, allocations: 3.852 MB / 0.6424 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.6315, allocations: 82.45 kB / 0.6425 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.486e-05/0.6316, allocations: 41 kB / 0.6425 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004164/0.6358, allocations: 3.269 MB / 0.6457 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.6358, allocations: 34.56 kB / 0.6457 GB, free: 12.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 2.715e-06/0.6358, allocations: 0 / 0.6457 GB, free: 12.88 MB / 494.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=12): time 0.001365/0.6372, allocations: 348.9 kB / 0.6461 GB, free: 12.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.6373, allocations: 55.34 kB / 0.6461 GB, free: 12.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000431/0.6377, allocations: 389.2 kB / 0.6465 GB, free: 12.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.6377, allocations: 33.7 kB / 0.6465 GB, free: 12.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.638, allocations: 373 kB / 0.6469 GB, free: 11.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.6381, allocations: 43.45 kB / 0.6469 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.6383, allocations: 170.4 kB / 0.6471 GB, free: 11.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.6385, allocations: 342.8 kB / 0.6474 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.6387, allocations: 125.9 kB / 0.6475 GB, free: 10.99 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005488/0.6393, allocations: 0.5703 MB / 0.6481 GB, free: 10.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008672/0.6402, allocations: 0.7587 MB / 0.6488 GB, free: 9.215 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/0.6402, allocations: 4 kB / 0.6488 GB, free: 9.211 MB / 494.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001201/0.6414, allocations: 0.6853 MB / 0.6495 GB, free: 8.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.6415, allocations: 17.97 kB / 0.6495 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.6415, allocations: 19.94 kB / 0.6495 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/0.6415, allocations: 20 kB / 0.6496 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.642, allocations: 191.7 kB / 0.6498 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004313/0.6425, allocations: 0.6143 MB / 0.6504 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005494/0.643, allocations: 103.2 kB / 0.6504 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.531e-05/0.6431, allocations: 63.98 kB / 0.6505 GB, free: 7.477 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (91): * Single equations (assignments): 90 * 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.0002142/0.6433, allocations: 205.4 kB / 0.6507 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.6435, allocations: 39.56 kB / 0.6507 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.6438, allocations: 172.1 kB / 0.6509 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.6438, allocations: 4 kB / 0.6509 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.6438, allocations: 96 / 0.6509 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.6439, allocations: 3.938 kB / 0.6509 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006066/0.6445, allocations: 480 kB / 0.6514 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6445, allocations: 4.062 kB / 0.6514 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.6446, allocations: 23.98 kB / 0.6514 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.6446, allocations: 0 / 0.6514 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.6446, allocations: 4 kB / 0.6514 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002998/0.6449, allocations: 0.5881 MB / 0.652 GB, free: 5.859 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6449, allocations: 4.031 kB / 0.652 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.6452, allocations: 220.9 kB / 0.6522 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.6453, allocations: 116.7 kB / 0.6523 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.6454, allocations: 3.938 kB / 0.6523 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.6457, allocations: 8.547 kB / 0.6523 GB, free: 5.473 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.6457, allocations: 8 kB / 0.6523 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.6457, allocations: 11.98 kB / 0.6523 GB, free: 5.453 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002503/0.646, allocations: 251.2 kB / 0.6526 GB, free: 5.211 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.646, allocations: 0 / 0.6526 GB, free: 5.211 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001453/0.6474, allocations: 343.8 kB / 0.6529 GB, free: 4.875 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * 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.002717/0.6502, allocations: 1.307 MB / 0.6542 GB, free: 3.543 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006439/0.6508, allocations: 339.6 kB / 0.6545 GB, free: 3.215 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.6508, allocations: 64 / 0.6545 GB, free: 3.215 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.845e-05/0.6509, allocations: 39.92 kB / 0.6545 GB, free: 3.176 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.6514, allocations: 55.66 kB / 0.6546 GB, free: 3.125 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.6647, allocations: 9.461 MB / 0.6638 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.665, allocations: 0.7854 MB / 0.6646 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007527/0.6658, allocations: 255.9 kB / 0.6648 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.666, allocations: 119.4 kB / 0.665 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/0.666, allocations: 0 / 0.665 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.6975, allocations: 12.51 MB / 0.6772 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002473/0.6978, allocations: 282.2 kB / 0.6774 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/3.012, allocations: 0 / 0.6774 GB, free: 11.22 MB / 0.5137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/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