Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.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.00146/0.00146, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001092/0.001092, allocations: 167.2 kB / 24.91 MB, free: 9.152 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 0.9857/0.9857, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.5797/0.5797, allocations: 88.09 MB / 349.9 MB, free: 14.14 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.CombiTimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.[0-9,]+.|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.[0-9,]+.|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 398.8 MB, free: 13.6 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.367e-05, allocations: 6.25 kB / 398.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000): time 0.002418/0.002442, allocations: 1.625 MB / 400.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.004076, allocations: 1.025 MB / 401.4 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.395e-05/0.00416, allocations: 0 / 401.4 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.005564, allocations: 1.754 MB / 403.2 MB, free: 9.172 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.006617, allocations: 1.002 MB / 404.2 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.006838, allocations: 71.67 kB / 404.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.008703, allocations: 2.239 MB / 406.5 MB, free: 5.855 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.008748, allocations: 7.922 kB / 406.5 MB, free: 5.848 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008739/0.01749, allocations: 7.426 MB / 413.9 MB, free: 14.41 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.01853, allocations: 1.099 MB / 415 MB, free: 13.31 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.01867, allocations: 0 / 415 MB, free: 13.31 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.0189, allocations: 43.84 kB / 415.1 MB, free: 13.27 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003853/0.02275, allocations: 4.5 MB / 419.6 MB, free: 8.754 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008568/0.02361, allocations: 0.9537 MB / 420.5 MB, free: 7.793 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003372/0.02698, allocations: 4.844 MB / 425.4 MB, free: 2.922 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.02698, allocations: 0 / 425.4 MB, free: 2.922 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.02699, allocations: 0 / 425.4 MB, free: 2.922 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.224e-05/0.02708, allocations: 0 / 425.4 MB, free: 2.922 MB / 394.7 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.008113/0.03519, allocations: 9.735 MB / 435.1 MB, free: 9.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.03523, allocations: 12.03 kB / 435.1 MB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007072/0.03594, allocations: 0.5549 MB / 435.7 MB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/0.04644, allocations: 7.675 MB / 443.4 MB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.04647, allocations: 8.375 kB / 443.4 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.04648, allocations: 384 / 443.4 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.04677, allocations: 57.77 kB / 443.4 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.04678, allocations: 3.938 kB / 443.4 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.04679, allocations: 0 / 443.4 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.04679, allocations: 0 / 443.4 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.321e-05/0.04683, allocations: 11.98 kB / 443.4 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2882/0.3351, allocations: 0.8363 MB / 444.3 MB, free: 48.26 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.3352, allocations: 39.77 kB / 444.3 MB, free: 48.23 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.214e-05/0.3352, allocations: 12.12 kB / 444.3 MB, free: 48.22 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.3352, allocations: 2.547 kB / 444.3 MB, free: 48.22 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.557e-05/0.3353, allocations: 64.78 kB / 444.4 MB, free: 48.17 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 2.154e-06/0.3353, allocations: 0.9062 kB / 444.4 MB, free: 48.17 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.001023/0.3364, allocations: 0.6058 MB / 445 MB, free: 48.14 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.3364, allocations: 55.5 kB / 445.1 MB, free: 48.08 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006459/0.3428, allocations: 10.41 MB / 455.5 MB, free: 44.2 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3429, allocations: 29.7 kB / 455.5 MB, free: 44.16 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007925/0.3437, allocations: 1.774 MB / 457.3 MB, free: 42.97 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.3437, allocations: 19.02 kB / 457.3 MB, free: 42.96 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.3437, allocations: 17.72 kB / 457.3 MB, free: 42.93 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.228e-05/0.3438, allocations: 312.4 kB / 457.6 MB, free: 42.62 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.3438, allocations: 6.828 kB / 457.6 MB, free: 42.62 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.938e-05/0.3438, allocations: 24.66 kB / 457.6 MB, free: 42.59 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.778e-05/0.3438, allocations: 36.61 kB / 457.7 MB, free: 42.55 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3438, allocations: 0 / 457.7 MB, free: 42.55 MB / 410.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005801/0.3444, allocations: 0.6059 MB / 458.3 MB, free: 41.94 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.3444, allocations: 8.781 kB / 458.3 MB, free: 41.93 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3445, allocations: 0 / 458.3 MB, free: 41.93 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3445, allocations: 7.984 kB / 458.3 MB, free: 41.93 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.282e-05/0.3445, allocations: 11.09 kB / 458.3 MB, free: 41.92 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.3446, allocations: 0 / 458.3 MB, free: 41.92 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.345, allocations: 13.75 kB / 458.3 MB, free: 41.91 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.345, allocations: 0 / 458.3 MB, free: 41.91 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 0.0005282/0.3455, allocations: 124.6 kB / 458.4 MB, free: 41.78 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003428/0.3458, allocations: 0.554 MB / 459 MB, free: 41.22 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005681/0.3464, allocations: 0.9761 MB / 460 MB, free: 40.24 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3464, allocations: 2.953 kB / 460 MB, free: 40.24 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.3464, allocations: 0 / 460 MB, free: 40.24 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3464, allocations: 3.938 kB / 460 MB, free: 40.24 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.3476, allocations: 2.106 MB / 462.1 MB, free: 38.11 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3476, allocations: 0 / 462.1 MB, free: 38.11 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.3476, allocations: 4 kB / 462.1 MB, free: 38.11 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3476, allocations: 4 kB / 462.1 MB, free: 38.11 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3477, allocations: 3.188 kB / 462.1 MB, free: 38.11 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3477, allocations: 0 / 462.1 MB, free: 38.11 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3477, allocations: 0 / 462.1 MB, free: 38.11 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.3481, allocations: 0.7068 MB / 462.8 MB, free: 37.38 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005047/0.3486, allocations: 0.9254 MB / 463.7 MB, free: 37.13 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/0.3488, allocations: 3.984 kB / 463.7 MB, free: 37.12 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.3492, allocations: 3.719 kB / 463.7 MB, free: 37.12 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.3492, allocations: 8 kB / 463.7 MB, free: 37.12 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.3492, allocations: 0 / 463.7 MB, free: 37.12 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002966/0.3522, allocations: 5.666 MB / 469.4 MB, free: 31.53 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3522, allocations: 0 / 469.4 MB, free: 31.53 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0005295/0.3527, allocations: 268 kB / 469.7 MB, free: 31.27 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.001123/0.3538, allocations: 0.5053 MB / 470.2 MB, free: 31.07 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 8.498e-05/0.3539, allocations: 35.42 kB / 470.2 MB, free: 31.04 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.806e-05/0.354, allocations: 124 kB / 470.3 MB, free: 30.92 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 2.878e-05/0.354, allocations: 23.66 kB / 470.4 MB, free: 30.89 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.3554, allocations: 0.8957 MB / 471.3 MB, free: 30 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009855/0.3653, allocations: 14.56 MB / 485.8 MB, free: 15.45 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.3663, allocations: 1.94 MB / 487.8 MB, free: 13.49 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002793/0.3691, allocations: 1.887 MB / 489.6 MB, free: 11.65 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/0.3705, allocations: 1.409 MB / 491.1 MB, free: 10.24 MB / 410.8 MB Notification: Performance of SimCode: time 1.873e-06/0.3705, allocations: 0 / 491.1 MB, free: 10.24 MB / 410.8 MB Notification: Performance of Templates: time 0.05952/0.4301, allocations: 25.65 MB / 0.5046 GB, free: 1.02 MB / 426.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_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: 3.886886576190591]