Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.001334/0.001334, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001494/0.001494, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.037/1.037, allocations: 120.6 MB / 435.3 MB, free: 0.8398 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/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(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 70.23 kB / 0.608 GB, free: 10.46 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1724, allocations: 85.87 MB / 0.6918 GB, free: 4.375 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003789/0.1761, allocations: 1.587 MB / 0.6934 GB, free: 2.777 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.1782, allocations: 1.068 MB / 0.6944 GB, free: 1.703 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1783, allocations: 3.938 kB / 0.6944 GB, free: 1.699 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.000413/0.1787, allocations: 63.73 kB / 0.6945 GB, free: 1.637 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.000602/0.1793, allocations: 155.4 kB / 0.6946 GB, free: 1.484 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.1795, allocations: 75.73 kB / 0.6947 GB, free: 1.41 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.1798, allocations: 139.6 kB / 0.6948 GB, free: 1.273 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.549e-05/0.1799, allocations: 4 kB / 0.6948 GB, free: 1.27 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003186/0.1802, allocations: 79.69 kB / 0.6949 GB, free: 1.191 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.1804, allocations: 67.75 kB / 0.695 GB, free: 1.125 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.1804, allocations: 8 kB / 0.695 GB, free: 1.117 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1806, allocations: 27.94 kB / 0.695 GB, free: 1.09 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.1808, allocations: 79.78 kB / 0.6951 GB, free: 1.012 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 9.545e-05/0.1808, allocations: 51.5 kB / 0.6951 GB, free: 0.9609 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.1812, allocations: 171.1 kB / 0.6953 GB, free: 0.793 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1812, allocations: 0 / 0.6953 GB, free: 0.793 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1812, allocations: 0 / 0.6953 GB, free: 0.793 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.1812, allocations: 0 / 0.6953 GB, free: 0.793 MB / 0.5139 GB 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.0009012/0.1821, allocations: 428.8 kB / 0.6957 GB, free: 352 kB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1822, allocations: 8.031 kB / 0.6957 GB, free: 344 kB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.587e-05/0.1823, allocations: 20.8 kB / 0.6957 GB, free: 324 kB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006126/0.1829, allocations: 285.1 kB / 0.696 GB, free: 12 kB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.1829, allocations: 4.375 kB / 0.696 GB, free: 8 kB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.1829, allocations: 8.125 kB / 0.696 GB, free: 0 / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1831, allocations: 45.67 kB / 0.6961 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1831, allocations: 3.938 kB / 0.6961 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1831, allocations: 4 kB / 0.6961 GB, free: 15.94 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1831, allocations: 3.984 kB / 0.6961 GB, free: 15.94 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.333e-05/0.1832, allocations: 15.98 kB / 0.6961 GB, free: 15.92 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/0.1835, allocations: 196.7 kB / 0.6963 GB, free: 15.69 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.1836, allocations: 46.62 kB / 0.6963 GB, free: 15.63 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.313e-05/0.1837, allocations: 28.78 kB / 0.6963 GB, free: 15.6 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1837, allocations: 0 / 0.6963 GB, free: 15.6 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.1839, allocations: 63.39 kB / 0.6964 GB, free: 15.53 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.1839, allocations: 0 / 0.6964 GB, free: 15.53 MB / 0.5295 GB Notification: Performance of matching and sorting (n=5): time 0.0003333/0.1842, allocations: 109.5 kB / 0.6965 GB, free: 15.41 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.1843, allocations: 59.39 kB / 0.6966 GB, free: 15.34 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.1846, allocations: 284.2 kB / 0.6968 GB, free: 15.05 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.1846, allocations: 25.7 kB / 0.6969 GB, free: 15.02 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1847, allocations: 144.1 kB / 0.697 GB, free: 14.88 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.1847, allocations: 11.84 kB / 0.697 GB, free: 14.87 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.1848, allocations: 21.72 kB / 0.697 GB, free: 14.84 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1849, allocations: 334.8 kB / 0.6974 GB, free: 14.5 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.216e-05/0.185, allocations: 19.98 kB / 0.6974 GB, free: 14.48 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.026e-05/0.1851, allocations: 33.64 kB / 0.6974 GB, free: 14.45 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.916e-05/0.1852, allocations: 41.66 kB / 0.6974 GB, free: 14.4 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1852, allocations: 0 / 0.6974 GB, free: 14.4 MB / 0.5295 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001926/0.1854, allocations: 97.47 kB / 0.6975 GB, free: 14.3 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1854, allocations: 4 kB / 0.6975 GB, free: 14.29 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1854, allocations: 11.97 kB / 0.6976 GB, free: 14.28 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1854, allocations: 0 / 0.6976 GB, free: 14.28 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.1855, allocations: 8 kB / 0.6976 GB, free: 14.27 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1855, allocations: 0 / 0.6976 GB, free: 14.27 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.681e-05/0.1855, allocations: 8 kB / 0.6976 GB, free: 14.27 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.1855, allocations: 0 / 0.6976 GB, free: 14.27 MB / 0.5295 GB 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.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.0001383/0.1857, allocations: 145.8 kB / 0.6977 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.1857, allocations: 19.86 kB / 0.6977 GB, free: 14.09 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.1859, allocations: 111.3 kB / 0.6978 GB, free: 13.98 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1859, allocations: 64 / 0.6978 GB, free: 13.98 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.1859, allocations: 4 kB / 0.6978 GB, free: 13.98 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.186, allocations: 3.938 kB / 0.6978 GB, free: 13.97 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.1862, allocations: 192.6 kB / 0.698 GB, free: 13.74 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1862, allocations: 3.984 kB / 0.698 GB, free: 13.74 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.257e-05/0.1862, allocations: 4 kB / 0.698 GB, free: 13.73 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1862, allocations: 0 / 0.698 GB, free: 13.73 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1862, allocations: 8 kB / 0.698 GB, free: 13.73 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1862, allocations: 0 / 0.698 GB, free: 13.73 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1862, allocations: 0 / 0.698 GB, free: 13.73 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.1864, allocations: 120.9 kB / 0.6982 GB, free: 13.59 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.1865, allocations: 23.86 kB / 0.6982 GB, free: 13.57 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.1865, allocations: 3.984 kB / 0.6982 GB, free: 13.56 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.848e-05/0.1865, allocations: 7.938 kB / 0.6982 GB, free: 13.55 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.1866, allocations: 0 / 0.6982 GB, free: 13.55 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1866, allocations: 4 kB / 0.6982 GB, free: 13.55 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.000223/0.1868, allocations: 215 kB / 0.6984 GB, free: 13.34 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1e-07/0.1868, allocations: 4 kB / 0.6984 GB, free: 13.34 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002187/0.187, allocations: 23.94 kB / 0.6984 GB, free: 13.31 MB / 0.5295 GB 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * 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.001521/0.1885, allocations: 406 kB / 0.6988 GB, free: 13.07 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0001832/0.1887, allocations: 39.92 kB / 0.6988 GB, free: 13.03 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1887, allocations: 4 kB / 0.6989 GB, free: 13.03 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 6.191e-05/0.1888, allocations: 19.92 kB / 0.6989 GB, free: 13.01 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.1891, allocations: 50.02 kB / 0.6989 GB, free: 12.96 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007114/0.1898, allocations: 357.6 kB / 0.6993 GB, free: 12.58 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.1903, allocations: 0.7359 MB / 0.7 GB, free: 11.82 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.1903, allocations: 31.44 kB / 0.7 GB, free: 11.79 MB / 0.5295 GB Notification: Performance of SimCode: time 4e-07/0.1903, allocations: 0 / 0.7 GB, free: 11.79 MB / 0.5295 GB Notification: Performance of Templates: time 0.006091/0.1964, allocations: 2.639 MB / 0.7026 GB, free: 9.148 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile [Timeout 300] (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) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.95743085606955]