Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001128/0.001128, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.004392/0.004392, allocations: 162.5 kB / 24.7 MB, free: 8.879 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.882/0.882, allocations: 177.1 MB / 205 MB, free: 5.746 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.2366/0.2366, allocations: 34.25 MB / 295.7 MB, free: 0.707 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.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 443.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.956e-05, allocations: 2.281 kB / 443.5 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.1821/0.1821, allocations: 1.707 MB / 445.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009827/0.1831, allocations: 0.9769 MB / 446.2 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.525e-05/0.1832, allocations: 0 / 446.2 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.1834, allocations: 82.62 kB / 446.3 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.1836, allocations: 122.1 kB / 446.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.1838, allocations: 80.75 kB / 446.5 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.1839, allocations: 123.4 kB / 446.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.571e-05/0.184, allocations: 9.906 kB / 446.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.02e-05/0.1841, allocations: 64 kB / 446.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.71e-05/0.1841, allocations: 55.19 kB / 446.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.1842, allocations: 13.38 kB / 446.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.379e-05/0.1842, allocations: 47.16 kB / 446.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.1843, allocations: 27.92 kB / 446.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.1843, allocations: 16.31 kB / 446.8 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.1844, allocations: 120.9 kB / 447 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1844, allocations: 2.875 kB / 447 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1845, allocations: 3.938 kB / 447 MB, free: 43.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1845, allocations: 0.875 kB / 447 MB, free: 43.07 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.0003421/0.1848, allocations: 350 kB / 447.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1848, allocations: 14.28 kB / 447.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.1849, allocations: 20.94 kB / 447.3 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.185, allocations: 149.6 kB / 447.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1851, allocations: 2.844 kB / 447.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.1851, allocations: 7.625 kB / 447.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.825e-05/0.1852, allocations: 53.05 kB / 447.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1852, allocations: 3.938 kB / 447.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1852, allocations: 4 kB / 447.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1852, allocations: 0 / 447.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.618e-05/0.1852, allocations: 22.05 kB / 447.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002149/0.1855, allocations: 236.4 kB / 447.8 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.937e-05/0.1856, allocations: 60.08 kB / 447.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.1856, allocations: 33.06 kB / 447.9 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.1856, allocations: 0 / 447.9 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.892e-05/0.1857, allocations: 66.89 kB / 448 MB, free: 42.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.82e-07/0.1857, allocations: 3.094 kB / 448 MB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003563/0.186, allocations: 175.6 kB / 448.1 MB, free: 42.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.1861, allocations: 54.06 kB / 448.2 MB, free: 42.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.1862, allocations: 222.6 kB / 448.4 MB, free: 41.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.1862, allocations: 28.94 kB / 448.4 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.1862, allocations: 113 kB / 448.5 MB, free: 41.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.1862, allocations: 29.61 kB / 448.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.1863, allocations: 30.91 kB / 448.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.717e-05/0.1863, allocations: 321 kB / 448.9 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.16e-05/0.1863, allocations: 26.77 kB / 448.9 MB, free: 41.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-05/0.1864, allocations: 42.06 kB / 449 MB, free: 41.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.033e-05/0.1864, allocations: 63.61 kB / 449.1 MB, free: 41.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1864, allocations: 0 / 449.1 MB, free: 41.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.299e-05/0.1865, allocations: 99.2 kB / 449.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.1865, allocations: 9.406 kB / 449.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1865, allocations: 3.234 kB / 449.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1865, allocations: 2.625 kB / 449.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.565e-05/0.1866, allocations: 15.56 kB / 449.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1866, allocations: 2.531 kB / 449.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.1866, allocations: 9.781 kB / 449.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.1866, allocations: 2.656 kB / 449.2 MB, free: 41.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.034e-05/0.1867, allocations: 137.7 kB / 449.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.1867, allocations: 11.89 kB / 449.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.1868, allocations: 125.4 kB / 449.5 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1868, allocations: 0 / 449.5 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1868, allocations: 0 / 449.5 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.1868, allocations: 2.812 kB / 449.5 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.187, allocations: 359.9 kB / 449.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.187, allocations: 0 / 449.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/0.1871, allocations: 11.97 kB / 449.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1871, allocations: 0 / 449.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.1871, allocations: 2.875 kB / 449.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1871, allocations: 0 / 449.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1871, allocations: 6.969 kB / 449.8 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.483e-05/0.1872, allocations: 216.7 kB / 450 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-06/0.1872, allocations: 9.766 kB / 450.1 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.1872, allocations: 7.281 kB / 450.1 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.585e-05/0.1872, allocations: 2.906 kB / 450.1 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.1872, allocations: 6.062 kB / 450.1 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.1873, allocations: 5.781 kB / 450.1 MB, free: 40.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.354e-05/0.1873, allocations: 175 kB / 450.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1873, allocations: 0 / 450.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001606/0.1875, allocations: 28.88 kB / 450.3 MB, free: 40.49 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006627/0.1881, allocations: 0.4985 MB / 450.8 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.1883, allocations: 60.44 kB / 450.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.1883, allocations: 64 / 450.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.791e-05/0.1883, allocations: 35.45 kB / 450.9 MB, free: 40.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.1885, allocations: 26.69 kB / 450.9 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.1888, allocations: 288.7 kB / 451.2 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.919e-05/0.1889, allocations: 99.11 kB / 451.3 MB, free: 39.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.1889, allocations: 17.06 kB / 451.3 MB, free: 39.98 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1889, allocations: 0 / 451.3 MB, free: 39.98 MB / 410.7 MB Notification: Performance of Templates: time 0.002209/0.1911, allocations: 2.06 MB / 453.4 MB, free: 39.75 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.72750330530107]