Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002317/0.002317, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2247/0.2247, allocations: 46.94 MB / 361.7 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 67.91 kB / 0.4969 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3147, allocations: 66.03 MB / 0.5614 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.1918/0.5065, allocations: 153.8 MB / 0.7116 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009638/0.5162, allocations: 6.848 MB / 0.7183 GB, free: 3.211 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.5165, allocations: 4 kB / 0.7183 GB, free: 3.207 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000586/0.517, allocations: 91.48 kB / 0.7184 GB, free: 3.117 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007233/0.5243, allocations: 2.266 MB / 0.7206 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.5247, allocations: 154.8 kB / 0.7208 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008598/0.5255, allocations: 0.5178 MB / 0.7213 GB, free: 184 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.485e-05/0.5256, allocations: 20.58 kB / 0.7213 GB, free: 160 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005166/0.5261, allocations: 263 kB / 0.7215 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009327/0.5271, allocations: 494.5 kB / 0.722 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.5271, allocations: 12 kB / 0.722 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00627/0.5334, allocations: 2.795 MB / 0.7248 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.5336, allocations: 163.5 kB / 0.7249 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.5339, allocations: 219 kB / 0.7251 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004794/0.5387, allocations: 1.863 MB / 0.7269 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5387, allocations: 4 kB / 0.7269 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5387, allocations: 0 / 0.7269 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.5387, allocations: 0 / 0.7269 GB, free: 10.36 MB / 0.5606 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.002706/0.5414, allocations: 0.9175 MB / 0.7278 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/0.5415, allocations: 8.031 kB / 0.7278 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.869e-05/0.5415, allocations: 9.188 kB / 0.7279 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.5416, allocations: 90.69 kB / 0.7279 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003696/0.5453, allocations: 0.4962 MB / 0.7284 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000703/0.546, allocations: 321.3 kB / 0.7287 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.5462, allocations: 238.3 kB / 0.729 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.5463, allocations: 28 kB / 0.729 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.548, allocations: 1.105 MB / 0.7301 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.5481, allocations: 8 kB / 0.7301 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.496e-05/0.5482, allocations: 16 kB / 0.7301 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.95e-05/0.5482, allocations: 56.89 kB / 0.7301 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003448/0.5517, allocations: 2.272 MB / 0.7324 GB, free: 4.656 MB / 0.5606 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.003719/0.5554, allocations: 2.29 MB / 0.7346 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.5556, allocations: 98.61 kB / 0.7347 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.335e-05/0.5557, allocations: 45.05 kB / 0.7347 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003602/0.5593, allocations: 1.389 MB / 0.7361 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.045e-05/0.5594, allocations: 34.56 kB / 0.7361 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.5594, allocations: 11.88 kB / 0.7361 GB, free: 0.6406 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.00113/0.5605, allocations: 307.9 kB / 0.7364 GB, free: 344 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.5606, allocations: 55.34 kB / 0.7365 GB, free: 276 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2448/0.8054, allocations: 370.7 kB / 0.7368 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.453e-05/0.8054, allocations: 34.17 kB / 0.7369 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.8057, allocations: 367.7 kB / 0.7372 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.8e-05/0.8057, allocations: 76.61 kB / 0.7373 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.806, allocations: 162.9 kB / 0.7374 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.809e-05/0.8061, allocations: 340.7 kB / 0.7378 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.8064, allocations: 129.4 kB / 0.7379 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005291/0.8069, allocations: 0.5713 MB / 0.7385 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000822/0.8077, allocations: 0.7415 MB / 0.7392 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/0.8077, allocations: 4.75 kB / 0.7392 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0018/0.8095, allocations: 0.7457 MB / 0.7399 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.8096, allocations: 11.81 kB / 0.7399 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.8096, allocations: 18.06 kB / 0.7399 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.685e-05/0.8096, allocations: 19.72 kB / 0.74 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005171/0.8101, allocations: 192.3 kB / 0.7401 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003289/0.8105, allocations: 0.615 MB / 0.7407 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005437/0.811, allocations: 95.36 kB / 0.7408 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.147e-05/0.8111, allocations: 57.66 kB / 0.7409 GB, free: 172.9 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.0002434/0.8113, allocations: 214.5 kB / 0.7411 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003495/0.8117, allocations: 90.77 kB / 0.7412 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.812, allocations: 198.5 kB / 0.7414 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.812, allocations: 4.625 kB / 0.7414 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.812, allocations: 3.828 kB / 0.7414 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.812, allocations: 0.6562 kB / 0.7414 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/0.8126, allocations: 0.5063 MB / 0.7419 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8126, allocations: 0 / 0.7419 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.8127, allocations: 36.28 kB / 0.7419 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.8127, allocations: 3.969 kB / 0.7419 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.8127, allocations: 3.969 kB / 0.7419 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001732/0.8129, allocations: 0.5982 MB / 0.7425 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.8129, allocations: 3.875 kB / 0.7425 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.8131, allocations: 263.1 kB / 0.7427 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.507e-05/0.8132, allocations: 35.83 kB / 0.7428 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/0.8132, allocations: 6.094 kB / 0.7428 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.8135, allocations: 11.16 kB / 0.7428 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.8135, allocations: 12.19 kB / 0.7428 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.8135, allocations: 13.77 kB / 0.7428 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001918/0.8137, allocations: 241.7 kB / 0.7431 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8137, allocations: 0 / 0.7431 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001283/0.815, allocations: 351.2 kB / 0.7434 GB, free: 171.2 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.001656/0.8166, allocations: 1.321 MB / 0.7447 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005563/0.8172, allocations: 330.4 kB / 0.745 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8172, allocations: 320 / 0.745 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.601e-05/0.8173, allocations: 46.78 kB / 0.745 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.8178, allocations: 65.31 kB / 0.7451 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.8279, allocations: 10.22 MB / 0.7551 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.8281, allocations: 0.7918 MB / 0.7559 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000457/0.8286, allocations: 239.9 kB / 0.7561 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.8287, allocations: 111.4 kB / 0.7562 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of SimCode: time 7.22e-07/0.8287, allocations: 4 kB / 0.7562 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03062/0.8593, allocations: 13.53 MB / 0.7694 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.17, allocations: 8 kB / 0.7694 GB, free: 145.8 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 17.520633522013668]