Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.00174, allocations: 118.5 kB / 18.45 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 191.7 kB / 21.39 MB, free: 1.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 222.9 MB / 247.1 MB, free: 4.348 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3783/0.3783, allocations: 44.27 MB / 343.5 MB, free: 7.598 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 60.36 kB / 478.8 MB, free: 24.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1205, allocations: 60.83 MB / 0.527 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4707/0.5913, allocations: 149.7 MB / 0.6732 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002715/0.5941, allocations: 2.184 MB / 0.6753 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.986e-05/0.5942, allocations: 2.625 kB / 0.6753 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.5945, allocations: 53.38 kB / 0.6754 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.5961, allocations: 0.6348 MB / 0.676 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.5965, allocations: 105.5 kB / 0.6761 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.5969, allocations: 266 kB / 0.6764 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.5969, allocations: 4.812 kB / 0.6764 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.5972, allocations: 134.3 kB / 0.6765 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.5974, allocations: 93.45 kB / 0.6766 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.5974, allocations: 13.72 kB / 0.6766 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.5989, allocations: 0.8397 MB / 0.6774 GB, free: 10.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.599, allocations: 88.25 kB / 0.6775 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.5992, allocations: 101 kB / 0.6776 GB, free: 10.67 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.6002, allocations: 0.6474 MB / 0.6782 GB, free: 10.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6002, allocations: 0 / 0.6782 GB, free: 10.11 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.024e-06/0.6003, allocations: 3.984 kB / 0.6782 GB, free: 10.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.6003, allocations: 0 / 0.6782 GB, free: 10.1 MB / 494.1 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.0008806/0.6012, allocations: 0.5065 MB / 0.6787 GB, free: 9.547 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.6012, allocations: 12.03 kB / 0.6787 GB, free: 9.535 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.137e-05/0.6013, allocations: 54.67 kB / 0.6788 GB, free: 9.473 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.6032, allocations: 280.5 kB / 0.6791 GB, free: 9.199 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.6036, allocations: 276.1 kB / 0.6793 GB, free: 8.891 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.6037, allocations: 14.42 kB / 0.6793 GB, free: 8.879 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.12e-05/0.6037, allocations: 16 kB / 0.6793 GB, free: 8.863 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007983/0.6046, allocations: 0.4928 MB / 0.6798 GB, free: 8.359 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.6046, allocations: 0 / 0.6798 GB, free: 8.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.474e-05/0.6046, allocations: 8 kB / 0.6798 GB, free: 8.352 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.6047, allocations: 8 kB / 0.6798 GB, free: 8.344 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008958/0.6056, allocations: 0.5777 MB / 0.6804 GB, free: 7.766 MB / 494.1 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.002195/0.6078, allocations: 1.015 MB / 0.6814 GB, free: 6.695 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.6082, allocations: 251.2 kB / 0.6816 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.6085, allocations: 177.6 kB / 0.6818 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009819/0.6095, allocations: 383.2 kB / 0.6822 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.6095, allocations: 39.69 kB / 0.6822 GB, free: 5.777 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 2.384e-06/0.6095, allocations: 4 kB / 0.6822 GB, free: 5.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.001998/0.6115, allocations: 0.5798 MB / 0.6828 GB, free: 5.188 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.6116, allocations: 81.09 kB / 0.6829 GB, free: 5.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.6117, allocations: 138.5 kB / 0.683 GB, free: 4.945 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.6118, allocations: 29.7 kB / 0.683 GB, free: 4.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.6119, allocations: 112.6 kB / 0.6831 GB, free: 4.797 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.612, allocations: 119 kB / 0.6832 GB, free: 4.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.6122, allocations: 65.62 kB / 0.6833 GB, free: 4.609 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6123, allocations: 326.8 kB / 0.6836 GB, free: 4.281 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.6126, allocations: 187.8 kB / 0.6838 GB, free: 4.098 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004569/0.6131, allocations: 284.8 kB / 0.6841 GB, free: 3.773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000837/0.614, allocations: 495.8 kB / 0.6845 GB, free: 3.246 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.614, allocations: 7.938 kB / 0.6845 GB, free: 3.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001026/0.615, allocations: 0.5182 MB / 0.6851 GB, free: 2.715 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.615, allocations: 8 kB / 0.6851 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.6151, allocations: 4 kB / 0.6851 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.6151, allocations: 7.984 kB / 0.6851 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/0.6156, allocations: 87.45 kB / 0.6852 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.6156, allocations: 8 kB / 0.6852 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.616, allocations: 35.77 kB / 0.6852 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/0.6161, allocations: 17.72 kB / 0.6852 GB, free: 2.555 MB / 494.1 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.0002074/0.6163, allocations: 157.8 kB / 0.6854 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.6164, allocations: 15.94 kB / 0.6854 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.6175, allocations: 490.3 kB / 0.6858 GB, free: 1.891 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.6175, allocations: 4 kB / 0.6859 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.6175, allocations: 0 / 0.6859 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.6175, allocations: 0 / 0.6859 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008231/0.6183, allocations: 469.8 kB / 0.6863 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.6183, allocations: 0 / 0.6863 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/0.6188, allocations: 55.95 kB / 0.6864 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.6189, allocations: 0 / 0.6864 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.271e-05/0.6189, allocations: 12 kB / 0.6864 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.126e-06/0.6189, allocations: 11.92 kB / 0.6864 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.6189, allocations: 0 / 0.6864 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.6201, allocations: 0.6814 MB / 0.687 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.6202, allocations: 96.95 kB / 0.6871 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.269e-05/0.6202, allocations: 12 kB / 0.6871 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/0.6207, allocations: 19.97 kB / 0.6872 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.6208, allocations: 15.98 kB / 0.6872 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/0.6208, allocations: 15.98 kB / 0.6872 GB, free: 440 kB / 494.1 MB Notification: Performance of sorting global known variables: time 8.517e-05/0.6209, allocations: 107.6 kB / 0.6873 GB, free: 332 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6209, allocations: 0 / 0.6873 GB, free: 332 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.000736/0.6217, allocations: 155.7 kB / 0.6874 GB, free: 176 kB / 494.1 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.002259/0.6239, allocations: 1.485 MB / 0.6889 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008806/0.6248, allocations: 444.3 kB / 0.6893 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.6248, allocations: 0 / 0.6893 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003774/0.6252, allocations: 211.8 kB / 0.6895 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007098/0.6259, allocations: 92.44 kB / 0.6896 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004762/0.6307, allocations: 3.23 MB / 0.6928 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.6311, allocations: 0.7438 MB / 0.6935 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004922/0.6316, allocations: 117.8 kB / 0.6936 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.6318, allocations: 55.42 kB / 0.6937 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of SimCode: time 8.51e-07/0.6318, allocations: 0 / 0.6937 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03538/0.6672, allocations: 10.35 MB / 0.7038 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.221/8.888, allocations: 3.938 kB / 0.7038 GB, free: 15.35 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.T in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.T from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.p in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.p from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.176457535009831]