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.001804/0.001804, allocations: 121 kB / 18.5 MB, free: 4.562 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.002529/0.002529, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.541/1.541, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2277/0.2277, allocations: 44.9 MB / 355.8 MB, free: 12.35 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.001991/0.001991, allocations: 67.89 kB / 0.4886 GB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1416, allocations: 65.42 MB / 0.5524 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.5009/0.6425, allocations: 153.8 MB / 0.7026 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008827/0.6514, allocations: 6.833 MB / 0.7093 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.6515, allocations: 4 kB / 0.7093 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.6519, allocations: 91.42 kB / 0.7094 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005762/0.6577, allocations: 2.216 MB / 0.7115 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.658, allocations: 139.6 kB / 0.7117 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007731/0.6588, allocations: 0.5139 MB / 0.7122 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.015e-05/0.6589, allocations: 19.09 kB / 0.7122 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004215/0.6593, allocations: 266.9 kB / 0.7124 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007695/0.6601, allocations: 486.5 kB / 0.7129 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.6601, allocations: 12 kB / 0.7129 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0051/0.6652, allocations: 2.751 MB / 0.7156 GB, free: 176 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.6654, allocations: 167.4 kB / 0.7158 GB, free: 8 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002668/0.6656, allocations: 219 kB / 0.716 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003115/0.6688, allocations: 1.855 MB / 0.7178 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.6688, allocations: 0 / 0.7178 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.446e-06/0.6688, allocations: 7.984 kB / 0.7178 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.6688, allocations: 0 / 0.7178 GB, free: 13.93 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.00249/0.6713, allocations: 0.9773 MB / 0.7187 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.6713, allocations: 12.03 kB / 0.7188 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.488e-05/0.6713, allocations: 13.19 kB / 0.7188 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.6714, allocations: 90.69 kB / 0.7188 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003805/0.6752, allocations: 0.5 MB / 0.7193 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007027/0.6759, allocations: 375.5 kB / 0.7197 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.6761, allocations: 131.5 kB / 0.7198 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.6762, allocations: 35.92 kB / 0.7199 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.6779, allocations: 1.101 MB / 0.7209 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.6779, allocations: 0 / 0.7209 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.678, allocations: 20 kB / 0.721 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.932e-05/0.6781, allocations: 52.97 kB / 0.721 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003422/0.6815, allocations: 2.272 MB / 0.7232 GB, free: 8.203 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.003994/0.6855, allocations: 2.629 MB / 0.7258 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.6858, allocations: 102.4 kB / 0.7259 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.6859, allocations: 49.08 kB / 0.7259 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004861/0.6907, allocations: 3.292 MB / 0.7291 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.6908, allocations: 34.56 kB / 0.7292 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=16): time 1.704e-06/0.6908, allocations: 0 / 0.7292 GB, free: 1.391 MB / 0.5294 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.00116/0.6919, allocations: 307.8 kB / 0.7295 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.692, allocations: 55.34 kB / 0.7295 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.6924, allocations: 380.1 kB / 0.7299 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.6924, allocations: 29.7 kB / 0.7299 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.6928, allocations: 378.8 kB / 0.7303 GB, free: 236 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.6928, allocations: 75.45 kB / 0.7303 GB, free: 160 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.693, allocations: 162.6 kB / 0.7305 GB, free: 15.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.6932, allocations: 338.8 kB / 0.7308 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.6934, allocations: 125.9 kB / 0.7309 GB, free: 15.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/0.694, allocations: 0.5686 MB / 0.7315 GB, free: 14.74 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008866/0.6949, allocations: 0.7447 MB / 0.7322 GB, free: 13.78 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.6949, allocations: 4 kB / 0.7322 GB, free: 13.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001435/0.6963, allocations: 0.7556 MB / 0.733 GB, free: 13.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.6963, allocations: 14.19 kB / 0.733 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.6964, allocations: 16 kB / 0.733 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-05/0.6964, allocations: 20 kB / 0.733 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.6969, allocations: 183.7 kB / 0.7332 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004315/0.6974, allocations: 0.6132 MB / 0.7338 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/0.6978, allocations: 99.25 kB / 0.7339 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.6979, allocations: 68.14 kB / 0.734 GB, free: 11.98 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.0002555/0.6982, allocations: 205.4 kB / 0.7341 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/0.6985, allocations: 91.67 kB / 0.7342 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/0.699, allocations: 196.7 kB / 0.7344 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.699, allocations: 4 kB / 0.7344 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.699, allocations: 0 / 0.7344 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.699, allocations: 0.875 kB / 0.7344 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007221/0.6997, allocations: 0.5383 MB / 0.735 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6997, allocations: 0 / 0.735 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.6998, allocations: 35.97 kB / 0.735 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.6998, allocations: 4 kB / 0.735 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.6998, allocations: 0 / 0.735 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003518/0.7002, allocations: 0.5939 MB / 0.7356 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.7002, allocations: 8.094 kB / 0.7356 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.7005, allocations: 260.1 kB / 0.7358 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.7006, allocations: 112.8 kB / 0.7359 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.568e-05/0.7007, allocations: 7.938 kB / 0.7359 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.7009, allocations: 11.98 kB / 0.736 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.7009, allocations: 11.98 kB / 0.736 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.701, allocations: 15.94 kB / 0.736 GB, free: 9.734 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002576/0.7012, allocations: 239.2 kB / 0.7362 GB, free: 9.504 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7012, allocations: 0 / 0.7362 GB, free: 9.504 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00131/0.7025, allocations: 355.2 kB / 0.7365 GB, free: 9.156 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.002151/0.7047, allocations: 1.325 MB / 0.7378 GB, free: 7.785 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007687/0.7055, allocations: 326.7 kB / 0.7382 GB, free: 7.469 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7055, allocations: 0 / 0.7382 GB, free: 7.469 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.7056, allocations: 51.84 kB / 0.7382 GB, free: 7.418 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.7062, allocations: 61.33 kB / 0.7383 GB, free: 7.359 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/0.7218, allocations: 10.22 MB / 0.7482 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.7222, allocations: 0.785 MB / 0.749 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006336/0.7229, allocations: 241.2 kB / 0.7492 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.7231, allocations: 119.4 kB / 0.7494 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/0.7231, allocations: 0 / 0.7494 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0379/0.761, allocations: 13.07 MB / 0.7621 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.49, allocations: 4.062 kB / 0.7621 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 646] (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.08069972699741]