Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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.001881/0.001881, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00203/0.00203, allocations: 169.6 kB / 24.28 MB, free: 148 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.59/1.59, allocations: 177.1 MB / 204.6 MB, free: 5.609 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 0.9968/0.9968, allocations: 88.08 MB / 349.2 MB, free: 14.26 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.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 450.8 MB, free: 33.08 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.937e-05, allocations: 8.484 kB / 450.8 MB, free: 33.07 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002193/0.002223, allocations: 1.439 MB / 452.3 MB, free: 32.09 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009308/0.003154, allocations: 0.5691 MB / 452.8 MB, free: 31.73 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.003208, allocations: 3.938 kB / 452.9 MB, free: 31.72 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0009874/0.004196, allocations: 1.716 MB / 454.6 MB, free: 31.41 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.005331, allocations: 1.773 MB / 456.3 MB, free: 31.08 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.005629, allocations: 82.5 kB / 456.4 MB, free: 31.05 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.002427/0.008055, allocations: 4.299 MB / 460.7 MB, free: 30.26 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.008099, allocations: 13.97 kB / 460.7 MB, free: 30.25 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/0.01112, allocations: 2.394 MB / 463.1 MB, free: 29.72 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00879/0.01991, allocations: 4.541 MB / 467.7 MB, free: 29.1 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.02108, allocations: 254 kB / 467.9 MB, free: 29.1 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006532/0.02174, allocations: 321.1 kB / 468.2 MB, free: 29.08 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01394/0.03567, allocations: 10.48 MB / 478.7 MB, free: 25.82 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00811/0.04378, allocations: 2.394 MB / 481.1 MB, free: 24.46 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01319/0.05697, allocations: 11.09 MB / 492.2 MB, free: 15.46 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.05697, allocations: 3.984 kB / 492.2 MB, free: 15.46 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.234e-06/0.05698, allocations: 0 / 492.2 MB, free: 15.46 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0004836/0.05746, allocations: 4 kB / 492.2 MB, free: 15.46 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.03174/0.0892, allocations: 21.62 MB / 0.5018 GB, free: 9.625 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.08925, allocations: 12.03 kB / 0.5018 GB, free: 9.613 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004568/0.09382, allocations: 2.325 MB / 0.5041 GB, free: 7.273 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05476/0.1486, allocations: 21.38 MB / 0.5249 GB, free: 1.688 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.1486, allocations: 4.375 kB / 0.5249 GB, free: 1.684 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.1488, allocations: 64.38 kB / 0.525 GB, free: 1.621 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.15, allocations: 0.8117 MB / 0.5258 GB, free: 0.7969 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1501, allocations: 4.188 kB / 0.5258 GB, free: 0.793 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.1502, allocations: 60.38 kB / 0.5259 GB, free: 0.7344 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.1502, allocations: 11.94 kB / 0.5259 GB, free: 0.7227 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000797/0.151, allocations: 485.7 kB / 0.5263 GB, free: 248 kB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02216/0.1732, allocations: 10.16 MB / 0.5363 GB, free: 6.051 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.1745, allocations: 316.8 kB / 0.5366 GB, free: 5.723 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006992/0.1752, allocations: 309.4 kB / 0.5369 GB, free: 5.41 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.1752, allocations: 0 / 0.5369 GB, free: 5.41 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.1764, allocations: 0.7496 MB / 0.5376 GB, free: 4.633 MB / 458.8 MB Notification: Performance of pre-optimization done (n=8): time 2.344e-06/0.1764, allocations: 0 / 0.5376 GB, free: 4.633 MB / 458.8 MB Notification: Performance of matching and sorting (n=8): time 0.008754/0.1852, allocations: 4.491 MB / 0.542 GB, free: 108 kB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.552e-05/0.1853, allocations: 81.05 kB / 0.542 GB, free: 8 kB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06374/0.249, allocations: 23.59 MB / 0.5651 GB, free: 8.625 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004695/0.2495, allocations: 89.7 kB / 0.5652 GB, free: 8.531 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.02087/0.2704, allocations: 12.54 MB / 0.5774 GB, free: 11.98 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005813/0.2709, allocations: 83.84 kB / 0.5775 GB, free: 11.9 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001383/0.2723, allocations: 467.3 kB / 0.5779 GB, free: 11.43 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000268/0.2726, allocations: 492.4 kB / 0.5784 GB, free: 10.95 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008119/0.2734, allocations: 301.6 kB / 0.5787 GB, free: 10.64 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/0.274, allocations: 301.6 kB / 0.579 GB, free: 10.34 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.2752, allocations: 0.6007 MB / 0.5796 GB, free: 9.727 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2752, allocations: 0 / 0.5796 GB, free: 9.727 MB / 0.4949 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.009374/0.2846, allocations: 4.203 MB / 0.5837 GB, free: 5.492 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 9.437e-05/0.2847, allocations: 37.7 kB / 0.5837 GB, free: 5.449 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.2847, allocations: 0 / 0.5837 GB, free: 5.449 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-05/0.2848, allocations: 3.984 kB / 0.5837 GB, free: 5.445 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.2849, allocations: 7.938 kB / 0.5837 GB, free: 5.438 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.2849, allocations: 0 / 0.5837 GB, free: 5.438 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004124/0.2891, allocations: 64 kB / 0.5838 GB, free: 5.375 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001234/0.2903, allocations: 0.8633 MB / 0.5846 GB, free: 4.512 MB / 0.4949 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.003992/0.2943, allocations: 318.3 kB / 0.5849 GB, free: 4.184 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005055/0.2993, allocations: 2.453 MB / 0.5873 GB, free: 1.715 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006714/0.3061, allocations: 1.834 MB / 0.5891 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.3061, allocations: 0 / 0.5891 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.3061, allocations: 3.938 kB / 0.5891 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3061, allocations: 0 / 0.5891 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02741/0.3335, allocations: 10.41 MB / 0.5993 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3335, allocations: 0 / 0.5993 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.834e-05/0.3336, allocations: 0 / 0.5993 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.3336, allocations: 4 kB / 0.5993 GB, free: 5.422 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006318/0.3342, allocations: 192 kB / 0.5995 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.3342, allocations: 0 / 0.5995 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3342, allocations: 0 / 0.5995 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007498/0.3417, allocations: 4.49 MB / 0.6039 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006398/0.3481, allocations: 2.031 MB / 0.6058 GB, free: 14.65 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002119/0.3502, allocations: 68 kB / 0.6059 GB, free: 14.58 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002278/0.3525, allocations: 68 kB / 0.606 GB, free: 14.52 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.3526, allocations: 11.73 kB / 0.606 GB, free: 14.51 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001043/0.3536, allocations: 0.8555 MB / 0.6068 GB, free: 13.65 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.03875/0.3924, allocations: 14.66 MB / 0.6211 GB, free: 15.14 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3924, allocations: 0 / 0.6211 GB, free: 15.14 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.004042/0.3964, allocations: 0.6406 MB / 0.6218 GB, free: 14.5 MB / 0.5418 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.0008312/0.3972, allocations: 191.1 kB / 0.6219 GB, free: 14.31 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.002804/0.4001, allocations: 0.7407 MB / 0.6227 GB, free: 13.54 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.4001, allocations: 0 / 0.6227 GB, free: 13.54 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.001407/0.4015, allocations: 448.8 kB / 0.6231 GB, free: 13.08 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00837/0.4098, allocations: 1.813 MB / 0.6249 GB, free: 11.26 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4743/0.8841, allocations: 29.78 MB / 0.6539 GB, free: 134.5 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01445/0.8986, allocations: 7.908 MB / 0.6617 GB, free: 133.7 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.01152/0.9101, allocations: 3.87 MB / 0.6654 GB, free: 132.8 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002134/0.9122, allocations: 0.9858 MB / 0.6664 GB, free: 132.8 MB / 0.5419 GB Notification: Performance of SimCode: time 2.435e-06/0.9122, allocations: 4.375 kB / 0.6664 GB, free: 132.8 MB / 0.5419 GB Notification: Performance of Templates: time 0.1941/1.106, allocations: 70.68 MB / 0.7354 GB, free: 75.19 MB / 0.5419 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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: 10.091394760995172]