Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009315/0.0009317, allocations: 178.5 kB / 16.71 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.7 MB / 243.2 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 89.86 kB / 294.4 MB, free: 9.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.9749/0.9749, allocations: 120.5 MB / 465.9 MB, free: 7.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003726, allocations: 8 kB / 0.5464 GB, free: 41.41 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1765, allocations: 82.86 MB / 0.6273 GB, free: 7.871 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002055/0.1786, allocations: 1.263 MB / 0.6285 GB, free: 6.598 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.1802, allocations: 0.9698 MB / 0.6295 GB, free: 5.586 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.246e-05/0.1803, allocations: 4 kB / 0.6295 GB, free: 5.582 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.1807, allocations: 59.81 kB / 0.6295 GB, free: 5.523 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.1811, allocations: 91.7 kB / 0.6296 GB, free: 5.434 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.1813, allocations: 87.84 kB / 0.6297 GB, free: 5.348 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.1816, allocations: 131.6 kB / 0.6298 GB, free: 5.219 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.562e-05/0.1817, allocations: 4 kB / 0.6298 GB, free: 5.215 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.1818, allocations: 59.75 kB / 0.6299 GB, free: 5.156 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.182, allocations: 55.77 kB / 0.6299 GB, free: 5.102 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.182, allocations: 4 kB / 0.6299 GB, free: 5.098 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.1822, allocations: 23.98 kB / 0.63 GB, free: 5.074 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.1823, allocations: 71.8 kB / 0.63 GB, free: 5.004 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.1824, allocations: 81.19 kB / 0.6301 GB, free: 4.918 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.1827, allocations: 147.6 kB / 0.6303 GB, free: 4.773 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.1827, allocations: 4 kB / 0.6303 GB, free: 4.77 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1827, allocations: 0 / 0.6303 GB, free: 4.77 MB / 442.8 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1827, allocations: 0 / 0.6303 GB, free: 4.77 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007638/0.1835, allocations: 470.4 kB / 0.6307 GB, free: 4.262 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.1836, allocations: 16.03 kB / 0.6307 GB, free: 4.246 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.1836, allocations: 16.75 kB / 0.6307 GB, free: 4.23 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.1841, allocations: 331.3 kB / 0.6311 GB, free: 3.863 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.1841, allocations: 4.375 kB / 0.6311 GB, free: 3.859 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.1842, allocations: 4.125 kB / 0.6311 GB, free: 3.855 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.1843, allocations: 57.61 kB / 0.6311 GB, free: 3.793 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1843, allocations: 0 / 0.6311 GB, free: 3.793 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1844, allocations: 0 / 0.6311 GB, free: 3.793 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1844, allocations: 0 / 0.6311 GB, free: 3.793 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.692e-05/0.1844, allocations: 15.98 kB / 0.6311 GB, free: 3.777 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.1847, allocations: 213.6 kB / 0.6313 GB, free: 3.52 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.1848, allocations: 50.61 kB / 0.6314 GB, free: 3.461 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.1849, allocations: 24.78 kB / 0.6314 GB, free: 3.434 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.1849, allocations: 4 kB / 0.6314 GB, free: 3.43 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.1852, allocations: 71.33 kB / 0.6315 GB, free: 3.348 MB / 442.8 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1852, allocations: 0 / 0.6315 GB, free: 3.348 MB / 442.8 MB Notification: Performance of matching and sorting (n=5): time 0.0002866/0.1855, allocations: 101.4 kB / 0.6316 GB, free: 3.242 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.1855, allocations: 55.41 kB / 0.6316 GB, free: 3.176 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.1858, allocations: 278.6 kB / 0.6319 GB, free: 2.895 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1858, allocations: 25.7 kB / 0.6319 GB, free: 2.863 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.876e-05/0.1859, allocations: 140.1 kB / 0.6321 GB, free: 2.723 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.186, allocations: 15.81 kB / 0.6321 GB, free: 2.707 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.186, allocations: 4 kB / 0.6321 GB, free: 2.703 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1862, allocations: 338.8 kB / 0.6324 GB, free: 2.363 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.91e-05/0.1862, allocations: 15.98 kB / 0.6324 GB, free: 2.348 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.418e-05/0.1863, allocations: 25.72 kB / 0.6324 GB, free: 2.316 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.135e-05/0.1864, allocations: 37.7 kB / 0.6325 GB, free: 2.273 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1864, allocations: 3.938 kB / 0.6325 GB, free: 2.27 MB / 442.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000167/0.1866, allocations: 105.4 kB / 0.6326 GB, free: 2.16 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1866, allocations: 4 kB / 0.6326 GB, free: 2.156 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1866, allocations: 0 / 0.6326 GB, free: 2.156 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1866, allocations: 4 kB / 0.6326 GB, free: 2.152 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.185e-05/0.1867, allocations: 8.312 kB / 0.6326 GB, free: 2.145 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.1867, allocations: 0 / 0.6326 GB, free: 2.145 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.297e-05/0.1868, allocations: 11.84 kB / 0.6326 GB, free: 2.133 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.1868, allocations: 4 kB / 0.6326 GB, free: 2.129 MB / 442.8 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001435/0.1869, allocations: 161.7 kB / 0.6328 GB, free: 1.961 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.187, allocations: 15.81 kB / 0.6328 GB, free: 1.945 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.363e-05/0.187, allocations: 25.3 kB / 0.6328 GB, free: 1.918 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.187, allocations: 0 / 0.6328 GB, free: 1.918 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1871, allocations: 0 / 0.6328 GB, free: 1.918 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1871, allocations: 0 / 0.6328 GB, free: 1.918 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.1872, allocations: 217.5 kB / 0.633 GB, free: 1.656 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1873, allocations: 0 / 0.633 GB, free: 1.656 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.148e-05/0.1873, allocations: 7.984 kB / 0.633 GB, free: 1.648 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1873, allocations: 0 / 0.633 GB, free: 1.648 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1873, allocations: 0 / 0.633 GB, free: 1.648 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1873, allocations: 4 kB / 0.633 GB, free: 1.645 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1873, allocations: 0 / 0.633 GB, free: 1.645 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.1875, allocations: 124.8 kB / 0.6331 GB, free: 1.504 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.847e-05/0.1876, allocations: 104.8 kB / 0.6332 GB, free: 1.383 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.1876, allocations: 0 / 0.6332 GB, free: 1.383 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.272e-05/0.1877, allocations: 4 kB / 0.6332 GB, free: 1.379 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.1877, allocations: 3.938 kB / 0.6332 GB, free: 1.375 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.1877, allocations: 11.98 kB / 0.6333 GB, free: 1.363 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0001832/0.1879, allocations: 201.9 kB / 0.6334 GB, free: 1.164 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1879, allocations: 0 / 0.6334 GB, free: 1.164 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001949/0.1881, allocations: 20 kB / 0.6335 GB, free: 1.145 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009321/0.1891, allocations: 473.2 kB / 0.6339 GB, free: 0.8086 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.1892, allocations: 39.98 kB / 0.634 GB, free: 0.7695 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1893, allocations: 0 / 0.634 GB, free: 0.7695 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 6.104e-05/0.1893, allocations: 27.98 kB / 0.634 GB, free: 0.7422 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.1896, allocations: 36.81 kB / 0.634 GB, free: 0.7031 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/0.1902, allocations: 359.2 kB / 0.6344 GB, free: 336 kB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.1906, allocations: 0.7401 MB / 0.6351 GB, free: 15.56 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.1907, allocations: 33.52 kB / 0.6351 GB, free: 15.53 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.1908, allocations: 27.42 kB / 0.6351 GB, free: 15.5 MB / 458.8 MB Notification: Performance of SimCode: time 5.71e-07/0.1908, allocations: 0 / 0.6351 GB, free: 15.5 MB / 458.8 MB Notification: Performance of Templates: time 0.004883/0.1957, allocations: 1.637 MB / 0.6367 GB, free: 13.88 MB / 458.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches