Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.0007936/0.0007936, 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.004397/0.004397, allocations: 160.2 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.8956/0.8956, allocations: 177.1 MB / 205 MB, free: 5.738 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.2465/0.2465, allocations: 34.25 MB / 295.7 MB, free: 0.7031 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 443.5 MB, free: 1.094 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/3.013e-05, allocations: 4.672 kB / 443.5 MB, free: 1.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.1792/0.1792, allocations: 1.792 MB / 445.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.1807, allocations: 1.734 MB / 447 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.5e-05/0.1808, allocations: 3.938 kB / 447 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.181, allocations: 55.48 kB / 447.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.1813, allocations: 141.4 kB / 447.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001149/0.1814, allocations: 112.6 kB / 447.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.1816, allocations: 212.8 kB / 447.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.1816, allocations: 8.453 kB / 447.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.052e-05/0.1817, allocations: 111.1 kB / 447.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1818, allocations: 70.16 kB / 447.7 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.1818, allocations: 10.53 kB / 447.7 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1819, allocations: 105.3 kB / 447.9 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.926e-05/0.182, allocations: 36.62 kB / 447.9 MB, free: 42.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.182, allocations: 43.39 kB / 447.9 MB, free: 42.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.1822, allocations: 228.2 kB / 448.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.1822, allocations: 0 / 448.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1822, allocations: 3.328 kB / 448.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1822, allocations: 0 / 448.2 MB, free: 42.31 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004074/0.1826, allocations: 429.6 kB / 448.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1827, allocations: 11.78 kB / 448.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.1827, allocations: 21.64 kB / 448.6 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.1829, allocations: 185.1 kB / 448.8 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1829, allocations: 6.469 kB / 448.8 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.183, allocations: 7 kB / 448.8 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1831, allocations: 165.3 kB / 449 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1831, allocations: 3.938 kB / 449 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1831, allocations: 2.812 kB / 449 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1831, allocations: 0 / 449 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.052e-05/0.1832, allocations: 36.67 kB / 449 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.1833, allocations: 151.3 kB / 449.2 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1835, allocations: 110.6 kB / 449.3 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.676e-05/0.1835, allocations: 40.77 kB / 449.3 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.1835, allocations: 0 / 449.3 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.1836, allocations: 119.3 kB / 449.4 MB, free: 41.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 6.91e-07/0.1836, allocations: 0 / 449.4 MB, free: 41.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002569/0.1839, allocations: 184.2 kB / 449.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.1839, allocations: 142.8 kB / 449.7 MB, free: 41.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.1841, allocations: 241.9 kB / 450 MB, free: 40.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.1841, allocations: 29.7 kB / 450 MB, free: 40.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.1841, allocations: 119.2 kB / 450.1 MB, free: 40.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.1841, allocations: 25.7 kB / 450.1 MB, free: 40.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.1842, allocations: 29.75 kB / 450.2 MB, free: 40.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.657e-05/0.1842, allocations: 330.6 kB / 450.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.272e-05/0.1842, allocations: 28.98 kB / 450.5 MB, free: 40.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-05/0.1843, allocations: 128.1 kB / 450.6 MB, free: 40.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1844, allocations: 93.55 kB / 450.7 MB, free: 40.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1844, allocations: 0 / 450.7 MB, free: 40.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001367/0.1845, allocations: 149.4 kB / 450.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1845, allocations: 6.75 kB / 450.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1846, allocations: 7.219 kB / 450.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1846, allocations: 2.781 kB / 450.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.841e-05/0.1846, allocations: 20.59 kB / 450.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1846, allocations: 2.75 kB / 450.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.396e-05/0.1847, allocations: 12.94 kB / 450.9 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1847, allocations: 2.562 kB / 450.9 MB, free: 40.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.097e-05/0.1847, allocations: 135.7 kB / 451.1 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.1848, allocations: 23.33 kB / 451.1 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.1849, allocations: 170.1 kB / 451.3 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1849, allocations: 0 / 451.3 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1849, allocations: 2.781 kB / 451.3 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.185, allocations: 0 / 451.3 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.06e-05/0.185, allocations: 166.1 kB / 451.4 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.185, allocations: 4 kB / 451.4 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.127e-05/0.1851, allocations: 11.36 kB / 451.4 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1851, allocations: 2.906 kB / 451.4 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1851, allocations: 0 / 451.4 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1851, allocations: 10.53 kB / 451.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1851, allocations: 0 / 451.5 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.1852, allocations: 186.6 kB / 451.6 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.1852, allocations: 17.81 kB / 451.7 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.1852, allocations: 6.203 kB / 451.7 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.68e-05/0.1853, allocations: 6.781 kB / 451.7 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.1853, allocations: 15.69 kB / 451.7 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.1853, allocations: 9.516 kB / 451.7 MB, free: 39.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.123e-05/0.1854, allocations: 184.2 kB / 451.9 MB, free: 39.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1854, allocations: 0 / 451.9 MB, free: 39.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.1856, allocations: 52.66 kB / 451.9 MB, free: 39.47 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007716/0.1864, allocations: 0.5395 MB / 452.5 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.1865, allocations: 93.91 kB / 452.6 MB, free: 39.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1865, allocations: 2.812 kB / 452.6 MB, free: 39.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.384e-05/0.1866, allocations: 40.94 kB / 452.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.1868, allocations: 56.73 kB / 452.7 MB, free: 39.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.1871, allocations: 326.3 kB / 453 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.605e-05/0.1872, allocations: 106 kB / 453.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.1872, allocations: 43.94 kB / 453.1 MB, free: 38.91 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1872, allocations: 0 / 453.1 MB, free: 38.91 MB / 410.7 MB Notification: Performance of Templates: time 0.003321/0.1905, allocations: 3.252 MB / 456.4 MB, free: 38.54 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.8865207470953465]