Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.001745/0.001745, allocations: 119.4 kB / 17.79 MB, free: 5.285 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.002052/0.002052, allocations: 200.3 kB / 20.74 MB, free: 2.344 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.606/1.606, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2649/0.2649, allocations: 46.93 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.Test89,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.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,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.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 67.91 kB / 0.4915 GB, free: 7.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1729, allocations: 66 MB / 0.5559 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003618/0.1765, allocations: 1.739 MB / 0.5576 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002759/0.1793, allocations: 1.646 MB / 0.5592 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1794, allocations: 3.938 kB / 0.5592 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.1797, allocations: 31.84 kB / 0.5593 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003757/0.1801, allocations: 103.5 kB / 0.5594 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.1803, allocations: 79.67 kB / 0.5595 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.1805, allocations: 111.6 kB / 0.5596 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1806, allocations: 12 kB / 0.5596 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.1807, allocations: 43.78 kB / 0.5596 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.1809, allocations: 43.83 kB / 0.5597 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1809, allocations: 4 kB / 0.5597 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.1811, allocations: 115.9 kB / 0.5598 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.057e-05/0.1812, allocations: 15.92 kB / 0.5598 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.1812, allocations: 39.72 kB / 0.5598 GB, free: 1.238 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.1816, allocations: 175.4 kB / 0.56 GB, free: 1.066 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.1816, allocations: 4 kB / 0.56 GB, free: 1.062 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1816, allocations: 0 / 0.56 GB, free: 1.062 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1816, allocations: 0 / 0.56 GB, free: 1.062 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.0007056/0.1823, allocations: 426.6 kB / 0.5604 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1823, allocations: 15.97 kB / 0.5604 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.1824, allocations: 12.84 kB / 0.5604 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/0.1827, allocations: 208.8 kB / 0.5606 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1827, allocations: 7.938 kB / 0.5606 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.1827, allocations: 0 / 0.5606 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1829, allocations: 71.38 kB / 0.5607 GB, free: 244 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1829, allocations: 3.938 kB / 0.5607 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1829, allocations: 0 / 0.5607 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.1829, allocations: 4 kB / 0.5607 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.975e-05/0.183, allocations: 15.98 kB / 0.5607 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.1835, allocations: 292.9 kB / 0.561 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.1836, allocations: 62.55 kB / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.1837, allocations: 16.86 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.1837, allocations: 3.984 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.1839, allocations: 75.38 kB / 0.5612 GB, free: 15.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1839, allocations: 0 / 0.5612 GB, free: 15.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006058/0.1845, allocations: 173.6 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.1846, allocations: 81.05 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.1848, allocations: 165.5 kB / 0.5616 GB, free: 15.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.1848, allocations: 33.69 kB / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.519e-05/0.1849, allocations: 96.14 kB / 0.5617 GB, free: 15.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.1849, allocations: 27.73 kB / 0.5617 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.185, allocations: 25.72 kB / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1851, allocations: 326.8 kB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-05/0.1852, allocations: 19.98 kB / 0.5621 GB, free: 14.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.02e-05/0.1853, allocations: 42.62 kB / 0.5621 GB, free: 14.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.1854, allocations: 61.8 kB / 0.5622 GB, free: 14.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1854, allocations: 4.031 kB / 0.5622 GB, free: 14.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001996/0.1856, allocations: 105.5 kB / 0.5623 GB, free: 14.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1856, allocations: 8 kB / 0.5623 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1856, allocations: 0 / 0.5623 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1856, allocations: 0 / 0.5623 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1857, allocations: 19.98 kB / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.1857, allocations: 7.938 kB / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.1858, allocations: 3.938 kB / 0.5623 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1858, allocations: 4 kB / 0.5623 GB, free: 14.44 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.0001181/0.1859, allocations: 124 kB / 0.5624 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.1859, allocations: 19.94 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.228e-05/0.186, allocations: 12.72 kB / 0.5625 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.186, allocations: 0 / 0.5625 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.186, allocations: 3.938 kB / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.186, allocations: 0 / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005125/0.1865, allocations: 395.3 kB / 0.5628 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1865, allocations: 4 kB / 0.5628 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.624e-05/0.1866, allocations: 19.95 kB / 0.5629 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1866, allocations: 0 / 0.5629 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1866, allocations: 0 / 0.5629 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1866, allocations: 192 / 0.5629 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1866, allocations: 4 kB / 0.5629 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.1868, allocations: 200.3 kB / 0.5631 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-05/0.1869, allocations: 85 kB / 0.5631 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.187, allocations: 15.92 kB / 0.5632 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.187, allocations: 4 kB / 0.5632 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.1871, allocations: 4 kB / 0.5632 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.1871, allocations: 7.984 kB / 0.5632 GB, free: 13.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.1872, allocations: 123.2 kB / 0.5633 GB, free: 13.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1872, allocations: 0 / 0.5633 GB, free: 13.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003111/0.1875, allocations: 47.86 kB / 0.5633 GB, free: 13.29 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.002096/0.1896, allocations: 0.5484 MB / 0.5639 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.1898, allocations: 55.91 kB / 0.5639 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1898, allocations: 0 / 0.5639 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.624e-05/0.1899, allocations: 27.98 kB / 0.5639 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.1903, allocations: 32.05 kB / 0.564 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.1907, allocations: 198.8 kB / 0.5642 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.1911, allocations: 0.7002 MB / 0.5649 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.153e-05/0.1912, allocations: 21.17 kB / 0.5649 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.1912, allocations: 23.44 kB / 0.5649 GB, free: 11.83 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1912, allocations: 0 / 0.5649 GB, free: 11.83 MB / 430.1 MB Notification: Performance of Templates: time 0.006606/0.1978, allocations: 2.372 MB / 0.5672 GB, free: 9.477 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.609047196805477]