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.0008993/0.0008993, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.00091/0.00091, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9253/0.9253, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.292/0.292, allocations: 34.25 MB / 294.9 MB, free: 0.6953 MB / 266.7 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 1.964e-06/1.964e-06, allocations: 0 / 442.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.662e-05, allocations: 4.953 kB / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3532/0.3532, allocations: 131.7 MB / 0.5604 GB, free: 13.04 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.3552, allocations: 1.97 MB / 0.5623 GB, free: 11.06 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.3552, allocations: 3.938 kB / 0.5623 GB, free: 11.05 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.3556, allocations: 43.75 kB / 0.5623 GB, free: 11.01 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.357, allocations: 0.6605 MB / 0.563 GB, free: 10.35 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.3573, allocations: 103.8 kB / 0.5631 GB, free: 10.25 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.3576, allocations: 262.9 kB / 0.5633 GB, free: 9.988 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.3576, allocations: 6.922 kB / 0.5633 GB, free: 9.984 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.3579, allocations: 175.3 kB / 0.5635 GB, free: 9.812 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.3581, allocations: 103.7 kB / 0.5636 GB, free: 9.711 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.3581, allocations: 8 kB / 0.5636 GB, free: 9.703 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.3593, allocations: 0.7673 MB / 0.5644 GB, free: 8.934 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.3594, allocations: 83.77 kB / 0.5644 GB, free: 8.852 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/0.3595, allocations: 79.83 kB / 0.5645 GB, free: 8.773 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009535/0.3605, allocations: 0.7131 MB / 0.5652 GB, free: 8.059 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3605, allocations: 0 / 0.5652 GB, free: 8.059 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3605, allocations: 0 / 0.5652 GB, free: 8.059 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3605, allocations: 0 / 0.5652 GB, free: 8.059 MB / 474.7 MB 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.0007242/0.3612, allocations: 446.1 kB / 0.5656 GB, free: 7.598 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.3612, allocations: 8.031 kB / 0.5657 GB, free: 7.59 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.784e-05/0.3613, allocations: 54.73 kB / 0.5657 GB, free: 7.527 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.3624, allocations: 283.9 kB / 0.566 GB, free: 7.254 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.3628, allocations: 217.5 kB / 0.5662 GB, free: 7.016 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3628, allocations: 12.7 kB / 0.5662 GB, free: 7.004 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.3628, allocations: 19.94 kB / 0.5662 GB, free: 6.984 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006066/0.3634, allocations: 0.6434 MB / 0.5668 GB, free: 6.293 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3635, allocations: 3.938 kB / 0.5668 GB, free: 6.289 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.3635, allocations: 9.5 kB / 0.5669 GB, free: 6.281 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.3635, allocations: 8 kB / 0.5669 GB, free: 6.273 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005779/0.3641, allocations: 0.5744 MB / 0.5674 GB, free: 5.699 MB / 474.7 MB 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.001454/0.3655, allocations: 0.9409 MB / 0.5683 GB, free: 4.723 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.3658, allocations: 238.6 kB / 0.5686 GB, free: 4.473 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004516/0.3663, allocations: 181.6 kB / 0.5687 GB, free: 4.289 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004632/0.3668, allocations: 171.8 kB / 0.5689 GB, free: 4.121 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.3668, allocations: 38.56 kB / 0.5689 GB, free: 4.074 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 2.415e-06/0.3668, allocations: 0 / 0.5689 GB, free: 4.074 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.001181/0.368, allocations: 0.6025 MB / 0.5695 GB, free: 3.469 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.368, allocations: 81.11 kB / 0.5696 GB, free: 3.371 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.3681, allocations: 127.7 kB / 0.5697 GB, free: 3.238 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.3682, allocations: 36.05 kB / 0.5698 GB, free: 3.199 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.3682, allocations: 112.5 kB / 0.5699 GB, free: 3.086 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.981e-05/0.3683, allocations: 115 kB / 0.57 GB, free: 2.973 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.3684, allocations: 65.69 kB / 0.57 GB, free: 2.902 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.928e-05/0.3685, allocations: 326.8 kB / 0.5704 GB, free: 2.574 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.3687, allocations: 183.9 kB / 0.5705 GB, free: 2.395 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.369, allocations: 295.9 kB / 0.5708 GB, free: 2.062 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00049/0.3695, allocations: 488.6 kB / 0.5713 GB, free: 1.539 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3695, allocations: 4 kB / 0.5713 GB, free: 1.535 MB / 474.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006865/0.3702, allocations: 0.5207 MB / 0.5718 GB, free: 1.008 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.3702, allocations: 8 kB / 0.5718 GB, free: 1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3702, allocations: 4 kB / 0.5718 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.3702, allocations: 4 kB / 0.5718 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.3705, allocations: 75.89 kB / 0.5719 GB, free: 0.918 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.3705, allocations: 11.94 kB / 0.5719 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.3707, allocations: 39.77 kB / 0.5719 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.3708, allocations: 15.98 kB / 0.5719 GB, free: 0.8516 MB / 474.7 MB 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.0001249/0.3709, allocations: 151 kB / 0.5721 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.371, allocations: 21.16 kB / 0.5721 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006014/0.3716, allocations: 492.5 kB / 0.5726 GB, free: 204 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3716, allocations: 4 kB / 0.5726 GB, free: 200 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3716, allocations: 0 / 0.5726 GB, free: 200 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.3716, allocations: 3.984 kB / 0.5726 GB, free: 196 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.3721, allocations: 390.7 kB / 0.573 GB, free: 15.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3721, allocations: 3.938 kB / 0.573 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.3723, allocations: 67.08 kB / 0.573 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3723, allocations: 0 / 0.573 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.3723, allocations: 12 kB / 0.573 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.3723, allocations: 4 kB / 0.573 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3723, allocations: 3.984 kB / 0.573 GB, free: 15.69 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007095/0.373, allocations: 0.6917 MB / 0.5737 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.3731, allocations: 17.95 kB / 0.5737 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.3731, allocations: 8 kB / 0.5737 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.3733, allocations: 23.97 kB / 0.5738 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.3734, allocations: 15.97 kB / 0.5738 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.3734, allocations: 15.98 kB / 0.5738 GB, free: 14.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.357e-05/0.3734, allocations: 99.27 kB / 0.5739 GB, free: 14.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3734, allocations: 4 kB / 0.5739 GB, free: 14.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000528/0.374, allocations: 167.6 kB / 0.5741 GB, free: 14.64 MB / 490.7 MB 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.001455/0.3754, allocations: 1.478 MB / 0.5755 GB, free: 13.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008107/0.3762, allocations: 424.2 kB / 0.5759 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3762, allocations: 0 / 0.5759 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.3764, allocations: 211.8 kB / 0.5761 GB, free: 12.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.3769, allocations: 96.86 kB / 0.5762 GB, free: 12.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.3796, allocations: 3.035 MB / 0.5792 GB, free: 9.242 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.256e-05/0.3797, allocations: 123.2 kB / 0.5793 GB, free: 9.102 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002947/0.38, allocations: 109.8 kB / 0.5794 GB, free: 8.996 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.3801, allocations: 64.47 kB / 0.5794 GB, free: 8.934 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3801, allocations: 3.938 kB / 0.5795 GB, free: 8.93 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.41, allocations: 11.48 MB / 0.5907 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.994/7.404, allocations: 24.38 kB / 0.5907 GB, free: 13.62 MB / 0.4948 GB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/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: 9.620271981693804]