Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.001941/0.001941, allocations: 124.3 kB / 17.79 MB, free: 5.227 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.002467/0.002467, allocations: 203.3 kB / 20.74 MB, free: 2.281 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.609/1.609, 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.2788/0.2788, allocations: 46.91 MB / 357.1 MB, free: 10.3 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 71.91 kB / 0.4915 GB, free: 7.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1728, allocations: 66 MB / 0.5559 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.004212/0.177, allocations: 1.731 MB / 0.5576 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.1792, allocations: 1.038 MB / 0.5586 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.1794, allocations: 3.938 kB / 0.5587 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.1798, allocations: 39.83 kB / 0.5587 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005126/0.1803, allocations: 99.53 kB / 0.5588 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.1806, allocations: 75.67 kB / 0.5589 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.1809, allocations: 107.7 kB / 0.559 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.181, allocations: 12 kB / 0.559 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1811, allocations: 47.77 kB / 0.559 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.1812, allocations: 35.8 kB / 0.5591 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.1813, allocations: 4 kB / 0.5591 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.1814, allocations: 47.97 kB / 0.5591 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.648e-05/0.1815, allocations: 19.92 kB / 0.5591 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.873e-05/0.1816, allocations: 39.67 kB / 0.5592 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.1819, allocations: 119.5 kB / 0.5593 GB, free: 1.793 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1819, allocations: 0 / 0.5593 GB, free: 1.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1819, allocations: 0 / 0.5593 GB, free: 1.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1819, allocations: 4 kB / 0.5593 GB, free: 1.789 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.0007763/0.1826, allocations: 434.5 kB / 0.5597 GB, free: 1.316 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1827, allocations: 8.031 kB / 0.5597 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.464e-05/0.1828, allocations: 8.891 kB / 0.5597 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.1831, allocations: 216.1 kB / 0.5599 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1831, allocations: 4.375 kB / 0.5599 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.1832, allocations: 12.11 kB / 0.5599 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.1834, allocations: 53.67 kB / 0.56 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.1834, allocations: 4 kB / 0.56 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1834, allocations: 0 / 0.56 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1834, allocations: 0 / 0.56 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.1835, allocations: 23.92 kB / 0.56 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.184, allocations: 284.8 kB / 0.5603 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.1842, allocations: 62.67 kB / 0.5603 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.165e-05/0.1843, allocations: 16.86 kB / 0.5604 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.1843, allocations: 0 / 0.5604 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.1845, allocations: 71.33 kB / 0.5604 GB, free: 460 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1845, allocations: 0 / 0.5604 GB, free: 460 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006978/0.1852, allocations: 185.5 kB / 0.5606 GB, free: 268 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.1853, allocations: 55.41 kB / 0.5607 GB, free: 200 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.1856, allocations: 210.7 kB / 0.5609 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.1856, allocations: 29.7 kB / 0.5609 GB, free: 15.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.1857, allocations: 96.14 kB / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.1857, allocations: 27.78 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.1858, allocations: 25.72 kB / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.186, allocations: 330.8 kB / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.372e-05/0.1861, allocations: 20 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.8e-05/0.1861, allocations: 37.7 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.1863, allocations: 57.64 kB / 0.5614 GB, free: 15.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1863, allocations: 4 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000236/0.1865, allocations: 105.6 kB / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1865, allocations: 4 kB / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1865, allocations: 4 kB / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.1866, allocations: 3.984 kB / 0.5616 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1867, allocations: 19.97 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1867, allocations: 0 / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.397e-05/0.1867, allocations: 7.938 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1867, allocations: 4 kB / 0.5616 GB, free: 15.17 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.0001447/0.1869, allocations: 129.8 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.1869, allocations: 15.91 kB / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.389e-05/0.187, allocations: 17.39 kB / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.187, allocations: 3.984 kB / 0.5618 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.187, allocations: 8 kB / 0.5618 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.187, allocations: 3.938 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.1876, allocations: 391.3 kB / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1876, allocations: 3.984 kB / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.255e-05/0.1876, allocations: 11.94 kB / 0.5622 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1876, allocations: 0 / 0.5622 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.1876, allocations: 7.938 kB / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1876, allocations: 4 kB / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.1876, allocations: 0 / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.1879, allocations: 204.3 kB / 0.5624 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.17e-05/0.188, allocations: 93.05 kB / 0.5624 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.188, allocations: 3.938 kB / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.682e-05/0.1881, allocations: 4 kB / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.1882, allocations: 7.984 kB / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.1882, allocations: 7.938 kB / 0.5625 GB, free: 14.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.1884, allocations: 164.3 kB / 0.5626 GB, free: 14 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1884, allocations: 0 / 0.5626 GB, free: 14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.1886, allocations: 24.12 kB / 0.5627 GB, free: 13.98 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.001877/0.1905, allocations: 468.5 kB / 0.5631 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.1908, allocations: 55.91 kB / 0.5632 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1908, allocations: 0 / 0.5632 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.278e-05/0.1909, allocations: 27.98 kB / 0.5632 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1912, allocations: 30.55 kB / 0.5632 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006208/0.1919, allocations: 250.7 kB / 0.5634 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.1923, allocations: 0.708 MB / 0.5641 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.744e-05/0.1924, allocations: 12.88 kB / 0.5641 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.1924, allocations: 23.42 kB / 0.5642 GB, free: 12.55 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1924, allocations: 0 / 0.5642 GB, free: 12.55 MB / 430.1 MB Notification: Performance of Templates: time 0.006046/0.1985, allocations: 1.748 MB / 0.5659 GB, free: 10.82 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.476730860769749]