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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 116.7 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 189.2 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.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.2642/0.2642, allocations: 44.92 MB / 349.6 MB, free: 1.738 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 62.39 kB / 491.8 MB, free: 30 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.122, allocations: 64.25 MB / 0.543 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4981/0.6201, allocations: 150.9 MB / 0.6903 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008717/0.6288, allocations: 6.838 MB / 0.697 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.629, allocations: 0 / 0.697 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000469/0.6294, allocations: 88.59 kB / 0.6971 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005806/0.6352, allocations: 2.218 MB / 0.6993 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.6356, allocations: 143.5 kB / 0.6994 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006593/0.6362, allocations: 0.5142 MB / 0.6999 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.6363, allocations: 15.44 kB / 0.6999 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.6367, allocations: 254.5 kB / 0.7002 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007244/0.6374, allocations: 473.4 kB / 0.7006 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.6374, allocations: 12.56 kB / 0.7006 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005297/0.6427, allocations: 2.736 MB / 0.7033 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.6429, allocations: 163.5 kB / 0.7035 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003164/0.6432, allocations: 211 kB / 0.7037 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003839/0.6471, allocations: 1.855 MB / 0.7055 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6471, allocations: 0 / 0.7055 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6471, allocations: 4 kB / 0.7055 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.6471, allocations: 0 / 0.7055 GB, free: 8.348 MB / 0.4981 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.002744/0.6499, allocations: 0.985 MB / 0.7064 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.6499, allocations: 12.03 kB / 0.7064 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/0.65, allocations: 90.7 kB / 0.7065 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003764/0.6538, allocations: 0.4962 MB / 0.707 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009424/0.6547, allocations: 367.7 kB / 0.7074 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/0.6549, allocations: 135.4 kB / 0.7075 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.6551, allocations: 31.98 kB / 0.7075 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.657, allocations: 1.105 MB / 0.7086 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.657, allocations: 4 kB / 0.7086 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.6571, allocations: 12 kB / 0.7086 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.013e-05/0.6572, allocations: 60.97 kB / 0.7087 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003443/0.6606, allocations: 2.261 MB / 0.7109 GB, free: 2.648 MB / 0.4981 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.004768/0.6654, allocations: 2.64 MB / 0.7135 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.6657, allocations: 98.64 kB / 0.7136 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.6658, allocations: 52.89 kB / 0.7136 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005308/0.6711, allocations: 3.257 MB / 0.7168 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.6711, allocations: 34.56 kB / 0.7168 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 2.204e-06/0.6711, allocations: 0 / 0.7168 GB, free: 11.86 MB / 0.5137 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.001201/0.6723, allocations: 303.3 kB / 0.7171 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.6724, allocations: 59.39 kB / 0.7172 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005027/0.6729, allocations: 368.2 kB / 0.7175 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.673, allocations: 33.7 kB / 0.7176 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/0.6733, allocations: 382.7 kB / 0.7179 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.559e-05/0.6733, allocations: 59.52 kB / 0.718 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.6736, allocations: 170.5 kB / 0.7181 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.6737, allocations: 350.7 kB / 0.7185 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.6739, allocations: 126.5 kB / 0.7186 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006341/0.6746, allocations: 0.5647 MB / 0.7191 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.6756, allocations: 0.7448 MB / 0.7199 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-05/0.6756, allocations: 4 kB / 0.7199 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00157/0.6772, allocations: 0.7433 MB / 0.7206 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.6772, allocations: 13.88 kB / 0.7206 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/0.6773, allocations: 19.62 kB / 0.7206 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-05/0.6773, allocations: 24.78 kB / 0.7207 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005121/0.6778, allocations: 187.7 kB / 0.7208 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004543/0.6783, allocations: 0.621 MB / 0.7214 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/0.6787, allocations: 95.3 kB / 0.7215 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.344e-05/0.6788, allocations: 56 kB / 0.7216 GB, free: 6.461 MB / 0.5137 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.0002528/0.6791, allocations: 209.4 kB / 0.7218 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003433/0.6794, allocations: 91.72 kB / 0.7219 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004146/0.6798, allocations: 197 kB / 0.7221 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.6798, allocations: 0 / 0.7221 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.6799, allocations: 4 kB / 0.7221 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.6799, allocations: 3.984 kB / 0.7221 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009/0.6808, allocations: 0.5499 MB / 0.7226 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.6808, allocations: 4 kB / 0.7226 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.6809, allocations: 27.98 kB / 0.7226 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.6809, allocations: 4.188 kB / 0.7226 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.6809, allocations: 8 kB / 0.7227 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004466/0.6814, allocations: 0.5955 MB / 0.7232 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.6814, allocations: 4.031 kB / 0.7232 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.6817, allocations: 256 kB / 0.7235 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.6819, allocations: 112.9 kB / 0.7236 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.301e-05/0.6819, allocations: 7.938 kB / 0.7236 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.6822, allocations: 11.98 kB / 0.7236 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.6822, allocations: 11.98 kB / 0.7236 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.6822, allocations: 8 kB / 0.7236 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002795/0.6825, allocations: 243.2 kB / 0.7239 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6825, allocations: 0 / 0.7239 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001335/0.6838, allocations: 351.2 kB / 0.7242 GB, free: 3.625 MB / 0.5137 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.002536/0.6864, allocations: 1.345 MB / 0.7255 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000698/0.6871, allocations: 325.8 kB / 0.7258 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6871, allocations: 4.125 kB / 0.7258 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.6872, allocations: 43.86 kB / 0.7259 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005389/0.6877, allocations: 64.61 kB / 0.7259 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.7008, allocations: 8.734 MB / 0.7345 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.7012, allocations: 0.7879 MB / 0.7352 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006089/0.7018, allocations: 244.6 kB / 0.7355 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.702, allocations: 115.4 kB / 0.7356 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/0.702, allocations: 0 / 0.7356 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04294/0.745, allocations: 13.02 MB / 0.7483 GB, free: 10.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.94, allocations: 21.2 kB / 0.7483 GB, free: 10.48 MB / 0.545 GB " [Timeout remaining time 647] (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_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_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: 16.286622397135943]