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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 120.4 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 208.9 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2369/0.2369, allocations: 46.9 MB / 357.4 MB, free: 10.47 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 75.88 kB / 0.4913 GB, free: 8.312 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1458, allocations: 65.99 MB / 0.5557 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.451/0.5968, allocations: 153.7 MB / 0.7058 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007726/0.6045, allocations: 6.844 MB / 0.7125 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.6046, allocations: 0 / 0.7125 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.605, allocations: 79.55 kB / 0.7126 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005312/0.6103, allocations: 2.224 MB / 0.7148 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.6107, allocations: 149.4 kB / 0.7149 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007082/0.6114, allocations: 0.51 MB / 0.7154 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.6114, allocations: 12.84 kB / 0.7154 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.6119, allocations: 259.7 kB / 0.7157 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007952/0.6126, allocations: 494.5 kB / 0.7161 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/0.6127, allocations: 12 kB / 0.7162 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005373/0.6181, allocations: 2.751 MB / 0.7188 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.6183, allocations: 163.5 kB / 0.719 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.6185, allocations: 215 kB / 0.7192 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004037/0.6226, allocations: 1.855 MB / 0.721 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.6226, allocations: 0 / 0.721 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6226, allocations: 3.938 kB / 0.721 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.6226, allocations: 0 / 0.721 GB, free: 8.652 MB / 0.5294 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.002602/0.6252, allocations: 0.9889 MB / 0.722 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.6252, allocations: 8.031 kB / 0.722 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.6253, allocations: 90.69 kB / 0.7221 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003594/0.6289, allocations: 0.5087 MB / 0.7226 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008759/0.6298, allocations: 363.8 kB / 0.7229 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.63, allocations: 139.3 kB / 0.7231 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.6301, allocations: 35.97 kB / 0.7231 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.6317, allocations: 1.101 MB / 0.7242 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.6317, allocations: 0 / 0.7242 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-05/0.6318, allocations: 16 kB / 0.7242 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-05/0.6319, allocations: 52.97 kB / 0.7242 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003143/0.635, allocations: 2.272 MB / 0.7264 GB, free: 2.941 MB / 0.5294 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.003812/0.6389, allocations: 2.626 MB / 0.729 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.6391, allocations: 106.5 kB / 0.7291 GB, free: 4 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.6392, allocations: 49.08 kB / 0.7292 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004631/0.6438, allocations: 3.296 MB / 0.7324 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.6439, allocations: 34.56 kB / 0.7324 GB, free: 12.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.6439, allocations: 0 / 0.7324 GB, free: 12.12 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=16): time 0.001045/0.6449, allocations: 302.4 kB / 0.7327 GB, free: 11.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.6449, allocations: 51.41 kB / 0.7328 GB, free: 11.76 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.6453, allocations: 376.1 kB / 0.7331 GB, free: 11.39 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.6454, allocations: 33.64 kB / 0.7331 GB, free: 11.35 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.6456, allocations: 374.8 kB / 0.7335 GB, free: 10.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/0.6457, allocations: 75.45 kB / 0.7336 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.6459, allocations: 162.5 kB / 0.7337 GB, free: 10.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.646, allocations: 346.8 kB / 0.7341 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.6462, allocations: 125.9 kB / 0.7342 GB, free: 10.26 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/0.6467, allocations: 0.5647 MB / 0.7347 GB, free: 9.473 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000832/0.6476, allocations: 0.7485 MB / 0.7355 GB, free: 8.504 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.6476, allocations: 7.984 kB / 0.7355 GB, free: 8.496 MB / 0.545 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001334/0.6489, allocations: 0.7412 MB / 0.7362 GB, free: 7.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.6489, allocations: 12 kB / 0.7362 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.649, allocations: 16 kB / 0.7362 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.557e-05/0.649, allocations: 20.75 kB / 0.7362 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.6495, allocations: 187.7 kB / 0.7364 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004102/0.65, allocations: 0.621 MB / 0.737 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.6504, allocations: 99.25 kB / 0.7371 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-05/0.6504, allocations: 63.92 kB / 0.7372 GB, free: 6.715 MB / 0.545 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.0002159/0.6507, allocations: 205.4 kB / 0.7374 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003299/0.651, allocations: 91.77 kB / 0.7375 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/0.6514, allocations: 204.3 kB / 0.7377 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.6514, allocations: 0 / 0.7377 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6514, allocations: 0 / 0.7377 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6514, allocations: 0 / 0.7377 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007156/0.6521, allocations: 0.5366 MB / 0.7382 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6521, allocations: 0 / 0.7382 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.6522, allocations: 39.91 kB / 0.7382 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.6522, allocations: 4.188 kB / 0.7382 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.6522, allocations: 8 kB / 0.7382 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003291/0.6526, allocations: 0.586 MB / 0.7388 GB, free: 4.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6526, allocations: 7.875 kB / 0.7388 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.6528, allocations: 252.6 kB / 0.7391 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.653, allocations: 116.8 kB / 0.7392 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.653, allocations: 3.938 kB / 0.7392 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.6533, allocations: 22.11 kB / 0.7392 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.6533, allocations: 11.98 kB / 0.7392 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.6533, allocations: 12 kB / 0.7392 GB, free: 4.461 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002423/0.6535, allocations: 239.2 kB / 0.7394 GB, free: 4.227 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6535, allocations: 0 / 0.7394 GB, free: 4.227 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001092/0.6546, allocations: 351.2 kB / 0.7398 GB, free: 3.883 MB / 0.545 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.001969/0.6566, allocations: 1.342 MB / 0.7411 GB, free: 2.508 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005938/0.6572, allocations: 329.2 kB / 0.7414 GB, free: 2.191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6572, allocations: 4.125 kB / 0.7414 GB, free: 2.188 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.6573, allocations: 47.91 kB / 0.7414 GB, free: 2.141 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.6578, allocations: 58.91 kB / 0.7415 GB, free: 2.086 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/0.6722, allocations: 10.22 MB / 0.7515 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.6727, allocations: 0.7891 MB / 0.7523 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00061/0.6733, allocations: 240.2 kB / 0.7525 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.6735, allocations: 115.4 kB / 0.7526 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/0.6735, allocations: 0 / 0.7526 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0449/0.7184, allocations: 13.09 MB / 0.7654 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.21, allocations: 3.938 kB / 0.7654 GB, free: 9.18 MB / 0.5762 GB " [Timeout remaining time 647] (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 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.427671986166388]