Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.0009592/0.0009592, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.0009495/0.0009495, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.901/0.901, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.129/0.129, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8") translateModel(ModelicaTest.Tables.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.719e-05, allocations: 2.312 kB / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.002337/0.002364, allocations: 1.604 MB / 300.7 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005043/0.002869, allocations: 311.4 kB / 301 MB, free: 276 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.321e-05/0.002912, allocations: 0 / 301 MB, free: 276 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1766/0.1795, allocations: 442.3 kB / 301.4 MB, free: 19.44 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004585/0.18, allocations: 254.5 kB / 301.7 MB, free: 19.44 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.1803, allocations: 107.1 kB / 301.8 MB, free: 19.44 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003678/0.1806, allocations: 160.6 kB / 301.9 MB, free: 19.44 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.891e-05/0.1807, allocations: 9.938 kB / 301.9 MB, free: 19.44 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.1809, allocations: 112.8 kB / 302 MB, free: 19.44 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002921/0.1812, allocations: 189.5 kB / 302.2 MB, free: 19.44 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.1813, allocations: 2.5 kB / 302.2 MB, free: 19.44 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.929e-05/0.1813, allocations: 21.98 kB / 302.3 MB, free: 19.44 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.1815, allocations: 84.23 kB / 302.3 MB, free: 19.42 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.1815, allocations: 32.98 kB / 302.4 MB, free: 19.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.1818, allocations: 185 kB / 302.6 MB, free: 19.37 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1818, allocations: 0 / 302.6 MB, free: 19.37 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1818, allocations: 0 / 302.6 MB, free: 19.37 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1818, allocations: 1.094 kB / 302.6 MB, free: 19.37 MB / 282.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.0005928/0.1824, allocations: 0.5297 MB / 303.1 MB, free: 18.96 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1824, allocations: 9.094 kB / 303.1 MB, free: 18.96 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.1825, allocations: 22.86 kB / 303.1 MB, free: 18.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.1827, allocations: 245.5 kB / 303.4 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.1827, allocations: 2.797 kB / 303.4 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.1827, allocations: 2.719 kB / 303.4 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.1828, allocations: 53.92 kB / 303.4 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1828, allocations: 0.8438 kB / 303.4 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.1828, allocations: 1.031 kB / 303.4 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1828, allocations: 5.594 kB / 303.4 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.705e-05/0.1828, allocations: 5.281 kB / 303.4 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.1831, allocations: 155 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.041e-05/0.1831, allocations: 20.58 kB / 303.6 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.447e-05/0.1831, allocations: 13.86 kB / 303.6 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.1832, allocations: 2.719 kB / 303.6 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.1832, allocations: 32.3 kB / 303.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.833e-06/0.1832, allocations: 0 / 303.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001395/0.1833, allocations: 58.91 kB / 303.7 MB, free: 18.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.1834, allocations: 54.66 kB / 303.8 MB, free: 18.4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005538/0.1839, allocations: 0.5194 MB / 304.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.1839, allocations: 29.27 kB / 304.3 MB, free: 18.24 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.184, allocations: 140.2 kB / 304.4 MB, free: 18.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.184, allocations: 9.578 kB / 304.4 MB, free: 18.15 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.184, allocations: 15.36 kB / 304.5 MB, free: 18.13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.934e-05/0.1841, allocations: 359.7 kB / 304.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/0.1841, allocations: 1.062 kB / 304.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-06/0.1841, allocations: 1.125 kB / 304.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.166e-05/0.1842, allocations: 14.12 kB / 304.8 MB, free: 17.81 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1842, allocations: 4.312 kB / 304.8 MB, free: 17.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.135e-05/0.1843, allocations: 53.98 kB / 304.9 MB, free: 17.78 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1843, allocations: 9.312 kB / 304.9 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1843, allocations: 0 / 304.9 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1843, allocations: 0 / 304.9 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.1844, allocations: 5.547 kB / 304.9 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.1844, allocations: 0 / 304.9 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.1844, allocations: 2.844 kB / 304.9 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.1844, allocations: 3.781 kB / 304.9 MB, free: 17.77 MB / 282.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 6.669e-05/0.1845, allocations: 118.5 kB / 305 MB, free: 17.65 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.1845, allocations: 21.73 kB / 305 MB, free: 17.65 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.1846, allocations: 74.88 kB / 305.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1846, allocations: 1.594 kB / 305.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.1846, allocations: 1.281 kB / 305.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1846, allocations: 0 / 305.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.1848, allocations: 132.5 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1848, allocations: 256 / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.132e-05/0.1849, allocations: 8.141 kB / 305.3 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1849, allocations: 1.156 kB / 305.3 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.1849, allocations: 1.812 kB / 305.3 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1849, allocations: 3 kB / 305.3 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1849, allocations: 5.031 kB / 305.3 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.281e-05/0.185, allocations: 153.3 kB / 305.4 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.185, allocations: 34.19 kB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.185, allocations: 1.625 kB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.68e-05/0.185, allocations: 1.75 kB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.1851, allocations: 10.52 kB / 305.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.1851, allocations: 4.438 kB / 305.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002929/0.1854, allocations: 277.4 kB / 305.7 MB, free: 17.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1854, allocations: 2.906 kB / 305.7 MB, free: 17.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001576/0.1855, allocations: 15.31 kB / 305.8 MB, free: 17.34 MB / 282.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.0009772/0.1865, allocations: 432.6 kB / 306.2 MB, free: 17.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.136e-05/0.1866, allocations: 11.73 kB / 306.2 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/0.1866, allocations: 4.438 kB / 306.2 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.481e-05/0.1866, allocations: 13.42 kB / 306.2 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.1869, allocations: 23.39 kB / 306.2 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009274/0.1878, allocations: 0.5523 MB / 306.8 MB, free: 16.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.512e-05/0.1879, allocations: 116 kB / 306.9 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.603e-05/0.1879, allocations: 14.08 kB / 306.9 MB, free: 16.71 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.188, allocations: 54.19 kB / 307 MB, free: 16.66 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.188, allocations: 1.5 kB / 307 MB, free: 16.66 MB / 282.7 MB Notification: Performance of Templates: time 0.004925/0.1929, allocations: 1.228 MB / 308.2 MB, free: 16.5 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.91309931082651]