Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.0007442/0.0007442, 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.003/0.003, allocations: 163.2 kB / 24.7 MB, free: 9.426 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.8779/0.8779, allocations: 177.1 MB / 205 MB, free: 5.73 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.2748/0.2748, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 443.5 MB, free: 1.137 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.454e-05, allocations: 3.688 kB / 443.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.1775/0.1776, allocations: 1.671 MB / 445.1 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000695/0.1782, allocations: 0.5697 MB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.388e-05/0.1783, allocations: 2.969 kB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.1787, allocations: 458 kB / 446.1 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.1789, allocations: 300.9 kB / 446.4 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.1792, allocations: 174.8 kB / 446.6 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1793, allocations: 181.9 kB / 446.8 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.101e-05/0.1794, allocations: 16.72 kB / 446.8 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.264e-05/0.1795, allocations: 123.6 kB / 446.9 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.1796, allocations: 245.2 kB / 447.2 MB, free: 43.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1797, allocations: 2.594 kB / 447.2 MB, free: 43.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.858e-05/0.1797, allocations: 51.27 kB / 447.2 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.626e-05/0.1798, allocations: 93.78 kB / 447.3 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.1798, allocations: 39.34 kB / 447.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.18, allocations: 255.2 kB / 447.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.18, allocations: 0 / 447.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.18, allocations: 0 / 447.6 MB, free: 43.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.18, allocations: 0 / 447.6 MB, free: 43.23 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.0003937/0.1804, allocations: 0.5853 MB / 448.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.1804, allocations: 8.312 kB / 448.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.1805, allocations: 45.22 kB / 448.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.1806, allocations: 256.3 kB / 448.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.1806, allocations: 384 / 448.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.1806, allocations: 7.312 kB / 448.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.1807, allocations: 58.39 kB / 448.6 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1808, allocations: 192 / 448.6 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1808, allocations: 4.125 kB / 448.6 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1808, allocations: 2.906 kB / 448.6 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.893e-05/0.1808, allocations: 35.97 kB / 448.6 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.1811, allocations: 342.5 kB / 448.9 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.423e-05/0.1812, allocations: 57.97 kB / 449 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.959e-05/0.1812, allocations: 21.17 kB / 449 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.1812, allocations: 0.8438 kB / 449 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.133e-05/0.1812, allocations: 33.31 kB / 449 MB, free: 42.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1812, allocations: 0 / 449 MB, free: 42.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005327/0.1818, allocations: 330.5 kB / 449.4 MB, free: 41.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.1818, allocations: 51.41 kB / 449.4 MB, free: 41.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004102/0.1822, allocations: 0.8643 MB / 450.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.184e-06/0.1822, allocations: 28.7 kB / 450.3 MB, free: 41.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.1823, allocations: 207.5 kB / 450.5 MB, free: 41.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.1823, allocations: 26.59 kB / 450.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.1823, allocations: 25.64 kB / 450.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.322e-05/0.1824, allocations: 365.4 kB / 450.9 MB, free: 40.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.374e-05/0.1824, allocations: 35.94 kB / 450.9 MB, free: 40.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.823e-05/0.1824, allocations: 35.23 kB / 451 MB, free: 40.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.143e-05/0.1825, allocations: 80.97 kB / 451.1 MB, free: 40.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1825, allocations: 3.469 kB / 451.1 MB, free: 40.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001191/0.1826, allocations: 142.1 kB / 451.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.1826, allocations: 2.938 kB / 451.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1827, allocations: 0 / 451.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.1827, allocations: 7.031 kB / 451.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.093e-05/0.1827, allocations: 21.09 kB / 451.2 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1827, allocations: 2.938 kB / 451.2 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.1828, allocations: 10.06 kB / 451.2 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1828, allocations: 2.906 kB / 451.3 MB, free: 40.85 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 (8): * Single equations (assignments): 8 * 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.277e-05/0.1829, allocations: 217.1 kB / 451.5 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.1829, allocations: 48.42 kB / 451.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.1831, allocations: 176.2 kB / 451.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1831, allocations: 2.875 kB / 451.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1831, allocations: 0 / 451.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1831, allocations: 0 / 451.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.1834, allocations: 461.9 kB / 452.1 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1834, allocations: 0 / 452.1 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.1834, allocations: 21.58 kB / 452.2 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1834, allocations: 6.125 kB / 452.2 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.1834, allocations: 4.031 kB / 452.2 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1834, allocations: 0 / 452.2 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1834, allocations: 6.75 kB / 452.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.1835, allocations: 248.5 kB / 452.4 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.1836, allocations: 34.56 kB / 452.5 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1836, allocations: 4 kB / 452.5 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.118e-05/0.1836, allocations: 2.719 kB / 452.5 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.1836, allocations: 20.73 kB / 452.5 MB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.1836, allocations: 0 / 452.5 MB, free: 40.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000289/0.1839, allocations: 0.6593 MB / 453.1 MB, free: 39.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1839, allocations: 2.812 kB / 453.1 MB, free: 39.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001788/0.1841, allocations: 30.25 kB / 453.2 MB, free: 39.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0006775/0.1848, allocations: 495.8 kB / 453.7 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.1849, allocations: 74.55 kB / 453.7 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1849, allocations: 3.938 kB / 453.7 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.277e-05/0.185, allocations: 37.39 kB / 453.8 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.1852, allocations: 25.98 kB / 453.8 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000627/0.1859, allocations: 0.8735 MB / 454.7 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.186, allocations: 228.6 kB / 454.9 MB, free: 39.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.186, allocations: 20.31 kB / 454.9 MB, free: 39.08 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.186, allocations: 0 / 454.9 MB, free: 39.08 MB / 410.7 MB Notification: Performance of Templates: time 0.003808/0.1898, allocations: 4.202 MB / 459.1 MB, free: 38.16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.588378517888486]