Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.0007559/0.0007559, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.002983/0.002983, allocations: 160.7 kB / 24.7 MB, free: 9.418 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.8736/0.8736, allocations: 177.2 MB / 205 MB, free: 5.715 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.2761/0.2761, allocations: 34.26 MB / 295.7 MB, free: 0.6797 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: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 443.5 MB, free: 1.117 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.534e-05, allocations: 8.469 kB / 443.5 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.1726/0.1727, allocations: 1.665 MB / 445.1 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008431/0.1735, allocations: 0.5799 MB / 445.7 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.1736, allocations: 0 / 445.7 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004478/0.174, allocations: 458.8 kB / 446.2 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.1744, allocations: 296.3 kB / 446.4 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.1746, allocations: 182.8 kB / 446.6 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.1748, allocations: 182.6 kB / 446.8 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.897e-05/0.1749, allocations: 13.12 kB / 446.8 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.777e-05/0.175, allocations: 128.4 kB / 446.9 MB, free: 43.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.1751, allocations: 244.4 kB / 447.2 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1752, allocations: 6.219 kB / 447.2 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.125e-05/0.1752, allocations: 59.08 kB / 447.2 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.04e-05/0.1753, allocations: 86.81 kB / 447.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.1753, allocations: 39.28 kB / 447.4 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.1755, allocations: 263.5 kB / 447.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1756, allocations: 0 / 447.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1756, allocations: 0 / 447.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1756, allocations: 0 / 447.6 MB, free: 43.21 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004337/0.176, allocations: 0.5913 MB / 448.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.176, allocations: 11.56 kB / 448.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.1761, allocations: 45.7 kB / 448.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.1762, allocations: 250.4 kB / 448.5 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.1762, allocations: 4.375 kB / 448.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.1762, allocations: 3.188 kB / 448.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.1764, allocations: 67.25 kB / 448.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1764, allocations: 192 / 448.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1764, allocations: 14.97 kB / 448.6 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1764, allocations: 0 / 448.6 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.099e-05/0.1765, allocations: 43.45 kB / 448.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.1768, allocations: 352.5 kB / 449 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.177, allocations: 63.52 kB / 449.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.177, allocations: 26.97 kB / 449.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.177, allocations: 3.375 kB / 449.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.177, allocations: 40.84 kB / 449.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.177, allocations: 0 / 449.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008592/0.1779, allocations: 496.6 kB / 449.6 MB, free: 41.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.1779, allocations: 58.28 kB / 449.7 MB, free: 41.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004989/0.1784, allocations: 0.8603 MB / 450.5 MB, free: 41.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.1784, allocations: 29.7 kB / 450.6 MB, free: 41.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.055e-05/0.1785, allocations: 223.7 kB / 450.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.1786, allocations: 40.77 kB / 450.8 MB, free: 41.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.1786, allocations: 25.66 kB / 450.8 MB, free: 41.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.007e-05/0.1787, allocations: 365 kB / 451.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/0.1787, allocations: 58.36 kB / 451.3 MB, free: 40.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-05/0.1788, allocations: 54.98 kB / 451.3 MB, free: 40.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.1789, allocations: 132.4 kB / 451.4 MB, free: 40.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1789, allocations: 0 / 451.4 MB, free: 40.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001827/0.1791, allocations: 197 kB / 451.6 MB, free: 40.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1791, allocations: 5.906 kB / 451.6 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1791, allocations: 0 / 451.6 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1792, allocations: 0 / 451.6 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.378e-05/0.1792, allocations: 41.27 kB / 451.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1792, allocations: 2.656 kB / 451.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.617e-05/0.1793, allocations: 8.984 kB / 451.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.1793, allocations: 7 kB / 451.7 MB, free: 40.72 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 (11): * Single equations (assignments): 11 * 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.0001158/0.1794, allocations: 225.1 kB / 451.9 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.1794, allocations: 43.75 kB / 452 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.1797, allocations: 222.2 kB / 452.2 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1797, allocations: 7.938 kB / 452.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1797, allocations: 0 / 452.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1797, allocations: 0 / 452.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.1801, allocations: 0.5284 MB / 452.7 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1801, allocations: 4.312 kB / 452.7 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.042e-05/0.1801, allocations: 34.16 kB / 452.7 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1801, allocations: 4.062 kB / 452.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1801, allocations: 2.75 kB / 452.7 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1801, allocations: 6.688 kB / 452.8 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1801, allocations: 0 / 452.8 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.1803, allocations: 302.4 kB / 453.1 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.1804, allocations: 42.08 kB / 453.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.1804, allocations: 2.844 kB / 453.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.258e-05/0.1804, allocations: 16.8 kB / 453.1 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.1805, allocations: 10.05 kB / 453.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.1805, allocations: 2.812 kB / 453.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003182/0.1808, allocations: 0.6519 MB / 453.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1808, allocations: 0 / 453.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001789/0.181, allocations: 33.41 kB / 453.8 MB, free: 39.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0007576/0.1817, allocations: 0.502 MB / 454.3 MB, free: 39.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.1819, allocations: 126.4 kB / 454.4 MB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1819, allocations: 0 / 454.4 MB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.443e-05/0.182, allocations: 67.88 kB / 454.5 MB, free: 39.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.1823, allocations: 26.3 kB / 454.5 MB, free: 39.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007346/0.183, allocations: 0.922 MB / 455.4 MB, free: 38.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.1832, allocations: 229.2 kB / 455.7 MB, free: 38.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.1832, allocations: 20.59 kB / 455.7 MB, free: 38.84 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1832, allocations: 0 / 455.7 MB, free: 38.84 MB / 410.7 MB Notification: Performance of Templates: time 0.004022/0.1872, allocations: 4.429 MB / 460.1 MB, free: 37.91 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.762818976305425]