Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001298/0.001298, allocations: 114.2 kB / 19.69 MB, free: 2.188 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.001525/0.001525, allocations: 214 kB / 23 MB, free: 5.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2179/0.2179, allocations: 44.24 MB / 330.3 MB, free: 9.531 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 74.5 kB / 467.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1346, allocations: 61.04 MB / 0.5161 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4257/0.5603, allocations: 151.5 MB / 0.6641 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002608/0.5629, allocations: 2.096 MB / 0.6661 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.106e-05/0.563, allocations: 4 kB / 0.6661 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.5633, allocations: 55.66 kB / 0.6662 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.5649, allocations: 0.6336 MB / 0.6668 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.5652, allocations: 108.5 kB / 0.6669 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003804/0.5656, allocations: 263.1 kB / 0.6671 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.085e-05/0.5656, allocations: 9.016 kB / 0.6671 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.5659, allocations: 143.4 kB / 0.6673 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.5661, allocations: 91.7 kB / 0.6674 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.5662, allocations: 16 kB / 0.6674 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.5679, allocations: 0.8729 MB / 0.6682 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.568, allocations: 83.75 kB / 0.6683 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.5681, allocations: 95.61 kB / 0.6684 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.5692, allocations: 0.6372 MB / 0.669 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5692, allocations: 4 kB / 0.669 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.013e-06/0.5692, allocations: 0 / 0.669 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.5692, allocations: 0 / 0.669 GB, free: 7.359 MB / 0.4981 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.0009061/0.5701, allocations: 446.6 kB / 0.6695 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.5701, allocations: 8.031 kB / 0.6695 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.244e-05/0.5702, allocations: 54.73 kB / 0.6695 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/0.5721, allocations: 266.4 kB / 0.6698 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/0.5726, allocations: 222.2 kB / 0.67 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.5726, allocations: 12.7 kB / 0.67 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.882e-05/0.5727, allocations: 23.89 kB / 0.67 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008313/0.5735, allocations: 0.4967 MB / 0.6705 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.5736, allocations: 3.984 kB / 0.6705 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.566e-05/0.5736, allocations: 9.812 kB / 0.6705 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/0.5736, allocations: 11.98 kB / 0.6705 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008751/0.5745, allocations: 0.586 MB / 0.6711 GB, free: 5.172 MB / 0.4981 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.00231/0.5768, allocations: 0.978 MB / 0.6721 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.5772, allocations: 237.1 kB / 0.6723 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.5775, allocations: 185.5 kB / 0.6725 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007282/0.5782, allocations: 128 kB / 0.6726 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.5782, allocations: 34.89 kB / 0.6726 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=28): time 1.954e-06/0.5783, allocations: 4 kB / 0.6726 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28): time 0.00195/0.5802, allocations: 0.5873 MB / 0.6732 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.5803, allocations: 81.11 kB / 0.6733 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.5804, allocations: 133.8 kB / 0.6734 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.5804, allocations: 29.7 kB / 0.6734 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.5805, allocations: 116.5 kB / 0.6735 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.5806, allocations: 119 kB / 0.6736 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.5808, allocations: 57.7 kB / 0.6737 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.5809, allocations: 330.8 kB / 0.674 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.5812, allocations: 179.9 kB / 0.6742 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/0.5817, allocations: 292.7 kB / 0.6745 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000762/0.5824, allocations: 493.6 kB / 0.6749 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.5824, allocations: 4 kB / 0.6749 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009674/0.5834, allocations: 0.5244 MB / 0.6755 GB, free: 488 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.5834, allocations: 4 kB / 0.6755 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.5834, allocations: 4 kB / 0.6755 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.5835, allocations: 6.438 kB / 0.6755 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/0.584, allocations: 83.83 kB / 0.6756 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.584, allocations: 12.33 kB / 0.6756 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.5844, allocations: 43.77 kB / 0.6756 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.5844, allocations: 12 kB / 0.6756 GB, free: 324 kB / 0.4981 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.0001789/0.5846, allocations: 145.8 kB / 0.6758 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.5847, allocations: 19.84 kB / 0.6758 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009907/0.5857, allocations: 497.2 kB / 0.6762 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.5857, allocations: 4 kB / 0.6763 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5857, allocations: 0 / 0.6763 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.5857, allocations: 7.969 kB / 0.6763 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008235/0.5865, allocations: 437 kB / 0.6767 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5865, allocations: 4 kB / 0.6767 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/0.587, allocations: 59.91 kB / 0.6767 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.587, allocations: 4 kB / 0.6767 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.5871, allocations: 11.98 kB / 0.6768 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.5871, allocations: 0 / 0.6768 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5871, allocations: 0.875 kB / 0.6768 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.5882, allocations: 0.7061 MB / 0.6774 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.5882, allocations: 11.89 kB / 0.6775 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.5883, allocations: 11.98 kB / 0.6775 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000445/0.5887, allocations: 19.98 kB / 0.6775 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.5888, allocations: 19.95 kB / 0.6775 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.5888, allocations: 19.98 kB / 0.6775 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.926e-05/0.5889, allocations: 95.81 kB / 0.6776 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5889, allocations: 4 kB / 0.6776 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006364/0.5895, allocations: 159.7 kB / 0.6778 GB, free: 14.04 MB / 0.5137 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.002097/0.5916, allocations: 1.47 MB / 0.6792 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008131/0.5924, allocations: 423.6 kB / 0.6796 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5924, allocations: 0 / 0.6796 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003579/0.5928, allocations: 211.8 kB / 0.6798 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006827/0.5935, allocations: 89.28 kB / 0.6799 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/0.5979, allocations: 3.221 MB / 0.683 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.5983, allocations: 0.7407 MB / 0.6838 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004758/0.5987, allocations: 113.8 kB / 0.6839 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.5989, allocations: 63.41 kB / 0.6839 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of SimCode: time 7.62e-07/0.5989, allocations: 0 / 0.6839 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0417/0.6406, allocations: 10.79 MB / 0.6945 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.47, allocations: 8 kB / 0.6945 GB, free: 12.71 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.T in file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.T from file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.p in file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.p from file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.530056997995416]