Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.001916/0.001916, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002047/0.002047, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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.599/1.599, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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.013/1.013, allocations: 88.07 MB / 349.1 MB, free: 14.23 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.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 450.8 MB, free: 33.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.372e-05/3.554e-05, allocations: 5.266 kB / 450.8 MB, free: 33.15 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002451/0.002487, allocations: 1.416 MB / 452.2 MB, free: 32.19 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009925/0.003479, allocations: 0.5695 MB / 452.8 MB, free: 31.82 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.003538, allocations: 0 / 452.8 MB, free: 31.82 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.003724, allocations: 22.91 kB / 452.8 MB, free: 31.81 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.004031, allocations: 69.66 kB / 452.9 MB, free: 31.79 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.004292, allocations: 78.59 kB / 453 MB, free: 31.76 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.004435, allocations: 90.67 kB / 453.1 MB, free: 31.72 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.00448, allocations: 10.19 kB / 453.1 MB, free: 31.72 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.004685, allocations: 64.58 kB / 453.1 MB, free: 31.7 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.00482, allocations: 42.44 kB / 453.2 MB, free: 31.69 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.004848, allocations: 5.344 kB / 453.2 MB, free: 31.69 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.004965, allocations: 77.58 kB / 453.2 MB, free: 31.67 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.005119, allocations: 62.42 kB / 453.3 MB, free: 31.65 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.005172, allocations: 25.89 kB / 453.3 MB, free: 31.63 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.005396, allocations: 158.7 kB / 453.5 MB, free: 31.58 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.005401, allocations: 0 / 453.5 MB, free: 31.58 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005402, allocations: 0 / 453.5 MB, free: 31.58 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.005409, allocations: 2.875 kB / 453.5 MB, free: 31.58 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005772/0.005987, allocations: 0.5074 MB / 454 MB, free: 31.09 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.006024, allocations: 11.47 kB / 454 MB, free: 31.09 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/0.006091, allocations: 20.28 kB / 454 MB, free: 31.08 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.006467, allocations: 234.4 kB / 454.3 MB, free: 30.89 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.00648, allocations: 3.219 kB / 454.3 MB, free: 30.89 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.006492, allocations: 3.25 kB / 454.3 MB, free: 30.89 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.006625, allocations: 87.72 kB / 454.4 MB, free: 30.82 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.006635, allocations: 192 / 454.4 MB, free: 30.82 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.006649, allocations: 3.375 kB / 454.4 MB, free: 30.82 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.006654, allocations: 3.938 kB / 454.4 MB, free: 30.82 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.684e-05/0.006731, allocations: 58.69 kB / 454.4 MB, free: 30.77 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.006925, allocations: 175 kB / 454.6 MB, free: 30.61 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.495e-05/0.007009, allocations: 75.8 kB / 454.7 MB, free: 30.54 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.796e-05/0.007067, allocations: 59.62 kB / 454.7 MB, free: 30.48 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.007081, allocations: 2.75 kB / 454.7 MB, free: 30.48 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.00723, allocations: 138.7 kB / 454.9 MB, free: 30.36 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.007232, allocations: 0 / 454.9 MB, free: 30.36 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0003435/0.007575, allocations: 241.9 kB / 455.1 MB, free: 30.2 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.00761, allocations: 84.98 kB / 455.2 MB, free: 30.09 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.007794, allocations: 282.8 kB / 455.5 MB, free: 29.89 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.007806, allocations: 28.58 kB / 455.5 MB, free: 29.86 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/0.00789, allocations: 173.3 kB / 455.6 MB, free: 29.7 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.007924, allocations: 33.38 kB / 455.7 MB, free: 29.67 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.007968, allocations: 31.06 kB / 455.7 MB, free: 29.64 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.008062, allocations: 0.5102 MB / 456.2 MB, free: 29.14 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.613e-05/0.008109, allocations: 51.38 kB / 456.3 MB, free: 29.1 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.116e-05/0.00815, allocations: 50.34 kB / 456.3 MB, free: 29.07 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.393e-05/0.008244, allocations: 118 kB / 456.4 MB, free: 28.97 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.008247, allocations: 2.844 kB / 456.4 MB, free: 28.97 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001746/0.008422, allocations: 189.2 kB / 456.6 MB, free: 28.85 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.008453, allocations: 35.58 kB / 456.7 MB, free: 28.81 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.008458, allocations: 3.422 kB / 456.7 MB, free: 28.81 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.008474, allocations: 6.562 kB / 456.7 MB, free: 28.81 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.008536, allocations: 11.09 kB / 456.7 MB, free: 28.8 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.008541, allocations: 0 / 456.7 MB, free: 28.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.008588, allocations: 2.969 kB / 456.7 MB, free: 28.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.008608, allocations: 8.562 kB / 456.7 MB, free: 28.8 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 8.311e-05/0.008691, allocations: 194.5 kB / 456.9 MB, free: 28.61 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.008719, allocations: 23.33 kB / 456.9 MB, free: 28.59 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.008749, allocations: 18.75 kB / 456.9 MB, free: 28.59 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.00875, allocations: 0 / 456.9 MB, free: 28.59 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.008755, allocations: 7.938 kB / 456.9 MB, free: 28.58 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.008758, allocations: 2.75 kB / 456.9 MB, free: 28.58 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.008874, allocations: 181.8 kB / 457.1 MB, free: 28.41 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.008875, allocations: 144 / 457.1 MB, free: 28.41 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.008894, allocations: 2.656 kB / 457.1 MB, free: 28.41 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.008897, allocations: 7.078 kB / 457.1 MB, free: 28.41 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.008909, allocations: 2.719 kB / 457.1 MB, free: 28.41 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.00891, allocations: 0 / 457.1 MB, free: 28.41 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.008911, allocations: 3.234 kB / 457.1 MB, free: 28.41 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.009143, allocations: 263.8 kB / 457.4 MB, free: 28.22 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.009192, allocations: 31.58 kB / 457.4 MB, free: 28.2 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.009218, allocations: 5.844 kB / 457.4 MB, free: 28.2 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.938e-05/0.009257, allocations: 2.906 kB / 457.4 MB, free: 28.2 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.0093, allocations: 11.22 kB / 457.4 MB, free: 28.19 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.009315, allocations: 12.34 kB / 457.4 MB, free: 28.19 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.999e-05/0.009415, allocations: 190.5 kB / 457.6 MB, free: 28.05 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.009415, allocations: 0 / 457.6 MB, free: 28.05 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002123/0.009627, allocations: 28.72 kB / 457.7 MB, free: 28.05 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: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001808/0.009808, allocations: 126 kB / 457.8 MB, free: 27.96 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.01002, allocations: 204.4 kB / 458 MB, free: 27.8 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01003, allocations: 0 / 458 MB, free: 27.8 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.046e-05/0.01012, allocations: 133.5 kB / 458.1 MB, free: 27.68 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.01034, allocations: 24.39 kB / 458.1 MB, free: 27.67 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004506/0.01079, allocations: 308.9 kB / 458.4 MB, free: 27.43 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.348e-05/0.01086, allocations: 111.4 kB / 458.5 MB, free: 27.35 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.179e-05/0.01091, allocations: 20.97 kB / 458.6 MB, free: 27.34 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.01093, allocations: 18.31 kB / 458.6 MB, free: 27.33 MB / 410.8 MB Notification: Performance of SimCode: time 4.01e-07/0.01093, allocations: 0 / 458.6 MB, free: 27.33 MB / 410.8 MB Notification: Performance of Templates: time 0.004745/0.01568, allocations: 1.418 MB / 460 MB, free: 27.1 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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: 6.075546112027951]