Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.00177/0.00177, allocations: 124.5 kB / 17.79 MB, free: 5.246 MB / 14.72 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.001514/0.001514, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 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 1.654/1.654, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2653/0.2653, allocations: 46.93 MB / 357.1 MB, free: 10.29 MB / 286.1 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 63.89 kB / 0.4915 GB, free: 7.344 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1703, allocations: 66 MB / 0.5559 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.004239/0.1746, allocations: 1.739 MB / 0.5576 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00359/0.1782, allocations: 1.646 MB / 0.5592 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.1783, allocations: 3.938 kB / 0.5592 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.1787, allocations: 35.77 kB / 0.5593 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005328/0.1792, allocations: 99.55 kB / 0.5594 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.1795, allocations: 75.72 kB / 0.5594 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.1798, allocations: 111.6 kB / 0.5596 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.18, allocations: 11.98 kB / 0.5596 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.1801, allocations: 51.78 kB / 0.5596 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.1803, allocations: 39.83 kB / 0.5597 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.1803, allocations: 12 kB / 0.5597 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.1807, allocations: 107.9 kB / 0.5598 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.172e-05/0.1807, allocations: 19.92 kB / 0.5598 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.458e-05/0.1808, allocations: 39.73 kB / 0.5598 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000462/0.1813, allocations: 171.3 kB / 0.56 GB, free: 1.043 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.1813, allocations: 4 kB / 0.56 GB, free: 1.039 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1813, allocations: 0 / 0.56 GB, free: 1.039 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1813, allocations: 0 / 0.56 GB, free: 1.039 MB / 414.1 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.0009064/0.1822, allocations: 426.6 kB / 0.5604 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1822, allocations: 15.97 kB / 0.5604 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.947e-05/0.1823, allocations: 12.84 kB / 0.5604 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004932/0.1828, allocations: 208.8 kB / 0.5606 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.1828, allocations: 3.938 kB / 0.5606 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.1829, allocations: 4 kB / 0.5606 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.1831, allocations: 75.31 kB / 0.5607 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1831, allocations: 4 kB / 0.5607 GB, free: 212 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.1831, allocations: 0 / 0.5607 GB, free: 212 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1831, allocations: 4 kB / 0.5607 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.1832, allocations: 19.98 kB / 0.5607 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005419/0.1838, allocations: 280.9 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.184, allocations: 58.61 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.313e-05/0.1841, allocations: 20.84 kB / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1841, allocations: 4 kB / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.1843, allocations: 67.39 kB / 0.5611 GB, free: 15.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1843, allocations: 0 / 0.5611 GB, free: 15.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006831/0.185, allocations: 173.3 kB / 0.5613 GB, free: 15.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.828e-05/0.1851, allocations: 85.03 kB / 0.5614 GB, free: 15.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.1853, allocations: 165.5 kB / 0.5615 GB, free: 15.24 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1853, allocations: 41.64 kB / 0.5616 GB, free: 15.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.1854, allocations: 92.14 kB / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.1855, allocations: 31.73 kB / 0.5617 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.1855, allocations: 25.72 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002234/0.1857, allocations: 322.8 kB / 0.562 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.642e-05/0.1858, allocations: 23.98 kB / 0.5621 GB, free: 14.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.654e-05/0.1859, allocations: 42.56 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.186, allocations: 57.73 kB / 0.5622 GB, free: 14.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.186, allocations: 0 / 0.5622 GB, free: 14.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002996/0.1863, allocations: 102 kB / 0.5623 GB, free: 14.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1864, allocations: 4 kB / 0.5623 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1864, allocations: 0 / 0.5623 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.1864, allocations: 0 / 0.5623 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1865, allocations: 23.98 kB / 0.5623 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.1865, allocations: 7.875 kB / 0.5623 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.675e-05/0.1866, allocations: 7.969 kB / 0.5623 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.1866, allocations: 4 kB / 0.5623 GB, free: 14.42 MB / 430.1 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 0.0002154/0.1868, allocations: 128 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.1868, allocations: 7.953 kB / 0.5624 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.812e-05/0.1869, allocations: 12.72 kB / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1869, allocations: 0 / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.1869, allocations: 3.938 kB / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1869, allocations: 0 / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006071/0.1875, allocations: 407.4 kB / 0.5628 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1875, allocations: 0 / 0.5628 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.329e-05/0.1875, allocations: 15.92 kB / 0.5628 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1875, allocations: 3.984 kB / 0.5629 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.1876, allocations: 0 / 0.5629 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1876, allocations: 4 kB / 0.5629 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1876, allocations: 0 / 0.5629 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.1879, allocations: 208.3 kB / 0.5631 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-05/0.1879, allocations: 92.98 kB / 0.5631 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.188, allocations: 4 kB / 0.5631 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.934e-05/0.188, allocations: 4 kB / 0.5632 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.1881, allocations: 7.984 kB / 0.5632 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.1881, allocations: 0 / 0.5632 GB, free: 13.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.1882, allocations: 127.4 kB / 0.5633 GB, free: 13.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1882, allocations: 0 / 0.5633 GB, free: 13.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003465/0.1886, allocations: 55.8 kB / 0.5633 GB, free: 13.26 MB / 430.1 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 (8): * Single equations (assignments): 6 * 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.002209/0.1908, allocations: 0.544 MB / 0.5639 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.191, allocations: 55.92 kB / 0.5639 GB, free: 12.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.191, allocations: 8.062 kB / 0.5639 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.694e-05/0.1911, allocations: 23.92 kB / 0.5639 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.1915, allocations: 31.92 kB / 0.564 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006103/0.1921, allocations: 198.8 kB / 0.5642 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.1926, allocations: 0.7041 MB / 0.5649 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.875e-05/0.1926, allocations: 16.88 kB / 0.5649 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.55e-05/0.1927, allocations: 19.42 kB / 0.5649 GB, free: 11.81 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1927, allocations: 0 / 0.5649 GB, free: 11.81 MB / 430.1 MB Notification: Performance of Templates: time 0.007522/0.2002, allocations: 2.37 MB / 0.5672 GB, free: 9.461 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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: 5.547676678746939]