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.001545/0.001545, allocations: 116 kB / 20.43 MB, free: 1.457 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.001836/0.001836, allocations: 209.3 kB / 23.74 MB, free: 4.672 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.42/1.42, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2305/0.2305, allocations: 46.94 MB / 360.9 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 67.89 kB / 0.4962 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3364, allocations: 66.06 MB / 0.5607 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.18/0.5164, allocations: 153.8 MB / 0.7108 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008513/0.5249, allocations: 6.856 MB / 0.7175 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002641/0.5252, allocations: 4 kB / 0.7175 GB, free: 3.191 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005073/0.5257, allocations: 83.5 kB / 0.7176 GB, free: 3.109 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006651/0.5323, allocations: 2.273 MB / 0.7198 GB, free: 0.832 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.5328, allocations: 151.1 kB / 0.72 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001027/0.5338, allocations: 0.5178 MB / 0.7205 GB, free: 172 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.547e-05/0.5339, allocations: 12.58 kB / 0.7205 GB, free: 156 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006478/0.5345, allocations: 266.9 kB / 0.7208 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.5356, allocations: 494.6 kB / 0.7212 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.583e-05/0.5356, allocations: 12 kB / 0.7212 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00604/0.5417, allocations: 2.803 MB / 0.724 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.5419, allocations: 167.5 kB / 0.7241 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003341/0.5423, allocations: 211.1 kB / 0.7243 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004612/0.5469, allocations: 1.866 MB / 0.7262 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.5469, allocations: 4 kB / 0.7262 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5469, allocations: 0 / 0.7262 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.762e-05/0.5469, allocations: 0 / 0.7262 GB, free: 10.34 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.003058/0.55, allocations: 0.9098 MB / 0.7271 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.55, allocations: 12.03 kB / 0.7271 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.5501, allocations: 82.7 kB / 0.7272 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003722/0.5538, allocations: 0.504 MB / 0.7276 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008013/0.5546, allocations: 321.5 kB / 0.728 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000217/0.5549, allocations: 230.3 kB / 0.7282 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.555, allocations: 35.94 kB / 0.7282 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.5569, allocations: 1.109 MB / 0.7293 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.5569, allocations: 3.984 kB / 0.7293 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-05/0.557, allocations: 19.92 kB / 0.7293 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.132e-05/0.5571, allocations: 52.97 kB / 0.7294 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003308/0.5604, allocations: 2.272 MB / 0.7316 GB, free: 4.652 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.003848/0.5642, allocations: 2.286 MB / 0.7338 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.5645, allocations: 102.5 kB / 0.7339 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.615e-05/0.5646, allocations: 49.09 kB / 0.734 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003777/0.5683, allocations: 1.389 MB / 0.7353 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.5684, allocations: 30.56 kB / 0.7353 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.395e-06/0.5684, allocations: 0 / 0.7353 GB, free: 0.6484 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.0011/0.5695, allocations: 309.2 kB / 0.7356 GB, free: 348 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.5695, allocations: 55.41 kB / 0.7357 GB, free: 280 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2403/0.8099, allocations: 372.7 kB / 0.736 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.322e-05/0.8099, allocations: 26.73 kB / 0.7361 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.8101, allocations: 379.4 kB / 0.7364 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.477e-05/0.8102, allocations: 68.33 kB / 0.7365 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.8104, allocations: 165.4 kB / 0.7367 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.751e-05/0.8105, allocations: 344.5 kB / 0.737 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.8108, allocations: 123.6 kB / 0.7371 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004337/0.8112, allocations: 0.5688 MB / 0.7377 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006561/0.8118, allocations: 0.7448 MB / 0.7384 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.8119, allocations: 4.75 kB / 0.7384 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001519/0.8134, allocations: 0.7523 MB / 0.7391 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.8134, allocations: 11.91 kB / 0.7391 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.8134, allocations: 15.88 kB / 0.7392 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.217e-05/0.8134, allocations: 22.44 kB / 0.7392 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/0.8139, allocations: 185.7 kB / 0.7393 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002581/0.8142, allocations: 0.6208 MB / 0.74 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/0.8146, allocations: 93.95 kB / 0.74 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.05e-05/0.8147, allocations: 57.28 kB / 0.7401 GB, free: 172.5 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.0001846/0.8149, allocations: 205.4 kB / 0.7403 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/0.8152, allocations: 90.95 kB / 0.7404 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.8155, allocations: 212.5 kB / 0.7406 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.8155, allocations: 0.7969 kB / 0.7406 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8155, allocations: 0 / 0.7406 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.8155, allocations: 4.719 kB / 0.7406 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.8161, allocations: 0.5073 MB / 0.7411 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.8161, allocations: 3.938 kB / 0.7411 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.8162, allocations: 32.33 kB / 0.7411 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.8162, allocations: 0 / 0.7411 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.8163, allocations: 11.56 kB / 0.7411 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001712/0.8164, allocations: 0.5912 MB / 0.7417 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8164, allocations: 3.938 kB / 0.7417 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.8166, allocations: 265.4 kB / 0.742 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.8167, allocations: 32.62 kB / 0.742 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.8168, allocations: 10.72 kB / 0.742 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.817, allocations: 10.88 kB / 0.742 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.817, allocations: 20.73 kB / 0.742 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.817, allocations: 9.672 kB / 0.742 GB, free: 171 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001891/0.8172, allocations: 241.7 kB / 0.7423 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8172, allocations: 0 / 0.7423 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001073/0.8183, allocations: 353 kB / 0.7426 GB, free: 170.8 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.001513/0.8198, allocations: 1.32 MB / 0.7439 GB, free: 170 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005284/0.8203, allocations: 332.1 kB / 0.7442 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8203, allocations: 0 / 0.7442 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.09e-05/0.8204, allocations: 47.59 kB / 0.7443 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.8209, allocations: 61.58 kB / 0.7443 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009793/0.8307, allocations: 10.22 MB / 0.7543 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.8309, allocations: 0.7918 MB / 0.7551 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004554/0.8313, allocations: 239.4 kB / 0.7553 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.8314, allocations: 115.4 kB / 0.7554 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of SimCode: time 6.02e-07/0.8315, allocations: 0 / 0.7554 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03818/0.8696, allocations: 13.5 MB / 0.7686 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.81, allocations: 0 / 0.7686 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: 16.891471593175083]