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.00137/0.00137, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001702/0.003072, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001087/0.001087, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002551, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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.084/1.084, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1223/1.206, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo): time 0.8402/0.8402, allocations: 88.08 MB / 332.2 MB, free: 14.12 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06752/0.9078, allocations: 32.94 MB / 365.2 MB, free: 13.38 MB / 362.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-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_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_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 366.4 MB, free: 12.21 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.802e-05, allocations: 2.312 kB / 366.4 MB, free: 12.21 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002114/0.002132, allocations: 1.655 MB / 368 MB, free: 10.54 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.00343, allocations: 1.028 MB / 369 MB, free: 9.5 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.539e-05/0.003506, allocations: 0 / 369 MB, free: 9.5 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.003729, allocations: 67.61 kB / 369.1 MB, free: 9.434 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.004051, allocations: 147.3 kB / 369.2 MB, free: 9.289 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.004175, allocations: 83.55 kB / 369.3 MB, free: 9.207 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.004353, allocations: 131.6 kB / 369.5 MB, free: 9.078 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.004396, allocations: 11.92 kB / 369.5 MB, free: 9.066 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003438/0.00474, allocations: 204.1 kB / 369.7 MB, free: 8.867 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.004809, allocations: 43.83 kB / 369.7 MB, free: 8.824 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.004827, allocations: 4 kB / 369.7 MB, free: 8.82 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.346e-05/0.0049, allocations: 35.92 kB / 369.7 MB, free: 8.785 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 8.073e-05/0.004981, allocations: 63.83 kB / 369.8 MB, free: 8.723 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.005015, allocations: 19.88 kB / 369.8 MB, free: 8.703 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.005225, allocations: 131.4 kB / 370 MB, free: 8.574 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.005236, allocations: 0 / 370 MB, free: 8.574 MB / 362.8 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005237, allocations: 4 kB / 370 MB, free: 8.57 MB / 362.8 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.005245, allocations: 0 / 370 MB, free: 8.57 MB / 362.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.0005453/0.00579, allocations: 419.8 kB / 370.4 MB, free: 8.137 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.005824, allocations: 11.98 kB / 370.4 MB, free: 8.125 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.005859, allocations: 16.92 kB / 370.4 MB, free: 8.109 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.006088, allocations: 237.8 kB / 370.6 MB, free: 7.855 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.006103, allocations: 384 / 370.6 MB, free: 7.855 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.006114, allocations: 384 / 370.6 MB, free: 7.855 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.006221, allocations: 65.7 kB / 370.7 MB, free: 7.781 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.006231, allocations: 3.938 kB / 370.7 MB, free: 7.777 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.006239, allocations: 0 / 370.7 MB, free: 7.777 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.006245, allocations: 4 kB / 370.7 MB, free: 7.773 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.238e-05/0.006267, allocations: 4 kB / 370.7 MB, free: 7.77 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001006/0.006368, allocations: 74.69 kB / 370.8 MB, free: 7.68 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.934e-05/0.006457, allocations: 37.44 kB / 370.8 MB, free: 7.633 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.006476, allocations: 8.859 kB / 370.8 MB, free: 7.621 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.006487, allocations: 4 kB / 370.8 MB, free: 7.617 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.985e-05/0.006576, allocations: 62.16 kB / 370.9 MB, free: 7.543 MB / 362.8 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.006578, allocations: 0 / 370.9 MB, free: 7.543 MB / 362.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001246/0.006702, allocations: 65.67 kB / 371 MB, free: 7.473 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.006735, allocations: 55.34 kB / 371 MB, free: 7.406 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.006979, allocations: 264.7 kB / 371.3 MB, free: 7.133 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.006995, allocations: 33.7 kB / 371.3 MB, free: 7.094 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.007032, allocations: 104.7 kB / 371.4 MB, free: 6.984 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.007065, allocations: 15.89 kB / 371.4 MB, free: 6.969 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.007094, allocations: 21.7 kB / 371.4 MB, free: 6.941 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 9.606e-05/0.007191, allocations: 330.8 kB / 371.8 MB, free: 6.609 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.007206, allocations: 14.77 kB / 371.8 MB, free: 6.594 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.992e-05/0.007226, allocations: 17.7 kB / 371.8 MB, free: 6.57 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.959e-05/0.007265, allocations: 35.61 kB / 371.8 MB, free: 6.527 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.007268, allocations: 3.938 kB / 371.8 MB, free: 6.523 MB / 362.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.878e-05/0.007337, allocations: 72.44 kB / 371.9 MB, free: 6.445 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.007351, allocations: 8 kB / 371.9 MB, free: 6.438 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.007355, allocations: 0 / 371.9 MB, free: 6.438 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.007366, allocations: 3.984 kB / 371.9 MB, free: 6.434 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.295e-05/0.007419, allocations: 15.94 kB / 371.9 MB, free: 6.418 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.007424, allocations: 0 / 371.9 MB, free: 6.418 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.007455, allocations: 3.938 kB / 371.9 MB, free: 6.414 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.007462, allocations: 4 kB / 371.9 MB, free: 6.41 MB / 362.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 7.574e-05/0.007538, allocations: 124.6 kB / 372.1 MB, free: 6.277 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.007551, allocations: 11.98 kB / 372.1 MB, free: 6.266 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.877e-05/0.007649, allocations: 71.2 kB / 372.1 MB, free: 6.191 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.007651, allocations: 0 / 372.1 MB, free: 6.191 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.007654, allocations: 3.938 kB / 372.1 MB, free: 6.188 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.007658, allocations: 0 / 372.1 MB, free: 6.188 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.223e-05/0.007741, allocations: 101.8 kB / 372.2 MB, free: 6.07 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.007741, allocations: 0 / 372.2 MB, free: 6.07 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.502e-05/0.007756, allocations: 7.984 kB / 372.3 MB, free: 6.062 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.007783, allocations: 19.86 kB / 372.3 MB, free: 6.043 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007785, allocations: 0 / 372.3 MB, free: 6.043 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.007792, allocations: 4 kB / 372.3 MB, free: 6.039 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.007793, allocations: 4 kB / 372.3 MB, free: 6.035 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.007795, allocations: 7.938 kB / 372.3 MB, free: 6.027 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.128e-05/0.007866, allocations: 102.8 kB / 372.4 MB, free: 5.906 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.007884, allocations: 4 kB / 372.4 MB, free: 5.902 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.09e-05/0.007905, allocations: 4 kB / 372.4 MB, free: 5.898 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.007929, allocations: 0 / 372.4 MB, free: 5.898 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.007941, allocations: 7.984 kB / 372.4 MB, free: 5.891 MB / 362.8 MB Notification: Performance of sorting global known variables: time 7.161e-05/0.008013, allocations: 99.41 kB / 372.5 MB, free: 5.793 MB / 362.8 MB Notification: Performance of sort global known variables: time 5e-08/0.008013, allocations: 0 / 372.5 MB, free: 5.793 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.000124/0.008137, allocations: 23.94 kB / 372.5 MB, free: 5.77 MB / 362.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.001492/0.009629, allocations: 0.5526 MB / 373.1 MB, free: 5.516 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 9.293e-05/0.009722, allocations: 36.78 kB / 373.1 MB, free: 5.477 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/0.00973, allocations: 4 kB / 373.1 MB, free: 5.473 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 3.377e-05/0.009764, allocations: 20.84 kB / 373.1 MB, free: 5.449 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.009984, allocations: 205.4 kB / 373.3 MB, free: 5.219 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.01049, allocations: 316.3 kB / 373.6 MB, free: 4.875 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.567e-05/0.01054, allocations: 83.83 kB / 373.7 MB, free: 4.773 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 5.564e-05/0.01059, allocations: 29.61 kB / 373.8 MB, free: 4.746 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.863e-05/0.01067, allocations: 83.34 kB / 373.8 MB, free: 4.664 MB / 362.8 MB Notification: Performance of SimCode: time 5.71e-07/0.01067, allocations: 0 / 373.8 MB, free: 4.664 MB / 362.8 MB Notification: Performance of Templates: time 0.003759/0.01443, allocations: 2.036 MB / 375.9 MB, free: 2.66 MB / 362.8 MB " [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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.762051982805133]