Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.00154/0.00154, allocations: 84.77 kB / 20.5 MB, free: 1.391 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.001573/0.001573, allocations: 160.7 kB / 23.74 MB, free: 4.598 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.495/1.495, allocations: 177.2 MB / 204.1 MB, free: 9.281 MB / 190.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.368/1.368, allocations: 88.07 MB / 348.6 MB, free: 1.91 MB / 318.1 MB " [Timeout remaining time 178] 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_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") [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.002704/0.002704, allocations: 73 kB / 0.5232 GB, free: 8.375 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2576, allocations: 85.84 MB / 0.6071 GB, free: 5.039 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.004092/0.2617, allocations: 1.41 MB / 0.6084 GB, free: 3.625 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.2633, allocations: 0.5493 MB / 0.609 GB, free: 3.07 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.985e-05/0.2634, allocations: 0 / 0.609 GB, free: 3.07 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.2636, allocations: 19.92 kB / 0.609 GB, free: 3.051 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0004143/0.264, allocations: 75.77 kB / 0.6091 GB, free: 2.977 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.2644, allocations: 71.8 kB / 0.6091 GB, free: 2.906 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.2647, allocations: 91.75 kB / 0.6092 GB, free: 2.816 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.155e-05/0.2647, allocations: 7.984 kB / 0.6092 GB, free: 2.809 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.265, allocations: 59.83 kB / 0.6093 GB, free: 2.75 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.2652, allocations: 51.88 kB / 0.6093 GB, free: 2.699 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.2653, allocations: 8 kB / 0.6093 GB, free: 2.691 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.2656, allocations: 79.86 kB / 0.6094 GB, free: 2.613 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.2658, allocations: 59.81 kB / 0.6095 GB, free: 2.555 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.2659, allocations: 35.73 kB / 0.6095 GB, free: 2.52 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.2663, allocations: 147.3 kB / 0.6096 GB, free: 2.375 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.2663, allocations: 0 / 0.6096 GB, free: 2.375 MB / 0.5139 GB Notification: Performance of FrontEnd: time 3.366e-06/0.2663, allocations: 4 kB / 0.6097 GB, free: 2.371 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.2663, allocations: 0 / 0.6097 GB, free: 2.371 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009628/0.2673, allocations: 414.9 kB / 0.61 GB, free: 1.93 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 6.844e-05/0.2674, allocations: 8.031 kB / 0.6101 GB, free: 1.922 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.2675, allocations: 20.8 kB / 0.6101 GB, free: 1.902 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007934/0.2683, allocations: 245.5 kB / 0.6103 GB, free: 1.633 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.2683, allocations: 12.34 kB / 0.6103 GB, free: 1.621 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.2683, allocations: 4.312 kB / 0.6103 GB, free: 1.617 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.2685, allocations: 87.7 kB / 0.6104 GB, free: 1.52 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.2686, allocations: 0 / 0.6104 GB, free: 1.52 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.2686, allocations: 8 kB / 0.6104 GB, free: 1.512 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2686, allocations: 0 / 0.6104 GB, free: 1.512 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.2687, allocations: 53.67 kB / 0.6105 GB, free: 1.453 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.2691, allocations: 153.2 kB / 0.6106 GB, free: 1.273 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.2692, allocations: 60.27 kB / 0.6107 GB, free: 1.199 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.63e-05/0.2693, allocations: 58.53 kB / 0.6107 GB, free: 1.133 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.2693, allocations: 0 / 0.6107 GB, free: 1.133 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/0.2696, allocations: 130.8 kB / 0.6109 GB, free: 0.9805 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.724e-06/0.2696, allocations: 0 / 0.6109 GB, free: 0.9805 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0005383/0.2701, allocations: 230.6 kB / 0.6111 GB, free: 0.7305 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.2702, allocations: 93.05 kB / 0.6112 GB, free: 0.6211 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.2705, allocations: 225.5 kB / 0.6114 GB, free: 404 kB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.2705, allocations: 25.7 kB / 0.6114 GB, free: 372 kB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.2706, allocations: 120.1 kB / 0.6115 GB, free: 248 kB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.311e-05/0.2707, allocations: 23.98 kB / 0.6115 GB, free: 224 kB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.044e-05/0.2708, allocations: 29.66 kB / 0.6116 GB, free: 188 kB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0002285/0.271, allocations: 330.8 kB / 0.6119 GB, free: 15.85 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.929e-05/0.2711, allocations: 45.7 kB / 0.6119 GB, free: 15.8 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.48e-05/0.2712, allocations: 53.69 kB / 0.612 GB, free: 15.74 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.2713, allocations: 108.2 kB / 0.6121 GB, free: 15.62 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2713, allocations: 4 kB / 0.6121 GB, free: 15.62 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003025/0.2716, allocations: 188.9 kB / 0.6123 GB, free: 15.41 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 6.244e-05/0.2717, allocations: 37.64 kB / 0.6123 GB, free: 15.37 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2717, allocations: 0 / 0.6123 GB, free: 15.37 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.2717, allocations: 0 / 0.6123 GB, free: 15.37 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.2718, allocations: 7.984 kB / 0.6123 GB, free: 15.36 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2718, allocations: 0 / 0.6123 GB, free: 15.36 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.992e-05/0.2719, allocations: 11.89 kB / 0.6123 GB, free: 15.35 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.272, allocations: 8 kB / 0.6123 GB, free: 15.34 MB / 0.5295 GB 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 0.0002283/0.2722, allocations: 177.8 kB / 0.6125 GB, free: 15.16 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.2722, allocations: 23.84 kB / 0.6125 GB, free: 15.13 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.739e-05/0.2723, allocations: 25.45 kB / 0.6125 GB, free: 15.11 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2723, allocations: 0 / 0.6125 GB, free: 15.11 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.2723, allocations: 7.938 kB / 0.6126 GB, free: 15.1 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.2723, allocations: 0 / 0.6126 GB, free: 15.1 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.2725, allocations: 157.2 kB / 0.6127 GB, free: 14.91 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2725, allocations: 0 / 0.6127 GB, free: 14.91 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/0.2725, allocations: 4 kB / 0.6127 GB, free: 14.91 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2726, allocations: 0 / 0.6127 GB, free: 14.91 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.2726, allocations: 12.02 kB / 0.6127 GB, free: 14.9 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2726, allocations: 3.938 kB / 0.6127 GB, free: 14.89 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2726, allocations: 4 kB / 0.6127 GB, free: 14.89 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.2729, allocations: 236.4 kB / 0.6129 GB, free: 14.63 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.273, allocations: 23.89 kB / 0.613 GB, free: 14.61 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.273, allocations: 3.938 kB / 0.613 GB, free: 14.6 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.675e-05/0.2731, allocations: 4 kB / 0.613 GB, free: 14.6 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.2731, allocations: 8.172 kB / 0.613 GB, free: 14.59 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.2732, allocations: 8 kB / 0.613 GB, free: 14.58 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.000222/0.2734, allocations: 176.5 kB / 0.6132 GB, free: 14.41 MB / 0.5295 GB Notification: Performance of sort global known variables: time 8e-08/0.2734, allocations: 0 / 0.6132 GB, free: 14.41 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0003014/0.2737, allocations: 35.94 kB / 0.6132 GB, free: 14.38 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: 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.0002654/0.2739, allocations: 127.1 kB / 0.6133 GB, free: 14.24 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0003445/0.2743, allocations: 174.8 kB / 0.6135 GB, free: 14.05 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2743, allocations: 0 / 0.6135 GB, free: 14.05 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.2744, allocations: 121.1 kB / 0.6136 GB, free: 13.91 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.2747, allocations: 16.73 kB / 0.6136 GB, free: 13.89 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007925/0.2755, allocations: 329 kB / 0.6139 GB, free: 13.53 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.2757, allocations: 114.7 kB / 0.614 GB, free: 13.4 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 8.778e-05/0.2758, allocations: 17.67 kB / 0.6141 GB, free: 13.38 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.2758, allocations: 20.48 kB / 0.6141 GB, free: 13.36 MB / 0.5295 GB Notification: Performance of SimCode: time 1.072e-06/0.2758, allocations: 0 / 0.6141 GB, free: 13.36 MB / 0.5295 GB Notification: Performance of Templates: time 0.006541/0.2824, allocations: 1.432 MB / 0.6155 GB, free: 11.93 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_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_noopt_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.690261647105217]