Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001273/0.001273, 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.001389/0.001389, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2216/0.2216, allocations: 44.91 MB / 359.6 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002894/0.002894, allocations: 63.91 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3276, allocations: 65.47 MB / 0.5578 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.1856/0.5132, allocations: 153.8 MB / 0.708 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008197/0.5214, allocations: 6.852 MB / 0.7147 GB, free: 6.488 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.5215, allocations: 0 / 0.7147 GB, free: 6.488 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.5219, allocations: 91.48 kB / 0.7148 GB, free: 6.398 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005479/0.5274, allocations: 2.274 MB / 0.717 GB, free: 4.117 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.5277, allocations: 158.8 kB / 0.7171 GB, free: 3.969 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007221/0.5284, allocations: 0.5178 MB / 0.7177 GB, free: 3.449 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.578e-05/0.5285, allocations: 16.58 kB / 0.7177 GB, free: 3.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004393/0.5289, allocations: 263 kB / 0.7179 GB, free: 3.172 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008385/0.5298, allocations: 494.5 kB / 0.7184 GB, free: 2.688 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.5298, allocations: 12 kB / 0.7184 GB, free: 2.676 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005239/0.5351, allocations: 2.794 MB / 0.7211 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.5352, allocations: 163.5 kB / 0.7213 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.5355, allocations: 219 kB / 0.7215 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003272/0.5387, allocations: 1.862 MB / 0.7233 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5387, allocations: 0 / 0.7233 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5387, allocations: 4 kB / 0.7233 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.5388, allocations: 0 / 0.7233 GB, free: 13.63 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.002391/0.5411, allocations: 0.9097 MB / 0.7242 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.5412, allocations: 12.03 kB / 0.7242 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.326e-05/0.5412, allocations: 13.17 kB / 0.7242 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.412e-05/0.5413, allocations: 86.7 kB / 0.7243 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003664/0.545, allocations: 0.4962 MB / 0.7248 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/0.5457, allocations: 317.3 kB / 0.7251 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.5459, allocations: 234.3 kB / 0.7253 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.546, allocations: 39.97 kB / 0.7254 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.5477, allocations: 1.101 MB / 0.7264 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.5477, allocations: 4 kB / 0.7264 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.912e-05/0.5478, allocations: 16 kB / 0.7265 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-05/0.5479, allocations: 56.91 kB / 0.7265 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003671/0.5515, allocations: 2.272 MB / 0.7287 GB, free: 7.941 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.00412/0.5557, allocations: 2.286 MB / 0.731 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.5559, allocations: 98.52 kB / 0.7311 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.556, allocations: 53.08 kB / 0.7311 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003511/0.5595, allocations: 1.397 MB / 0.7325 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.5596, allocations: 34.56 kB / 0.7325 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.5596, allocations: 0 / 0.7325 GB, free: 3.922 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.001093/0.5607, allocations: 308 kB / 0.7328 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.5607, allocations: 55.34 kB / 0.7329 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004091/0.5611, allocations: 384.1 kB / 0.7332 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.5611, allocations: 29.7 kB / 0.7332 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.5614, allocations: 370.8 kB / 0.7336 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/0.5614, allocations: 71.47 kB / 0.7337 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.5617, allocations: 162.5 kB / 0.7338 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.5618, allocations: 342.8 kB / 0.7341 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.562, allocations: 125.9 kB / 0.7343 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/0.5626, allocations: 0.5725 MB / 0.7348 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008418/0.5634, allocations: 0.7429 MB / 0.7356 GB, free: 308 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.5634, allocations: 4 kB / 0.7356 GB, free: 304 kB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.26/0.8235, allocations: 0.7355 MB / 0.7363 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.8235, allocations: 12.55 kB / 0.7363 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.16e-05/0.8236, allocations: 15.97 kB / 0.7363 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.469e-05/0.8236, allocations: 25.44 kB / 0.7363 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/0.8242, allocations: 187 kB / 0.7365 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002723/0.8245, allocations: 0.6149 MB / 0.7371 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/0.825, allocations: 97.08 kB / 0.7372 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.642e-05/0.825, allocations: 59.22 kB / 0.7373 GB, free: 176.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.0002077/0.8253, allocations: 210.5 kB / 0.7375 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003654/0.8256, allocations: 89.42 kB / 0.7375 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003846/0.826, allocations: 199 kB / 0.7377 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.826, allocations: 6.406 kB / 0.7377 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.826, allocations: 0.5938 kB / 0.7377 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.826, allocations: 3.312 kB / 0.7377 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006969/0.8267, allocations: 0.5146 MB / 0.7382 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.8267, allocations: 1.875 kB / 0.7382 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.8269, allocations: 32.55 kB / 0.7383 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.8269, allocations: 2.438 kB / 0.7383 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.8269, allocations: 3.484 kB / 0.7383 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001753/0.827, allocations: 0.59 MB / 0.7389 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.8271, allocations: 5.531 kB / 0.7389 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.8273, allocations: 264.5 kB / 0.7391 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-05/0.8274, allocations: 35.19 kB / 0.7391 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.053e-05/0.8274, allocations: 8.156 kB / 0.7392 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.8277, allocations: 9.984 kB / 0.7392 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.8277, allocations: 19.69 kB / 0.7392 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.8278, allocations: 11.88 kB / 0.7392 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002642/0.828, allocations: 239.8 kB / 0.7394 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.828, allocations: 0 / 0.7394 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001163/0.8292, allocations: 353.3 kB / 0.7398 GB, free: 175.3 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.001608/0.8308, allocations: 1.325 MB / 0.7411 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005324/0.8313, allocations: 331.6 kB / 0.7414 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8313, allocations: 0 / 0.7414 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.8314, allocations: 49.56 kB / 0.7414 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.8319, allocations: 66.47 kB / 0.7415 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.8425, allocations: 10.23 MB / 0.7515 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.8427, allocations: 0.784 MB / 0.7522 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004795/0.8432, allocations: 235.5 kB / 0.7525 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.8433, allocations: 119.4 kB / 0.7526 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/0.8433, allocations: 0 / 0.7526 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.8736, allocations: 13.53 MB / 0.7658 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.39, allocations: 6.812 kB / 0.7658 GB, free: 151.1 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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.815243037999608]