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.001395/0.001395, allocations: 115.8 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.001586/0.001586, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 8 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.2245/0.2245, allocations: 46.93 MB / 360.9 MB, free: 4.266 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.001938/0.001938, allocations: 75.84 kB / 0.4962 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.339, allocations: 66.03 MB / 0.5606 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1836/0.5226, allocations: 153.1 MB / 0.7101 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00274/0.5253, allocations: 2.204 MB / 0.7123 GB, free: 8.582 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.5254, allocations: 0 / 0.7123 GB, free: 8.582 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003824/0.5258, allocations: 59.66 kB / 0.7123 GB, free: 8.523 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.5273, allocations: 0.6454 MB / 0.713 GB, free: 7.879 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.5276, allocations: 103.7 kB / 0.7131 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.528, allocations: 267 kB / 0.7133 GB, free: 7.516 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.528, allocations: 4 kB / 0.7133 GB, free: 7.512 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.5283, allocations: 143.4 kB / 0.7135 GB, free: 7.371 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.5285, allocations: 99.69 kB / 0.7135 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.5285, allocations: 8 kB / 0.7136 GB, free: 7.266 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.5301, allocations: 0.9001 MB / 0.7144 GB, free: 6.363 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.5302, allocations: 83.77 kB / 0.7145 GB, free: 6.281 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.5303, allocations: 99.58 kB / 0.7146 GB, free: 6.184 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009284/0.5313, allocations: 0.6642 MB / 0.7153 GB, free: 5.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5313, allocations: 0 / 0.7153 GB, free: 5.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5313, allocations: 0 / 0.7153 GB, free: 5.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.5313, allocations: 3.938 kB / 0.7153 GB, free: 5.516 MB / 0.545 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.0007883/0.5321, allocations: 441.5 kB / 0.7157 GB, free: 5.055 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.5321, allocations: 8.031 kB / 0.7157 GB, free: 5.047 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.477e-05/0.5322, allocations: 54.73 kB / 0.7157 GB, free: 4.984 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.5341, allocations: 272.5 kB / 0.716 GB, free: 4.719 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.5345, allocations: 225.8 kB / 0.7162 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.5345, allocations: 16.27 kB / 0.7162 GB, free: 4.457 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.412e-05/0.5346, allocations: 23.98 kB / 0.7163 GB, free: 4.434 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007706/0.5354, allocations: 496.7 kB / 0.7167 GB, free: 3.938 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.5354, allocations: 0 / 0.7167 GB, free: 3.938 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.233e-05/0.5355, allocations: 12 kB / 0.7167 GB, free: 3.926 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.5355, allocations: 8 kB / 0.7167 GB, free: 3.918 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008676/0.5363, allocations: 0.5816 MB / 0.7173 GB, free: 3.336 MB / 0.545 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.002297/0.5386, allocations: 0.995 MB / 0.7183 GB, free: 2.293 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.539, allocations: 229.1 kB / 0.7185 GB, free: 2.051 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.5393, allocations: 185.6 kB / 0.7187 GB, free: 1.863 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008187/0.5401, allocations: 147.8 kB / 0.7188 GB, free: 1.719 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.5401, allocations: 38.56 kB / 0.7189 GB, free: 1.672 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.5401, allocations: 0 / 0.7189 GB, free: 1.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.00188/0.542, allocations: 0.6059 MB / 0.7195 GB, free: 1.062 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.5421, allocations: 81.11 kB / 0.7195 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.5422, allocations: 133.8 kB / 0.7197 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.5423, allocations: 25.7 kB / 0.7197 GB, free: 0.793 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.05e-05/0.5424, allocations: 124.5 kB / 0.7198 GB, free: 0.668 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.415e-05/0.5425, allocations: 103.1 kB / 0.7199 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.5426, allocations: 73.47 kB / 0.72 GB, free: 500 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5428, allocations: 326.8 kB / 0.7203 GB, free: 164 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.5431, allocations: 188 kB / 0.7205 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004143/0.5435, allocations: 292.5 kB / 0.7207 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007521/0.5443, allocations: 492.5 kB / 0.7212 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.5443, allocations: 4 kB / 0.7212 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000931/0.5452, allocations: 0.5192 MB / 0.7217 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.5452, allocations: 8.094 kB / 0.7217 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5452, allocations: 4 kB / 0.7217 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.5453, allocations: 4 kB / 0.7217 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005092/0.5458, allocations: 79.89 kB / 0.7218 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.5458, allocations: 11.94 kB / 0.7218 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.5461, allocations: 35.77 kB / 0.7219 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/0.5462, allocations: 23.92 kB / 0.7219 GB, free: 14.43 MB / 0.5606 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.0001616/0.5463, allocations: 145.7 kB / 0.722 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.5465, allocations: 19.91 kB / 0.722 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009371/0.5474, allocations: 494 kB / 0.7225 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.5474, allocations: 4 kB / 0.7225 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.5474, allocations: 0 / 0.7225 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5474, allocations: 0 / 0.7225 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007103/0.5481, allocations: 432.9 kB / 0.7229 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5481, allocations: 0 / 0.7229 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/0.5486, allocations: 63.89 kB / 0.723 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5486, allocations: 3.938 kB / 0.723 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/0.5486, allocations: 11.98 kB / 0.723 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.5486, allocations: 8 kB / 0.723 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5487, allocations: 4 kB / 0.723 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.5497, allocations: 0.69 MB / 0.7237 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.5498, allocations: 15.84 kB / 0.7237 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.5498, allocations: 8 kB / 0.7237 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.5503, allocations: 23.97 kB / 0.7237 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.5503, allocations: 19.97 kB / 0.7237 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.26e-05/0.5504, allocations: 15.98 kB / 0.7238 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.185e-05/0.5504, allocations: 103.2 kB / 0.7239 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5504, allocations: 0 / 0.7239 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006216/0.5511, allocations: 163.6 kB / 0.724 GB, free: 12.16 MB / 0.5606 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.00203/0.5531, allocations: 1.463 MB / 0.7254 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008041/0.5539, allocations: 428.1 kB / 0.7259 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.5539, allocations: 192 / 0.7259 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.5542, allocations: 219.9 kB / 0.7261 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.5549, allocations: 102.5 kB / 0.7262 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/0.5592, allocations: 3.226 MB / 0.7293 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.5595, allocations: 0.7439 MB / 0.73 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004366/0.56, allocations: 113.8 kB / 0.7301 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.5602, allocations: 55.42 kB / 0.7302 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.5602, allocations: 4 kB / 0.7302 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2759/0.8361, allocations: 10.72 MB / 0.7407 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.73, allocations: 15.88 kB / 0.7407 GB, free: 174.3 MB / 0.5606 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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] "Error: Could not read variable medium2.p in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.T in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.T from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.p in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.p from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.728632694001135]