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.001304/0.001304, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2369/0.2369, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001465, allocations: 75.86 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3516, allocations: 62.42 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.2084/0.5601, allocations: 153.3 MB / 0.6802 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008108/0.5682, allocations: 6.829 MB / 0.6869 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.5685, allocations: 0 / 0.6869 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004928/0.569, allocations: 83.5 kB / 0.687 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006032/0.575, allocations: 2.196 MB / 0.6891 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.5754, allocations: 149.6 kB / 0.6893 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008794/0.5763, allocations: 0.51 MB / 0.6898 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.106e-05/0.5764, allocations: 24.28 kB / 0.6898 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005759/0.577, allocations: 258.9 kB / 0.69 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009353/0.578, allocations: 474.6 kB / 0.6905 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.445e-05/0.578, allocations: 12 kB / 0.6905 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00511/0.5832, allocations: 2.643 MB / 0.6931 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.5834, allocations: 159.6 kB / 0.6932 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.5836, allocations: 215 kB / 0.6934 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003565/0.5872, allocations: 1.852 MB / 0.6952 GB, free: 8.473 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5872, allocations: 0 / 0.6952 GB, free: 8.473 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.206e-06/0.5872, allocations: 0 / 0.6952 GB, free: 8.473 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.739e-05/0.5873, allocations: 0 / 0.6952 GB, free: 8.473 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.003526/0.5908, allocations: 0.9753 MB / 0.6962 GB, free: 7.449 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.39e-05/0.5909, allocations: 12.03 kB / 0.6962 GB, free: 7.438 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001724/0.5911, allocations: 86.69 kB / 0.6963 GB, free: 7.344 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00374/0.5948, allocations: 0.496 MB / 0.6968 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000884/0.5957, allocations: 383.2 kB / 0.6971 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.5959, allocations: 127.5 kB / 0.6973 GB, free: 6.289 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.5961, allocations: 32 kB / 0.6973 GB, free: 6.258 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.5979, allocations: 1.105 MB / 0.6984 GB, free: 5.121 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.5979, allocations: 3.938 kB / 0.6984 GB, free: 5.117 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.598, allocations: 19.94 kB / 0.6984 GB, free: 5.098 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.62e-05/0.5981, allocations: 52.97 kB / 0.6984 GB, free: 5.047 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00319/0.6013, allocations: 2.268 MB / 0.7007 GB, free: 2.777 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.003838/0.6051, allocations: 2.636 MB / 0.7032 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.6054, allocations: 102.6 kB / 0.7033 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.292e-05/0.6055, allocations: 49.09 kB / 0.7034 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004241/0.6097, allocations: 3.289 MB / 0.7066 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.6098, allocations: 42.48 kB / 0.7066 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.6098, allocations: 0 / 0.7066 GB, free: 11.96 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.001035/0.6108, allocations: 298.8 kB / 0.7069 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.6109, allocations: 55.41 kB / 0.707 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.6113, allocations: 376 kB / 0.7073 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.6113, allocations: 33.7 kB / 0.7074 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.6115, allocations: 361.1 kB / 0.7077 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.656e-05/0.6116, allocations: 67.17 kB / 0.7078 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.6118, allocations: 166.3 kB / 0.7079 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.612, allocations: 346.8 kB / 0.7083 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.6122, allocations: 125.9 kB / 0.7084 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.6127, allocations: 0.5647 MB / 0.7089 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007779/0.6135, allocations: 0.7451 MB / 0.7097 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.6135, allocations: 4 kB / 0.7097 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001314/0.6148, allocations: 0.7411 MB / 0.7104 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.6149, allocations: 12 kB / 0.7104 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.6149, allocations: 16.91 kB / 0.7104 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/0.6149, allocations: 24 kB / 0.7104 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/0.6154, allocations: 187.7 kB / 0.7106 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003626/0.6158, allocations: 0.6209 MB / 0.7112 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.6162, allocations: 91.06 kB / 0.7113 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.291e-05/0.6163, allocations: 59.98 kB / 0.7114 GB, free: 6.574 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.000202/0.6165, allocations: 208.4 kB / 0.7116 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/0.6169, allocations: 91.58 kB / 0.7116 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003551/0.6172, allocations: 203.2 kB / 0.7118 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.6173, allocations: 3.984 kB / 0.7118 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6173, allocations: 3.938 kB / 0.7118 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.6173, allocations: 8 kB / 0.7119 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006708/0.618, allocations: 0.5267 MB / 0.7124 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.618, allocations: 4 kB / 0.7124 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.6181, allocations: 40.11 kB / 0.7124 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.6181, allocations: 0 / 0.7124 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.6181, allocations: 11.98 kB / 0.7124 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002817/0.6184, allocations: 0.586 MB / 0.713 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.6184, allocations: 0 / 0.713 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.6187, allocations: 256.4 kB / 0.7132 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.6188, allocations: 112.7 kB / 0.7133 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.6189, allocations: 11.94 kB / 0.7134 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.6191, allocations: 11.98 kB / 0.7134 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.6191, allocations: 15.92 kB / 0.7134 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.6192, allocations: 11.94 kB / 0.7134 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002251/0.6194, allocations: 243.2 kB / 0.7136 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6194, allocations: 0 / 0.7136 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001144/0.6206, allocations: 347.7 kB / 0.714 GB, free: 3.738 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.002296/0.6229, allocations: 1.336 MB / 0.7153 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006563/0.6235, allocations: 347.2 kB / 0.7156 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6235, allocations: 0 / 0.7156 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.6237, allocations: 63.84 kB / 0.7157 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.6242, allocations: 52.27 kB / 0.7157 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2538/0.8781, allocations: 10.18 MB / 0.7257 GB, free: 178 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.8783, allocations: 0.7872 MB / 0.7264 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005245/0.8789, allocations: 238.3 kB / 0.7266 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.879, allocations: 114.6 kB / 0.7268 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.302e-06/0.879, allocations: 1.156 kB / 0.7268 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0476/0.9266, allocations: 13.08 MB / 0.7395 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.7, allocations: 5.438 kB / 0.7395 GB, free: 168.6 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 & /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