Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.000853/0.000853, 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.003636/0.003636, allocations: 160.3 kB / 24.7 MB, free: 9.43 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.8857/0.8857, allocations: 177.1 MB / 205 MB, free: 5.758 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.2403/0.2403, allocations: 34.26 MB / 295.7 MB, free: 0.6953 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 443.5 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.048e-05/3.226e-05, allocations: 11 kB / 443.5 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.1822/0.1823, allocations: 1.713 MB / 445.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1834, allocations: 0.9692 MB / 446.2 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.712e-05/0.1835, allocations: 0 / 446.2 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.1838, allocations: 45.8 kB / 446.3 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002749/0.184, allocations: 95.73 kB / 446.4 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.1842, allocations: 83.78 kB / 446.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.1843, allocations: 107.1 kB / 446.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.154e-05/0.1844, allocations: 10.23 kB / 446.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.248e-05/0.1845, allocations: 57.78 kB / 446.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.291e-05/0.1846, allocations: 21.12 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1846, allocations: 5.844 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.289e-05/0.1847, allocations: 51.69 kB / 446.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.1847, allocations: 21.16 kB / 446.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.1847, allocations: 16.75 kB / 446.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1849, allocations: 122.1 kB / 446.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1849, allocations: 3 kB / 446.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1849, allocations: 3.25 kB / 446.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1849, allocations: 0 / 446.8 MB, free: 43.08 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.0003746/0.1853, allocations: 348 kB / 447.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1853, allocations: 8.625 kB / 447.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.1854, allocations: 14.62 kB / 447.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.1855, allocations: 146.7 kB / 447.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1856, allocations: 2.844 kB / 447.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.1856, allocations: 3.094 kB / 447.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.1857, allocations: 57.25 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1857, allocations: 3.938 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1857, allocations: 0 / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1857, allocations: 3.281 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.722e-05/0.1858, allocations: 22.47 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.186, allocations: 238.1 kB / 447.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.1861, allocations: 59.94 kB / 447.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.98e-05/0.1861, allocations: 24.72 kB / 447.8 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.1861, allocations: 0 / 447.8 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.478e-05/0.1862, allocations: 70.84 kB / 447.8 MB, free: 42.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.1862, allocations: 0.5625 kB / 447.8 MB, free: 42.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003741/0.1866, allocations: 186.6 kB / 448 MB, free: 42.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.1866, allocations: 55.41 kB / 448.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1867, allocations: 200.7 kB / 448.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.1868, allocations: 29.7 kB / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.1868, allocations: 101.2 kB / 448.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.1868, allocations: 21.64 kB / 448.4 MB, free: 41.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.1868, allocations: 27.02 kB / 448.4 MB, free: 41.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.038e-05/0.1869, allocations: 321.1 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.533e-05/0.1869, allocations: 23.06 kB / 448.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.1869, allocations: 41.08 kB / 448.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.18e-05/0.187, allocations: 70.53 kB / 448.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.187, allocations: 0 / 448.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001007/0.1871, allocations: 102.9 kB / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1871, allocations: 7.438 kB / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1871, allocations: 2.906 kB / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1871, allocations: 0 / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.308e-05/0.1872, allocations: 18.16 kB / 449 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1872, allocations: 7.312 kB / 449 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/0.1872, allocations: 6.969 kB / 449 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.1872, allocations: 3 kB / 449 MB, free: 41.32 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.409e-05/0.1873, allocations: 129.4 kB / 449.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.1873, allocations: 9.328 kB / 449.2 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.1874, allocations: 129 kB / 449.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1874, allocations: 0 / 449.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1874, allocations: 0 / 449.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1874, allocations: 0 / 449.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.1877, allocations: 358 kB / 449.6 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1877, allocations: 2.938 kB / 449.6 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.31e-05/0.1877, allocations: 11.98 kB / 449.7 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1877, allocations: 0 / 449.7 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1877, allocations: 3.031 kB / 449.7 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1877, allocations: 0 / 449.7 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1877, allocations: 7.062 kB / 449.7 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.1878, allocations: 211.1 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.1878, allocations: 14.97 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.1879, allocations: 6.562 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.749e-05/0.1879, allocations: 11.2 kB / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.1879, allocations: 8.953 kB / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1879, allocations: 2.75 kB / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.047e-05/0.188, allocations: 161.4 kB / 450.1 MB, free: 40.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.188, allocations: 2.875 kB / 450.1 MB, free: 40.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.1882, allocations: 21.44 kB / 450.1 MB, free: 40.54 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.0007337/0.1889, allocations: 0.4907 MB / 450.6 MB, free: 40.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.189, allocations: 60.95 kB / 450.6 MB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.189, allocations: 0 / 450.6 MB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.789e-05/0.1891, allocations: 28.88 kB / 450.7 MB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.1893, allocations: 35.47 kB / 450.7 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.1896, allocations: 254 kB / 451 MB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.917e-05/0.1896, allocations: 96.14 kB / 451 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.1897, allocations: 20.16 kB / 451.1 MB, free: 40.05 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1897, allocations: 0 / 451.1 MB, free: 40.05 MB / 410.7 MB Notification: Performance of Templates: time 0.002543/0.1922, allocations: 2.006 MB / 453.1 MB, free: 39.83 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.68394925724715]