Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001737/0.001737, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 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.002664/0.002664, allocations: 162.2 kB / 24.82 MB, free: 9.266 MB / 18.57 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.126/1.126, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7173/0.7173, allocations: 88.09 MB / 349.9 MB, free: 14.11 MB / 330.7 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.[0-9,]+.|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.[0-9,]+.|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/3.073e-05, allocations: 5.266 kB / 452 MB, free: 33.08 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003559/0.00359, allocations: 1.614 MB / 453.6 MB, free: 32 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.005313, allocations: 1.009 MB / 454.6 MB, free: 31.37 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.064e-05/0.005404, allocations: 0 / 454.6 MB, free: 31.37 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.005744, allocations: 59.16 kB / 454.7 MB, free: 31.35 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004645/0.006209, allocations: 163.9 kB / 454.8 MB, free: 31.27 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.006376, allocations: 78.52 kB / 454.9 MB, free: 31.23 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.006547, allocations: 135.5 kB / 455.1 MB, free: 31.18 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.006587, allocations: 5.531 kB / 455.1 MB, free: 31.18 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000359/0.006946, allocations: 188.2 kB / 455.2 MB, free: 31.12 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.396e-05/0.00701, allocations: 43.36 kB / 455.3 MB, free: 31.12 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.007029, allocations: 6.531 kB / 455.3 MB, free: 31.11 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.138e-05/0.00712, allocations: 37.31 kB / 455.3 MB, free: 31.1 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 9.392e-05/0.007214, allocations: 75.12 kB / 455.4 MB, free: 31.07 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.00726, allocations: 30.78 kB / 455.4 MB, free: 31.06 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.007463, allocations: 129.6 kB / 455.6 MB, free: 31 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.007468, allocations: 0 / 455.6 MB, free: 31 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.735e-06/0.007471, allocations: 6.172 kB / 455.6 MB, free: 31 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.007476, allocations: 0 / 455.6 MB, free: 31 MB / 410.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.0004745/0.007951, allocations: 0.5191 MB / 456.1 MB, free: 30.52 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.007988, allocations: 11.56 kB / 456.1 MB, free: 30.52 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.008033, allocations: 21.36 kB / 456.1 MB, free: 30.51 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.008226, allocations: 227.6 kB / 456.3 MB, free: 30.32 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.008241, allocations: 3.344 kB / 456.3 MB, free: 30.32 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.595e-06/0.008249, allocations: 384 / 456.3 MB, free: 30.32 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.697e-05/0.008346, allocations: 66.3 kB / 456.4 MB, free: 30.26 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.008354, allocations: 7.219 kB / 456.4 MB, free: 30.25 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.00836, allocations: 0 / 456.4 MB, free: 30.25 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.008364, allocations: 0 / 456.4 MB, free: 30.25 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.008386, allocations: 5.625 kB / 456.4 MB, free: 30.25 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.008498, allocations: 131.2 kB / 456.6 MB, free: 30.13 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.548e-05/0.008574, allocations: 45.55 kB / 456.6 MB, free: 30.09 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.008594, allocations: 22.45 kB / 456.6 MB, free: 30.07 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.00861, allocations: 3.984 kB / 456.6 MB, free: 30.07 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.005e-05/0.00869, allocations: 70.91 kB / 456.7 MB, free: 30 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.008691, allocations: 0 / 456.7 MB, free: 30 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001496/0.00884, allocations: 87.94 kB / 456.8 MB, free: 29.95 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.00886, allocations: 57.69 kB / 456.8 MB, free: 29.89 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.009006, allocations: 323.1 kB / 457.1 MB, free: 29.67 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.009016, allocations: 29.7 kB / 457.2 MB, free: 29.63 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.009069, allocations: 187.7 kB / 457.4 MB, free: 29.46 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.009102, allocations: 22.16 kB / 457.4 MB, free: 29.45 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.009131, allocations: 22.31 kB / 457.4 MB, free: 29.42 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.0092, allocations: 0.5138 MB / 457.9 MB, free: 28.91 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.009216, allocations: 10.16 kB / 457.9 MB, free: 28.91 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.248e-05/0.009238, allocations: 24.25 kB / 458 MB, free: 28.89 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.981e-05/0.009278, allocations: 42.02 kB / 458 MB, free: 28.85 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.00928, allocations: 0 / 458 MB, free: 28.85 MB / 410.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.548e-05/0.009355, allocations: 81.8 kB / 458.1 MB, free: 28.8 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.009369, allocations: 6.531 kB / 458.1 MB, free: 28.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.009373, allocations: 0 / 458.1 MB, free: 28.8 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.009386, allocations: 3.938 kB / 458.1 MB, free: 28.79 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.566e-05/0.009441, allocations: 12.2 kB / 458.1 MB, free: 28.79 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.009445, allocations: 7.094 kB / 458.1 MB, free: 28.79 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.009474, allocations: 3.156 kB / 458.1 MB, free: 28.79 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-06/0.009478, allocations: 3.938 kB / 458.1 MB, free: 28.79 MB / 410.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 ($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 5.428e-05/0.009532, allocations: 159.4 kB / 458.3 MB, free: 28.62 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.009549, allocations: 26.7 kB / 458.3 MB, free: 28.61 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.794e-05/0.009647, allocations: 93.91 kB / 458.4 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.009649, allocations: 3.938 kB / 458.4 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.00965, allocations: 0 / 458.4 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.009653, allocations: 0 / 458.4 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.956e-05/0.009733, allocations: 146.5 kB / 458.5 MB, free: 28.41 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.009736, allocations: 7.422 kB / 458.5 MB, free: 28.41 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.439e-05/0.00975, allocations: 3.344 kB / 458.5 MB, free: 28.41 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.009751, allocations: 0 / 458.5 MB, free: 28.41 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.009757, allocations: 6.906 kB / 458.5 MB, free: 28.41 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.009757, allocations: 0 / 458.5 MB, free: 28.41 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.009758, allocations: 0 / 458.5 MB, free: 28.41 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.555e-05/0.009833, allocations: 125.2 kB / 458.7 MB, free: 28.3 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.009866, allocations: 20.95 kB / 458.7 MB, free: 28.29 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.009882, allocations: 6.531 kB / 458.7 MB, free: 28.29 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.988e-05/0.009902, allocations: 0 / 458.7 MB, free: 28.29 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.009925, allocations: 9.984 kB / 458.7 MB, free: 28.29 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.009934, allocations: 6.719 kB / 458.7 MB, free: 28.28 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.929e-05/0.01, allocations: 214.7 kB / 458.9 MB, free: 28.14 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01, allocations: 0 / 458.9 MB, free: 28.14 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001411/0.01014, allocations: 25.66 kB / 458.9 MB, free: 28.13 MB / 410.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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0007112/0.01086, allocations: 383.1 kB / 459.3 MB, free: 27.95 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 7.883e-05/0.01093, allocations: 35.16 kB / 459.4 MB, free: 27.93 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.01094, allocations: 0 / 459.4 MB, free: 27.93 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.685e-05/0.01096, allocations: 23.5 kB / 459.4 MB, free: 27.92 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.01114, allocations: 43.05 kB / 459.4 MB, free: 27.9 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.01145, allocations: 309.5 kB / 459.7 MB, free: 27.68 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.621e-05/0.01149, allocations: 90.94 kB / 459.8 MB, free: 27.6 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.471e-05/0.01154, allocations: 30.89 kB / 459.8 MB, free: 27.59 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.01161, allocations: 98.23 kB / 459.9 MB, free: 27.53 MB / 410.8 MB Notification: Performance of SimCode: time 7.32e-07/0.01161, allocations: 3.938 kB / 459.9 MB, free: 27.53 MB / 410.8 MB Notification: Performance of Templates: time 0.003703/0.01531, allocations: 2.023 MB / 462 MB, free: 27.21 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.096837162971497]