Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.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.001703/0.001703, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002158/0.002158, allocations: 207.6 kB / 23.73 MB, free: 4.379 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.234/0.234, allocations: 46.96 MB / 360.9 MB, free: 4.031 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.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.91 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3325, allocations: 66.03 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1637/0.4962, allocations: 131.6 MB / 0.6891 GB, free: 88 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002809/0.499, allocations: 1.963 MB / 0.691 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.314e-05/0.499, allocations: 4 kB / 0.691 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.4994, allocations: 59.66 kB / 0.6911 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.501, allocations: 0.6357 MB / 0.6917 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.5014, allocations: 115.7 kB / 0.6918 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004481/0.5019, allocations: 267 kB / 0.6921 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.661e-05/0.5019, allocations: 4 kB / 0.6921 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.5022, allocations: 150.8 kB / 0.6922 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.5024, allocations: 95.69 kB / 0.6923 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.5024, allocations: 12 kB / 0.6923 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.5038, allocations: 0.7753 MB / 0.6931 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.5039, allocations: 91.75 kB / 0.6932 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.504, allocations: 79.72 kB / 0.6933 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009459/0.505, allocations: 0.6506 MB / 0.6939 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.505, allocations: 4 kB / 0.6939 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.303e-06/0.505, allocations: 0 / 0.6939 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.505, allocations: 0 / 0.6939 GB, free: 11.19 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008134/0.5058, allocations: 441.4 kB / 0.6943 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.5059, allocations: 12.03 kB / 0.6943 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.043e-05/0.5059, allocations: 54.67 kB / 0.6944 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/0.5079, allocations: 272.5 kB / 0.6946 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004939/0.5084, allocations: 233.8 kB / 0.6949 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.5084, allocations: 16.33 kB / 0.6949 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.459e-05/0.5085, allocations: 16 kB / 0.6949 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008864/0.5094, allocations: 0.6396 MB / 0.6955 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5094, allocations: 0 / 0.6955 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-05/0.5095, allocations: 4 kB / 0.6955 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.5095, allocations: 8 kB / 0.6955 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008856/0.5104, allocations: 0.5816 MB / 0.6961 GB, free: 8.82 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.002282/0.5127, allocations: 0.9366 MB / 0.697 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.5131, allocations: 241.1 kB / 0.6972 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/0.5133, allocations: 181.6 kB / 0.6974 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009295/0.5143, allocations: 156 kB / 0.6976 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.5143, allocations: 42.56 kB / 0.6976 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.5143, allocations: 0 / 0.6976 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.001932/0.5162, allocations: 0.5944 MB / 0.6982 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.5163, allocations: 81.11 kB / 0.6983 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.5164, allocations: 125.8 kB / 0.6984 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/0.5165, allocations: 33.7 kB / 0.6984 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.5165, allocations: 116.5 kB / 0.6985 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.5166, allocations: 119 kB / 0.6986 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.5168, allocations: 69.48 kB / 0.6987 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5169, allocations: 334.8 kB / 0.699 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.5173, allocations: 187.8 kB / 0.6992 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004326/0.5177, allocations: 291.2 kB / 0.6995 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007739/0.5185, allocations: 488.6 kB / 0.6999 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5185, allocations: 7.938 kB / 0.7 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009678/0.5194, allocations: 0.5183 MB / 0.7005 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.5195, allocations: 4 kB / 0.7005 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.5195, allocations: 4 kB / 0.7005 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.5195, allocations: 4 kB / 0.7005 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005165/0.52, allocations: 84.23 kB / 0.7006 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.52, allocations: 11.98 kB / 0.7006 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.5204, allocations: 35.83 kB / 0.7006 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.5204, allocations: 12 kB / 0.7006 GB, free: 3.965 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001827/0.5206, allocations: 157.6 kB / 0.7008 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.5207, allocations: 15.91 kB / 0.7008 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.5217, allocations: 498.3 kB / 0.7013 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.5217, allocations: 4 kB / 0.7013 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.5217, allocations: 3.984 kB / 0.7013 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5217, allocations: 0 / 0.7013 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006988/0.5224, allocations: 385.2 kB / 0.7016 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5224, allocations: 4 kB / 0.7016 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005082/0.523, allocations: 59.95 kB / 0.7017 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.523, allocations: 4 kB / 0.7017 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.523, allocations: 11.98 kB / 0.7017 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.523, allocations: 3.938 kB / 0.7017 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.523, allocations: 0 / 0.7017 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.5241, allocations: 0.6884 MB / 0.7024 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.5242, allocations: 15.89 kB / 0.7024 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.5242, allocations: 8 kB / 0.7024 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004742/0.5247, allocations: 31.91 kB / 0.7024 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.5247, allocations: 19.97 kB / 0.7025 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.5248, allocations: 11.98 kB / 0.7025 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.494e-05/0.5249, allocations: 107.2 kB / 0.7026 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5249, allocations: 0 / 0.7026 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007052/0.5256, allocations: 167.5 kB / 0.7027 GB, free: 1.727 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002197/0.5278, allocations: 1.469 MB / 0.7042 GB, free: 236 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008319/0.5286, allocations: 428.5 kB / 0.7046 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5286, allocations: 0 / 0.7046 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.529, allocations: 207.8 kB / 0.7048 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007097/0.5297, allocations: 89.34 kB / 0.7049 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.534, allocations: 3.234 MB / 0.708 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.5342, allocations: 134.9 kB / 0.7081 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000457/0.5346, allocations: 105.8 kB / 0.7082 GB, free: 11.87 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.5348, allocations: 63.42 kB / 0.7083 GB, free: 11.8 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/0.5348, allocations: 0 / 0.7083 GB, free: 11.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04209/0.5769, allocations: 11.45 MB / 0.7195 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.31, allocations: 4.062 kB / 0.7195 GB, free: 0.5547 MB / 0.545 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.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: 14.33638506999705]