Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.0007991/0.0007991, 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.003285/0.003285, allocations: 160.2 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.8645/0.8645, allocations: 177.1 MB / 205 MB, free: 5.719 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.2667/0.2667, allocations: 34.26 MB / 295.7 MB, free: 0.6914 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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 443.5 MB, free: 1.129 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.429e-05, allocations: 6.219 kB / 443.5 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.1815/0.1815, allocations: 1.596 MB / 445.1 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007502/0.1823, allocations: 0.5431 MB / 445.6 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.1823, allocations: 3.031 kB / 445.6 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.1825, allocations: 16.38 kB / 445.6 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.1828, allocations: 85.61 kB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.1829, allocations: 90.41 kB / 445.8 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.1831, allocations: 84.23 kB / 445.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.1832, allocations: 9.375 kB / 445.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.698e-05/0.1832, allocations: 41.78 kB / 445.9 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.1833, allocations: 22.36 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1833, allocations: 10.05 kB / 446 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1834, allocations: 90.69 kB / 446 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.1835, allocations: 21.56 kB / 446.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.1835, allocations: 16.28 kB / 446.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.1837, allocations: 158.8 kB / 446.2 MB, free: 43.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1837, allocations: 0 / 446.2 MB, free: 43.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1837, allocations: 0 / 446.2 MB, free: 43.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1837, allocations: 0 / 446.2 MB, free: 43.43 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003608/0.1841, allocations: 334.1 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1841, allocations: 11.67 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.1842, allocations: 8.578 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.1843, allocations: 140 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.1843, allocations: 8.188 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.1843, allocations: 7 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.1845, allocations: 91.03 kB / 446.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1845, allocations: 192 / 446.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1845, allocations: 10.5 kB / 446.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1845, allocations: 3.25 kB / 446.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.649e-05/0.1845, allocations: 27.02 kB / 446.9 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.1848, allocations: 230.8 kB / 447.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.644e-05/0.1849, allocations: 61.03 kB / 447.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.1849, allocations: 26.88 kB / 447.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1849, allocations: 0 / 447.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.1849, allocations: 43.81 kB / 447.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.1849, allocations: 0 / 447.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004136/0.1854, allocations: 191.1 kB / 447.4 MB, free: 42.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.1854, allocations: 81.67 kB / 447.5 MB, free: 42.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.021e-05/0.1855, allocations: 157.7 kB / 447.6 MB, free: 42.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.1855, allocations: 25.7 kB / 447.7 MB, free: 42.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.1855, allocations: 96.73 kB / 447.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.1855, allocations: 26.22 kB / 447.8 MB, free: 42.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.1856, allocations: 25.95 kB / 447.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.95e-05/0.1856, allocations: 321.3 kB / 448.1 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.251e-05/0.1856, allocations: 37.41 kB / 448.2 MB, free: 41.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.098e-05/0.1857, allocations: 75.62 kB / 448.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.155e-05/0.1858, allocations: 69.33 kB / 448.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1858, allocations: 3.938 kB / 448.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001127/0.1859, allocations: 116.8 kB / 448.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1859, allocations: 5.906 kB / 448.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1859, allocations: 1.75 kB / 448.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1859, allocations: 5.062 kB / 448.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.895e-05/0.186, allocations: 21.64 kB / 448.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.186, allocations: 3 kB / 448.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.186, allocations: 5.844 kB / 448.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-06/0.186, allocations: 2.781 kB / 448.5 MB, free: 41.66 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 (9): * Single equations (assignments): 9 * 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 4.585e-05/0.1861, allocations: 117.1 kB / 448.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.1861, allocations: 17.53 kB / 448.6 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.1862, allocations: 122.7 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1862, allocations: 0 / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1862, allocations: 0 / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1862, allocations: 3 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.1865, allocations: 334.7 kB / 449 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1865, allocations: 0 / 449 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.1865, allocations: 14.88 kB / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1865, allocations: 6.125 kB / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.1865, allocations: 4 kB / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1865, allocations: 288 / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1865, allocations: 0 / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.1866, allocations: 210.2 kB / 449.3 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.1866, allocations: 18.08 kB / 449.3 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.1867, allocations: 0 / 449.3 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.647e-05/0.1867, allocations: 9.844 kB / 449.3 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.1867, allocations: 3.141 kB / 449.3 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1867, allocations: 2.875 kB / 449.3 MB, free: 41.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.72e-05/0.1868, allocations: 117.2 kB / 449.4 MB, free: 40.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1868, allocations: 4 kB / 449.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001812/0.187, allocations: 46.64 kB / 449.5 MB, free: 40.91 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 (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.0008081/0.1878, allocations: 0.5378 MB / 450 MB, free: 40.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.1879, allocations: 73.19 kB / 450.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1879, allocations: 0 / 450.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.1879, allocations: 33.52 kB / 450.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.1882, allocations: 16.86 kB / 450.1 MB, free: 40.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.1885, allocations: 229.7 kB / 450.4 MB, free: 40.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.38e-05/0.1885, allocations: 79.92 kB / 450.4 MB, free: 40.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.1886, allocations: 20.34 kB / 450.4 MB, free: 40.43 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1886, allocations: 0 / 450.4 MB, free: 40.43 MB / 410.7 MB Notification: Performance of Templates: time 0.002548/0.1911, allocations: 2.202 MB / 452.7 MB, free: 40.18 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.904236851260066]