Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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.002085/0.002085, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002656/0.002656, allocations: 169.3 kB / 24.27 MB, free: 144 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.455/1.455, 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.9182/0.9182, allocations: 88.07 MB / 349.1 MB, free: 14.25 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_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 3.938 kB / 450.8 MB, free: 33.11 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.638e-05, allocations: 8.141 kB / 450.8 MB, free: 33.1 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.001936/0.001962, allocations: 1.43 MB / 452.3 MB, free: 32.12 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008205/0.002783, allocations: 0.5542 MB / 452.8 MB, free: 31.77 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.002832, allocations: 3.938 kB / 452.8 MB, free: 31.76 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.003024, allocations: 115.8 kB / 452.9 MB, free: 31.74 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.003332, allocations: 175.2 kB / 453.1 MB, free: 31.7 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.003562, allocations: 80.64 kB / 453.2 MB, free: 31.66 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.003804, allocations: 334.4 kB / 453.5 MB, free: 31.59 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.273e-05/0.003837, allocations: 6.125 kB / 453.5 MB, free: 31.59 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.00408, allocations: 205.7 kB / 453.7 MB, free: 31.54 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.004337, allocations: 310.9 kB / 454 MB, free: 31.5 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.513e-05/0.004382, allocations: 20.34 kB / 454 MB, free: 31.5 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.004501, allocations: 84.5 kB / 454.1 MB, free: 31.48 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0005498/0.005051, allocations: 0.6675 MB / 454.8 MB, free: 31.27 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.005199, allocations: 168.6 kB / 454.9 MB, free: 31.18 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005232/0.005723, allocations: 0.7896 MB / 455.7 MB, free: 30.87 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.005725, allocations: 0 / 455.7 MB, free: 30.87 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.342e-06/0.005726, allocations: 6.109 kB / 455.7 MB, free: 30.87 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.005737, allocations: 0 / 455.7 MB, free: 30.87 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.001187/0.006923, allocations: 1.528 MB / 457.3 MB, free: 29.73 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.006955, allocations: 11.16 kB / 457.3 MB, free: 29.73 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.007099, allocations: 153.2 kB / 457.4 MB, free: 29.64 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.008913, allocations: 1.659 MB / 459.1 MB, free: 28.88 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.008926, allocations: 7.094 kB / 459.1 MB, free: 28.88 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.008946, allocations: 5.969 kB / 459.1 MB, free: 28.88 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.009119, allocations: 130 kB / 459.2 MB, free: 28.8 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.009126, allocations: 192 / 459.2 MB, free: 28.8 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.009145, allocations: 9.875 kB / 459.2 MB, free: 28.8 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.009151, allocations: 7.875 kB / 459.2 MB, free: 28.79 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.007e-05/0.009241, allocations: 77.28 kB / 459.3 MB, free: 28.75 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.009638, allocations: 0.517 MB / 459.8 MB, free: 28.5 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.614e-05/0.009724, allocations: 75.95 kB / 459.9 MB, free: 28.43 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.848e-05/0.009793, allocations: 69 kB / 460 MB, free: 28.39 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.009804, allocations: 0 / 460 MB, free: 28.39 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.009956, allocations: 175.2 kB / 460.2 MB, free: 28.26 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.009957, allocations: 4 kB / 460.2 MB, free: 28.25 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0004901/0.01045, allocations: 487.1 kB / 460.6 MB, free: 28.01 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.01048, allocations: 83.61 kB / 460.7 MB, free: 27.91 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.01174, allocations: 1.634 MB / 462.3 MB, free: 27.44 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.01176, allocations: 38.91 kB / 462.4 MB, free: 27.41 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/0.0121, allocations: 0.6209 MB / 463 MB, free: 26.92 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.01214, allocations: 24.61 kB / 463 MB, free: 26.9 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/0.0122, allocations: 51.03 kB / 463.1 MB, free: 26.88 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.216e-05/0.01224, allocations: 309 kB / 463.4 MB, free: 26.58 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.668e-05/0.0123, allocations: 62.48 kB / 463.4 MB, free: 26.54 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.565e-05/0.01236, allocations: 70.38 kB / 463.5 MB, free: 26.49 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.01249, allocations: 138.8 kB / 463.6 MB, free: 26.4 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01249, allocations: 0 / 463.6 MB, free: 26.4 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003291/0.01282, allocations: 430.7 kB / 464.1 MB, free: 26.19 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.01284, allocations: 36.73 kB / 464.1 MB, free: 26.16 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.01285, allocations: 0 / 464.1 MB, free: 26.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.01287, allocations: 0 / 464.1 MB, free: 26.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.192e-05/0.01294, allocations: 9.031 kB / 464.1 MB, free: 26.15 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.01294, allocations: 0 / 464.1 MB, free: 26.15 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.01306, allocations: 16.06 kB / 464.1 MB, free: 26.14 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/0.01311, allocations: 58.98 kB / 464.2 MB, free: 26.14 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 0.0003228/0.01343, allocations: 457.8 kB / 464.6 MB, free: 25.95 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.01354, allocations: 168.9 kB / 464.8 MB, free: 25.86 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.01367, allocations: 168.3 kB / 465 MB, free: 25.81 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01367, allocations: 6.766 kB / 465 MB, free: 25.8 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.01368, allocations: 3.938 kB / 465 MB, free: 25.8 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01368, allocations: 3.984 kB / 465 MB, free: 25.8 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.01407, allocations: 0.5605 MB / 465.5 MB, free: 25.54 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01407, allocations: 0 / 465.5 MB, free: 25.54 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.928e-05/0.01409, allocations: 4.25 kB / 465.5 MB, free: 25.54 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.01409, allocations: 3.938 kB / 465.5 MB, free: 25.54 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.01411, allocations: 26.7 kB / 465.6 MB, free: 25.53 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01412, allocations: 0 / 465.6 MB, free: 25.53 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01412, allocations: 0 / 465.6 MB, free: 25.53 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.0145, allocations: 477.2 kB / 466 MB, free: 25.27 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.01466, allocations: 145.6 kB / 466.2 MB, free: 25.18 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.166e-05/0.01473, allocations: 7.625 kB / 466.2 MB, free: 25.18 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.01484, allocations: 7.875 kB / 466.2 MB, free: 25.18 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.01488, allocations: 7.312 kB / 466.2 MB, free: 25.18 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.01492, allocations: 57.88 kB / 466.3 MB, free: 25.17 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0009357/0.01585, allocations: 1.148 MB / 467.4 MB, free: 24.84 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01585, allocations: 0 / 467.4 MB, free: 24.84 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002862/0.01614, allocations: 77.33 kB / 467.5 MB, free: 24.83 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.0001678/0.01631, allocations: 121.9 kB / 467.6 MB, free: 24.74 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.01657, allocations: 219.6 kB / 467.8 MB, free: 24.59 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01657, allocations: 2.562 kB / 467.8 MB, free: 24.59 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.769e-05/0.01666, allocations: 130.5 kB / 467.9 MB, free: 24.48 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.01707, allocations: 127.6 kB / 468.1 MB, free: 24.41 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.01902, allocations: 2.216 MB / 470.3 MB, free: 23.43 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.01947, allocations: 0.5784 MB / 470.9 MB, free: 23.29 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0004755/0.01994, allocations: 303.9 kB / 471.2 MB, free: 23.21 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.151e-05/0.02002, allocations: 70.5 kB / 471.2 MB, free: 23.2 MB / 410.8 MB Notification: Performance of SimCode: time 8.81e-07/0.02002, allocations: 3.938 kB / 471.2 MB, free: 23.2 MB / 410.8 MB Notification: Performance of Templates: time 0.0137/0.03372, allocations: 5.768 MB / 477 MB, free: 22.11 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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: 5.786886604037136]