Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.001103/0.001103, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.001197/0.001197, allocations: 170 kB / 23.95 MB, free: 0.6016 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.8945/0.8945, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.2423/0.2423, allocations: 32.8 MB / 293.5 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.508e-05, allocations: 2.281 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.00206/0.002075, allocations: 1.603 MB / 441.2 MB, free: 2.609 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006929/0.002768, allocations: 0.5257 MB / 441.7 MB, free: 2.078 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.036e-05/0.002818, allocations: 0 / 441.7 MB, free: 2.078 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003941/0.003213, allocations: 455.1 kB / 442.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.00356, allocations: 299.1 kB / 442.5 MB, free: 1.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.003846, allocations: 122.5 kB / 442.6 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.004051, allocations: 163.7 kB / 442.7 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.431e-05/0.004145, allocations: 4.188 kB / 442.7 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.004256, allocations: 119.7 kB / 442.9 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.004431, allocations: 247.6 kB / 443.1 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.004445, allocations: 4 kB / 443.1 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.139e-05/0.004506, allocations: 19.98 kB / 443.1 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.226e-05/0.004588, allocations: 79.72 kB / 443.2 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.359e-05/0.004632, allocations: 39.73 kB / 443.2 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.004841, allocations: 235 kB / 443.5 MB, free: 336 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.004842, allocations: 0 / 443.5 MB, free: 336 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.004844, allocations: 4 kB / 443.5 MB, free: 332 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.004848, allocations: 0 / 443.5 MB, free: 332 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.1721/0.1769, allocations: 0.5737 MB / 444.1 MB, free: 46.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.177, allocations: 8.594 kB / 444.1 MB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.811e-05/0.177, allocations: 34.75 kB / 444.1 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.177, allocations: 42.59 kB / 444.1 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.1772, allocations: 246.9 kB / 444.4 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.1772, allocations: 3.219 kB / 444.4 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.1772, allocations: 2.625 kB / 444.4 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1774, allocations: 46.23 kB / 444.4 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1774, allocations: 1.688 kB / 444.4 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.1774, allocations: 0.75 kB / 444.4 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1774, allocations: 3.938 kB / 444.4 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.024e-05/0.1774, allocations: 23.98 kB / 444.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.1778, allocations: 350 kB / 444.8 MB, free: 46.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.354e-05/0.1778, allocations: 30.25 kB / 444.8 MB, free: 46.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.514e-05/0.1779, allocations: 16.42 kB / 444.8 MB, free: 46.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.1779, allocations: 3.234 kB / 444.8 MB, free: 46.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.1779, allocations: 30.56 kB / 444.9 MB, free: 46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.1779, allocations: 2.812 kB / 444.9 MB, free: 46 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.000172/0.1781, allocations: 101.5 kB / 445 MB, free: 45.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/0.1781, allocations: 53.75 kB / 445 MB, free: 45.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004465/0.1785, allocations: 0.8754 MB / 445.9 MB, free: 45.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.611e-06/0.1785, allocations: 26.23 kB / 445.9 MB, free: 45.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/0.1786, allocations: 228.3 kB / 446.2 MB, free: 45.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.1786, allocations: 4.516 kB / 446.2 MB, free: 45.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.1787, allocations: 17.97 kB / 446.2 MB, free: 45.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.447e-05/0.1787, allocations: 360.8 kB / 446.5 MB, free: 45.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/0.1787, allocations: 9.812 kB / 446.5 MB, free: 45.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.75e-05/0.1788, allocations: 12.67 kB / 446.6 MB, free: 45.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.128e-05/0.1788, allocations: 26.34 kB / 446.6 MB, free: 45.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1788, allocations: 2.953 kB / 446.6 MB, free: 45.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.199e-05/0.1789, allocations: 103.4 kB / 446.7 MB, free: 45.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1789, allocations: 5.812 kB / 446.7 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1789, allocations: 0 / 446.7 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1789, allocations: 2.75 kB / 446.7 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.514e-05/0.179, allocations: 5.75 kB / 446.7 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.179, allocations: 0 / 446.7 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.179, allocations: 8.844 kB / 446.7 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.179, allocations: 0 / 446.7 MB, free: 45.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 9.003e-05/0.1791, allocations: 212.8 kB / 446.9 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.1791, allocations: 47.56 kB / 447 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.1792, allocations: 104.9 kB / 447.1 MB, free: 44.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1792, allocations: 3.875 kB / 447.1 MB, free: 44.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1792, allocations: 0 / 447.1 MB, free: 44.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1792, allocations: 6 kB / 447.1 MB, free: 44.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.1794, allocations: 252.6 kB / 447.3 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1794, allocations: 3.938 kB / 447.3 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.1794, allocations: 8.969 kB / 447.3 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1794, allocations: 0 / 447.3 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.1794, allocations: 0 / 447.3 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1794, allocations: 0 / 447.3 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1794, allocations: 0 / 447.3 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.465e-05/0.1795, allocations: 193 kB / 447.5 MB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.1795, allocations: 39.45 kB / 447.6 MB, free: 44.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.1795, allocations: 2.75 kB / 447.6 MB, free: 44.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.893e-05/0.1796, allocations: 2.906 kB / 447.6 MB, free: 44.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.1796, allocations: 7.938 kB / 447.6 MB, free: 44.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.1796, allocations: 0.6562 kB / 447.6 MB, free: 44.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003015/0.1799, allocations: 0.6587 MB / 448.2 MB, free: 44.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1799, allocations: 0 / 448.2 MB, free: 44.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001707/0.18, allocations: 26.83 kB / 448.3 MB, free: 44.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0007011/0.1807, allocations: 0.9848 MB / 449.2 MB, free: 43.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.009e-05/0.1808, allocations: 28.61 kB / 449.3 MB, free: 43.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1808, allocations: 3.938 kB / 449.3 MB, free: 43.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.529e-05/0.1809, allocations: 12.39 kB / 449.3 MB, free: 43.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.1811, allocations: 25.48 kB / 449.3 MB, free: 43.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.1828, allocations: 3.151 MB / 452.5 MB, free: 41.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.1829, allocations: 220.8 kB / 452.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.885e-05/0.183, allocations: 9 kB / 452.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.183, allocations: 111.9 kB / 452.8 MB, free: 41.53 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.183, allocations: 0 / 452.8 MB, free: 41.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.2014, allocations: 6.426 MB / 459.2 MB, free: 39.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/7.212, allocations: 3.938 kB / 459.2 MB, free: 39.9 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.259338449686766]