Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00181/0.00181, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002015/0.002015, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 230.5 MB / 257.4 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.232/0.232, allocations: 46.93 MB / 360.8 MB, free: 4.164 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 83.88 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3421, allocations: 66.08 MB / 0.5607 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1782/0.5203, allocations: 153.1 MB / 0.7102 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002742/0.523, allocations: 2.196 MB / 0.7123 GB, free: 8.406 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.861e-05/0.5231, allocations: 0 / 0.7123 GB, free: 8.406 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.5234, allocations: 59.64 kB / 0.7124 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.525, allocations: 0.6492 MB / 0.713 GB, free: 7.699 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.5253, allocations: 107 kB / 0.7131 GB, free: 7.598 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00036/0.5257, allocations: 263 kB / 0.7134 GB, free: 7.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.5257, allocations: 4 kB / 0.7134 GB, free: 7.336 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002976/0.526, allocations: 155.4 kB / 0.7135 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.5262, allocations: 95.64 kB / 0.7136 GB, free: 7.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.5262, allocations: 12 kB / 0.7136 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.5279, allocations: 0.8923 MB / 0.7145 GB, free: 6.184 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.528, allocations: 87.81 kB / 0.7146 GB, free: 6.098 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.5281, allocations: 99.53 kB / 0.7147 GB, free: 6 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.5291, allocations: 0.6565 MB / 0.7153 GB, free: 5.344 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5291, allocations: 0 / 0.7153 GB, free: 5.344 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5292, allocations: 3.938 kB / 0.7153 GB, free: 5.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.5292, allocations: 0 / 0.7153 GB, free: 5.34 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.0008048/0.53, allocations: 445.5 kB / 0.7158 GB, free: 4.875 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.53, allocations: 8.031 kB / 0.7158 GB, free: 4.867 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.777e-05/0.5301, allocations: 54.73 kB / 0.7158 GB, free: 4.805 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/0.5321, allocations: 272.5 kB / 0.7161 GB, free: 4.539 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004895/0.5326, allocations: 225.8 kB / 0.7163 GB, free: 4.293 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.5326, allocations: 12.33 kB / 0.7163 GB, free: 4.281 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.265e-05/0.5326, allocations: 16 kB / 0.7163 GB, free: 4.266 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007902/0.5334, allocations: 0.4928 MB / 0.7168 GB, free: 3.762 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.5334, allocations: 0 / 0.7168 GB, free: 3.762 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.177e-05/0.5335, allocations: 8 kB / 0.7168 GB, free: 3.754 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/0.5335, allocations: 15.92 kB / 0.7168 GB, free: 3.738 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008841/0.5344, allocations: 0.5817 MB / 0.7174 GB, free: 3.156 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.002359/0.5368, allocations: 0.9833 MB / 0.7184 GB, free: 2.125 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/0.5372, allocations: 233.1 kB / 0.7186 GB, free: 1.879 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.5374, allocations: 177.6 kB / 0.7187 GB, free: 1.699 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008803/0.5383, allocations: 163.8 kB / 0.7189 GB, free: 1.539 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.5384, allocations: 42.55 kB / 0.7189 GB, free: 1.488 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 2.064e-06/0.5384, allocations: 0 / 0.7189 GB, free: 1.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001945/0.5403, allocations: 0.606 MB / 0.7195 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.5404, allocations: 81.11 kB / 0.7196 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.5405, allocations: 125.8 kB / 0.7197 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.5405, allocations: 29.7 kB / 0.7198 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.748e-05/0.5406, allocations: 120.5 kB / 0.7199 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.5407, allocations: 107.1 kB / 0.72 GB, free: 396 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.5408, allocations: 77.41 kB / 0.7201 GB, free: 312 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.541, allocations: 330.8 kB / 0.7204 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.5413, allocations: 179.9 kB / 0.7205 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/0.5418, allocations: 292.5 kB / 0.7208 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007817/0.5425, allocations: 0.4955 MB / 0.7213 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5425, allocations: 0 / 0.7213 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001009/0.5435, allocations: 0.517 MB / 0.7218 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.5436, allocations: 6.188 kB / 0.7218 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.5436, allocations: 4 kB / 0.7218 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.5436, allocations: 8 kB / 0.7218 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005272/0.5441, allocations: 75.89 kB / 0.7219 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.5441, allocations: 7.938 kB / 0.7219 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.5445, allocations: 43.75 kB / 0.7219 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.5446, allocations: 16 kB / 0.722 GB, free: 14.25 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.0001941/0.5448, allocations: 151.1 kB / 0.7221 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.5449, allocations: 15.91 kB / 0.7221 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009855/0.5459, allocations: 490 kB / 0.7226 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.5459, allocations: 4 kB / 0.7226 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5459, allocations: 0 / 0.7226 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.5459, allocations: 3.984 kB / 0.7226 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007887/0.5467, allocations: 436.8 kB / 0.723 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.5467, allocations: 0 / 0.723 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004951/0.5472, allocations: 59.91 kB / 0.7231 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.5472, allocations: 0 / 0.7231 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.5472, allocations: 15.98 kB / 0.7231 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5472, allocations: 4 kB / 0.7231 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5472, allocations: 0 / 0.7231 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.5483, allocations: 0.6942 MB / 0.7238 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.5484, allocations: 15.84 kB / 0.7238 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.5484, allocations: 11.98 kB / 0.7238 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000458/0.5489, allocations: 27.97 kB / 0.7238 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.5489, allocations: 19.95 kB / 0.7238 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.549, allocations: 16 kB / 0.7239 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.47e-05/0.5491, allocations: 99.25 kB / 0.7239 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5491, allocations: 0 / 0.7239 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007225/0.5498, allocations: 171.6 kB / 0.7241 GB, free: 11.97 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.002249/0.552, allocations: 1.466 MB / 0.7255 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008161/0.5529, allocations: 424.3 kB / 0.7259 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5529, allocations: 8.062 kB / 0.726 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003621/0.5532, allocations: 207.8 kB / 0.7262 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007586/0.554, allocations: 92.14 kB / 0.7262 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004607/0.5586, allocations: 3.233 MB / 0.7294 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.559, allocations: 0.7439 MB / 0.7301 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004607/0.5594, allocations: 109.8 kB / 0.7302 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.5596, allocations: 55.42 kB / 0.7303 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/0.5596, allocations: 4 kB / 0.7303 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2843/0.8439, allocations: 10.73 MB / 0.7408 GB, free: 174 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.98, allocations: 6.516 kB / 0.7408 GB, free: 173.9 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.T in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.T from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.p in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.p from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.20393315799447]