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.001729/0.001729, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002182/0.002182, allocations: 216.6 kB / 24.54 MB, free: 4.02 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.434/1.434, allocations: 230.3 MB / 258 MB, free: 8.219 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.2195/0.2195, allocations: 46.88 MB / 361.3 MB, free: 4.445 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.002217/0.002217, allocations: 83.86 kB / 0.4966 GB, free: 8.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.36, allocations: 66.02 MB / 0.561 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1829/0.5429, allocations: 153.1 MB / 0.7105 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002923/0.5458, allocations: 2.2 MB / 0.7127 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.542e-05/0.5459, allocations: 0 / 0.7127 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003949/0.5463, allocations: 59.66 kB / 0.7127 GB, free: 8.754 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001691/0.548, allocations: 0.6454 MB / 0.7134 GB, free: 8.109 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.5483, allocations: 114.9 kB / 0.7135 GB, free: 8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.5487, allocations: 267 kB / 0.7137 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.5487, allocations: 4 kB / 0.7137 GB, free: 7.734 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.549, allocations: 143.4 kB / 0.7139 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.5492, allocations: 99.69 kB / 0.714 GB, free: 7.496 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.5492, allocations: 12 kB / 0.714 GB, free: 7.484 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.5509, allocations: 0.8962 MB / 0.7148 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.5511, allocations: 83.77 kB / 0.7149 GB, free: 6.504 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.5512, allocations: 95.59 kB / 0.715 GB, free: 6.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.5523, allocations: 0.6644 MB / 0.7157 GB, free: 5.746 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5523, allocations: 0 / 0.7157 GB, free: 5.746 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5523, allocations: 0 / 0.7157 GB, free: 5.746 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.5523, allocations: 0 / 0.7157 GB, free: 5.746 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.0009279/0.5532, allocations: 0.5064 MB / 0.7162 GB, free: 5.191 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5533, allocations: 12.03 kB / 0.7162 GB, free: 5.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.685e-05/0.5534, allocations: 62.72 kB / 0.7162 GB, free: 5.109 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/0.5554, allocations: 268.5 kB / 0.7165 GB, free: 4.848 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.5559, allocations: 283.6 kB / 0.7168 GB, free: 4.531 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.5559, allocations: 12.33 kB / 0.7168 GB, free: 4.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.536e-05/0.556, allocations: 16 kB / 0.7168 GB, free: 4.504 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008346/0.5568, allocations: 0.4928 MB / 0.7173 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.5569, allocations: 0 / 0.7173 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.516e-05/0.5569, allocations: 8 kB / 0.7173 GB, free: 3.992 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.5569, allocations: 11.98 kB / 0.7173 GB, free: 3.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009056/0.5578, allocations: 0.5816 MB / 0.7178 GB, free: 3.398 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.002381/0.5602, allocations: 1.012 MB / 0.7188 GB, free: 2.332 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.5606, allocations: 237 kB / 0.7191 GB, free: 2.082 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.5609, allocations: 185.6 kB / 0.7192 GB, free: 1.895 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009227/0.5618, allocations: 383.2 kB / 0.7196 GB, free: 1.465 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.5618, allocations: 38.56 kB / 0.7196 GB, free: 1.418 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 2.023e-06/0.5618, allocations: 0 / 0.7196 GB, free: 1.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001957/0.5638, allocations: 0.602 MB / 0.7202 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.5639, allocations: 81.11 kB / 0.7203 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.564, allocations: 125.8 kB / 0.7204 GB, free: 0.582 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.564, allocations: 33.64 kB / 0.7205 GB, free: 0.543 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.5641, allocations: 128.6 kB / 0.7206 GB, free: 424 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.5642, allocations: 103.1 kB / 0.7207 GB, free: 320 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.5644, allocations: 73.47 kB / 0.7207 GB, free: 240 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.5645, allocations: 334.7 kB / 0.7211 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.5649, allocations: 179.9 kB / 0.7212 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.5653, allocations: 296.5 kB / 0.7215 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007784/0.5661, allocations: 491.1 kB / 0.722 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5661, allocations: 4 kB / 0.722 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001008/0.5671, allocations: 0.5173 MB / 0.7225 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.5671, allocations: 8 kB / 0.7225 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.5671, allocations: 4.078 kB / 0.7225 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.5671, allocations: 4 kB / 0.7225 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.5676, allocations: 87.89 kB / 0.7226 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.5677, allocations: 11.92 kB / 0.7226 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.568, allocations: 35.77 kB / 0.7226 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/0.5681, allocations: 19.98 kB / 0.7227 GB, free: 14.17 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.0001842/0.5682, allocations: 147 kB / 0.7228 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.5684, allocations: 19.91 kB / 0.7228 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009813/0.5693, allocations: 490 kB / 0.7233 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.5693, allocations: 4 kB / 0.7233 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5694, allocations: 0 / 0.7233 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5694, allocations: 3.984 kB / 0.7233 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007576/0.5701, allocations: 457.8 kB / 0.7237 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5701, allocations: 0 / 0.7237 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.5706, allocations: 63.89 kB / 0.7238 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.5706, allocations: 3.984 kB / 0.7238 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.5707, allocations: 15.92 kB / 0.7238 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.5707, allocations: 8 kB / 0.7238 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5707, allocations: 0 / 0.7238 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.5718, allocations: 0.6904 MB / 0.7245 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.5719, allocations: 92.95 kB / 0.7246 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/0.5719, allocations: 11.98 kB / 0.7246 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004516/0.5724, allocations: 19.98 kB / 0.7246 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.5724, allocations: 15.97 kB / 0.7246 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.5725, allocations: 15.98 kB / 0.7246 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.98e-05/0.5725, allocations: 107.2 kB / 0.7247 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5725, allocations: 0 / 0.7247 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007021/0.5732, allocations: 167.6 kB / 0.7249 GB, free: 11.77 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.002227/0.5755, allocations: 1.467 MB / 0.7263 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008252/0.5763, allocations: 416.5 kB / 0.7267 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.5763, allocations: 4.25 kB / 0.7267 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.5767, allocations: 211.8 kB / 0.7269 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007189/0.5774, allocations: 100.1 kB / 0.727 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00448/0.5819, allocations: 3.221 MB / 0.7302 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.5823, allocations: 0.7477 MB / 0.7309 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004936/0.5828, allocations: 117.8 kB / 0.731 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.583, allocations: 55.42 kB / 0.7311 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.583, allocations: 0 / 0.7311 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2721/0.8551, allocations: 10.62 MB / 0.7415 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.857, allocations: 6.516 kB / 0.7415 GB, free: 174.3 MB / 0.5606 GB " [Timeout remaining time 651] (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.0.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: 11.95883736689575]