Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.00128/0.00128, allocations: 82.83 kB / 20.68 MB, free: 1.023 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.001416/0.001416, allocations: 167.1 kB / 23.95 MB, free: 4.16 MB / 14.72 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 1.388/1.388, allocations: 177.2 MB / 204.3 MB, free: 9.164 MB / 190.1 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.1972/0.1972, allocations: 32.81 MB / 293.5 MB, free: 20 kB / 270.1 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: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.143e-05, allocations: 5.375 kB / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003171/0.003193, allocations: 1.976 MB / 442.1 MB, free: 6.145 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.005059, allocations: 0.9965 MB / 443.1 MB, free: 5.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.00514, allocations: 0 / 443.1 MB, free: 5.141 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004633/0.005604, allocations: 266.9 kB / 443.3 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004942/0.006098, allocations: 267 kB / 443.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009649/0.007063, allocations: 491.1 kB / 444.1 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003981/0.007461, allocations: 339 kB / 444.4 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.007611, allocations: 44.89 kB / 444.5 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.00784, allocations: 187.4 kB / 444.6 MB, free: 3.586 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.008088, allocations: 195.5 kB / 444.8 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.008119, allocations: 12 kB / 444.8 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.008297, allocations: 103.8 kB / 444.9 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.008428, allocations: 95.61 kB / 445 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.099e-05/0.008499, allocations: 55.72 kB / 445.1 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.008918, allocations: 326.7 kB / 445.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.00892, allocations: 0 / 445.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.008921, allocations: 0 / 445.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.008926, allocations: 0 / 445.4 MB, free: 2.812 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007341/0.00966, allocations: 0.5893 MB / 446 MB, free: 2.191 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.009693, allocations: 19.98 kB / 446 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.257e-05/0.009776, allocations: 44.61 kB / 446.1 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.01012, allocations: 255.9 kB / 446.3 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.01013, allocations: 8.375 kB / 446.3 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.01016, allocations: 16.33 kB / 446.3 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.01039, allocations: 103.5 kB / 446.4 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.0104, allocations: 4.188 kB / 446.4 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.01042, allocations: 8.125 kB / 446.4 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.01043, allocations: 4 kB / 446.4 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.0106, allocations: 71.83 kB / 446.5 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.01122, allocations: 416.1 kB / 446.9 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.01139, allocations: 82.55 kB / 447 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.387e-05/0.01146, allocations: 32.84 kB / 447 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.01149, allocations: 4.219 kB / 447 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.01152, allocations: 38.48 kB / 447.1 MB, free: 1.027 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.01152, allocations: 3.938 kB / 447.1 MB, free: 1.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009375/0.01246, allocations: 396.7 kB / 447.5 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.0125, allocations: 55.41 kB / 447.5 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1696/0.1821, allocations: 0.5585 MB / 448.1 MB, free: 21.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.1821, allocations: 29.3 kB / 448.1 MB, free: 21.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.1823, allocations: 205.3 kB / 448.3 MB, free: 21.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.1823, allocations: 57.64 kB / 448.4 MB, free: 21.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.1824, allocations: 35 kB / 448.4 MB, free: 21.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.955e-05/0.1825, allocations: 354.7 kB / 448.7 MB, free: 21.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1826, allocations: 46.98 kB / 448.8 MB, free: 21.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1827, allocations: 55.77 kB / 448.9 MB, free: 21.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.1829, allocations: 123.9 kB / 449 MB, free: 21.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1829, allocations: 0 / 449 MB, free: 21.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003987/0.1833, allocations: 197.7 kB / 449.2 MB, free: 20.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1834, allocations: 6.281 kB / 449.2 MB, free: 20.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.1834, allocations: 2.656 kB / 449.2 MB, free: 20.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.1834, allocations: 5.609 kB / 449.2 MB, free: 20.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.1835, allocations: 36.48 kB / 449.2 MB, free: 20.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1835, allocations: 1.094 kB / 449.2 MB, free: 20.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.694e-05/0.1836, allocations: 8.469 kB / 449.2 MB, free: 20.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.1836, allocations: 5.359 kB / 449.2 MB, free: 20.94 MB / 366.1 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 (17): * Single equations (assignments): 17 * 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.0001449/0.1838, allocations: 177.6 kB / 449.4 MB, free: 20.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/0.1838, allocations: 39.36 kB / 449.4 MB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004607/0.1843, allocations: 244.2 kB / 449.7 MB, free: 20.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1843, allocations: 7.938 kB / 449.7 MB, free: 20.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1843, allocations: 1.406 kB / 449.7 MB, free: 20.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1843, allocations: 0.8438 kB / 449.7 MB, free: 20.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007513/0.1851, allocations: 0.5457 MB / 450.2 MB, free: 20.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1851, allocations: 0.6094 kB / 450.2 MB, free: 20.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1852, allocations: 34.61 kB / 450.3 MB, free: 20.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1852, allocations: 1.844 kB / 450.3 MB, free: 20.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1852, allocations: 7.719 kB / 450.3 MB, free: 20.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1852, allocations: 1.156 kB / 450.3 MB, free: 20.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1852, allocations: 0 / 450.3 MB, free: 20.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.1856, allocations: 298.5 kB / 450.6 MB, free: 20.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.16e-05/0.1856, allocations: 34.88 kB / 450.6 MB, free: 20.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.1856, allocations: 5.25 kB / 450.6 MB, free: 20.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1857, allocations: 5.469 kB / 450.6 MB, free: 20.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.1858, allocations: 14.91 kB / 450.6 MB, free: 20.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.1858, allocations: 10.08 kB / 450.6 MB, free: 20.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003679/0.1861, allocations: 423.6 kB / 451.1 MB, free: 19.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1861, allocations: 0 / 451.1 MB, free: 19.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.1864, allocations: 42.86 kB / 451.1 MB, free: 19.93 MB / 366.1 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 (17): * Single equations (assignments): 17 * 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.002807/0.1892, allocations: 0.7631 MB / 451.9 MB, free: 19.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003304/0.1896, allocations: 130.6 kB / 452 MB, free: 19.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1896, allocations: 0 / 452 MB, free: 19.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.1897, allocations: 69.11 kB / 452.1 MB, free: 19.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005453/0.1903, allocations: 86.23 kB / 452.1 MB, free: 19.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009235/0.1912, allocations: 0.6886 MB / 452.8 MB, free: 19.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.1914, allocations: 210.3 kB / 453 MB, free: 19.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000103/0.1915, allocations: 43.3 kB / 453.1 MB, free: 19.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.1915, allocations: 33.98 kB / 453.1 MB, free: 19.14 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1915, allocations: 1.219 kB / 453.1 MB, free: 19.14 MB / 366.1 MB Notification: Performance of Templates: time 0.007568/0.1991, allocations: 3.301 MB / 456.4 MB, free: 18.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.665244922041893]