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.001086/0.001086, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001147/0.001147, allocations: 161 kB / 24.56 MB, free: 12 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 0.9707/0.9707, allocations: 177.1 MB / 205 MB, free: 5.613 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.6114/0.6114, allocations: 88.07 MB / 349.5 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_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="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|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 451.6 MB, free: 33.35 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.113e-05, allocations: 5.406 kB / 451.6 MB, free: 33.35 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.001777/0.001798, allocations: 1.463 MB / 453 MB, free: 32.37 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008884/0.002686, allocations: 0.58 MB / 453.6 MB, free: 32 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.226e-05/0.002778, allocations: 3.938 kB / 453.6 MB, free: 32 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.003055, allocations: 113.8 kB / 453.7 MB, free: 31.98 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.00344, allocations: 178.3 kB / 453.9 MB, free: 31.93 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.003724, allocations: 77.03 kB / 454 MB, free: 31.9 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.003978, allocations: 337.9 kB / 454.3 MB, free: 31.83 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.004021, allocations: 10.2 kB / 454.3 MB, free: 31.82 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003431/0.004364, allocations: 200.8 kB / 454.5 MB, free: 31.77 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.004702, allocations: 308.3 kB / 454.8 MB, free: 31.73 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 5.398e-05/0.004756, allocations: 18.97 kB / 454.8 MB, free: 31.73 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.004899, allocations: 91.27 kB / 454.9 MB, free: 31.71 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004707/0.00537, allocations: 0.6636 MB / 455.6 MB, free: 31.5 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.00552, allocations: 168.1 kB / 455.8 MB, free: 31.41 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005191/0.006039, allocations: 0.7126 MB / 456.5 MB, free: 31.13 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.006042, allocations: 4 kB / 456.5 MB, free: 31.12 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006043, allocations: 0 / 456.5 MB, free: 31.12 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.854e-05/0.006072, allocations: 0 / 456.5 MB, free: 31.12 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.001364/0.007436, allocations: 1.687 MB / 458.2 MB, free: 29.83 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.007472, allocations: 11.19 kB / 458.2 MB, free: 29.83 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.007613, allocations: 158.4 kB / 458.3 MB, free: 29.74 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.008917, allocations: 1.408 MB / 459.7 MB, free: 29 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.008932, allocations: 2.812 kB / 459.7 MB, free: 29 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.008952, allocations: 5.531 kB / 459.7 MB, free: 29 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.009094, allocations: 127.3 kB / 459.9 MB, free: 28.93 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.009104, allocations: 3 kB / 459.9 MB, free: 28.93 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.00912, allocations: 7.125 kB / 459.9 MB, free: 28.93 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.009129, allocations: 6.719 kB / 459.9 MB, free: 28.92 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.358e-05/0.009192, allocations: 71.55 kB / 460 MB, free: 28.89 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.009666, allocations: 0.6736 MB / 460.6 MB, free: 28.51 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.936e-05/0.009735, allocations: 82.66 kB / 460.7 MB, free: 28.44 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.009785, allocations: 69.33 kB / 460.8 MB, free: 28.39 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.009792, allocations: 0 / 460.8 MB, free: 28.39 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.009916, allocations: 170.8 kB / 460.9 MB, free: 28.27 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 9.21e-07/0.009916, allocations: 4 kB / 460.9 MB, free: 28.26 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0004008/0.01032, allocations: 472.5 kB / 461.4 MB, free: 28.04 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.01035, allocations: 83.92 kB / 461.5 MB, free: 27.94 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008744/0.01122, allocations: 1.511 MB / 463 MB, free: 27.32 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.01124, allocations: 31.33 kB / 463 MB, free: 27.29 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.01154, allocations: 0.7407 MB / 463.8 MB, free: 26.7 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.01157, allocations: 24.52 kB / 463.8 MB, free: 26.69 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.01162, allocations: 57.05 kB / 463.8 MB, free: 26.66 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.34e-05/0.01166, allocations: 487.3 kB / 464.3 MB, free: 26.18 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.114e-05/0.0117, allocations: 58.94 kB / 464.4 MB, free: 26.14 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.653e-05/0.01174, allocations: 66.09 kB / 464.4 MB, free: 26.11 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.545e-05/0.01183, allocations: 141.2 kB / 464.6 MB, free: 26.01 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01183, allocations: 0 / 464.6 MB, free: 26.01 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002622/0.01209, allocations: 422.1 kB / 465 MB, free: 25.81 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.01212, allocations: 34.73 kB / 465 MB, free: 25.78 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.01212, allocations: 7.938 kB / 465 MB, free: 25.77 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.01214, allocations: 2.875 kB / 465 MB, free: 25.77 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.308e-05/0.0122, allocations: 6.844 kB / 465 MB, free: 25.77 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.0122, allocations: 0 / 465 MB, free: 25.77 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.465e-05/0.01229, allocations: 16.69 kB / 465.1 MB, free: 25.76 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/0.01233, allocations: 60 kB / 465.1 MB, free: 25.75 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.0001071/0.01243, allocations: 199.5 kB / 465.3 MB, free: 25.56 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/0.01251, allocations: 172.9 kB / 465.5 MB, free: 25.47 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.744e-05/0.0126, allocations: 126.8 kB / 465.6 MB, free: 25.41 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.0126, allocations: 0 / 465.6 MB, free: 25.41 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01261, allocations: 3.938 kB / 465.6 MB, free: 25.41 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01261, allocations: 0 / 465.6 MB, free: 25.41 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.01299, allocations: 0.6899 MB / 466.3 MB, free: 25.04 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01299, allocations: 0 / 466.3 MB, free: 25.04 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.01302, allocations: 6.781 kB / 466.3 MB, free: 25.03 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01302, allocations: 2.75 kB / 466.3 MB, free: 25.03 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.01303, allocations: 13.91 kB / 466.3 MB, free: 25.03 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01304, allocations: 7.234 kB / 466.3 MB, free: 25.03 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01304, allocations: 0 / 466.3 MB, free: 25.03 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.01334, allocations: 483.3 kB / 466.8 MB, free: 24.77 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.01345, allocations: 146.4 kB / 467 MB, free: 24.68 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.0135, allocations: 7.688 kB / 467 MB, free: 24.68 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.055e-05/0.01356, allocations: 5.062 kB / 467 MB, free: 24.68 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.01359, allocations: 9.781 kB / 467 MB, free: 24.67 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.01362, allocations: 61.06 kB / 467 MB, free: 24.66 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.000539/0.01416, allocations: 0.8414 MB / 467.9 MB, free: 24.34 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.21e-07/0.01416, allocations: 0 / 467.9 MB, free: 24.34 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002064/0.01437, allocations: 74.22 kB / 467.9 MB, free: 24.33 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.0001329/0.0145, allocations: 129.6 kB / 468.1 MB, free: 24.24 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.01468, allocations: 214.3 kB / 468.3 MB, free: 24.09 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01468, allocations: 6.906 kB / 468.3 MB, free: 24.08 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 6.398e-05/0.01474, allocations: 137.9 kB / 468.4 MB, free: 23.97 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.01505, allocations: 131.1 kB / 468.6 MB, free: 23.9 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.01639, allocations: 1.823 MB / 470.4 MB, free: 22.96 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.01653, allocations: 282.6 kB / 470.6 MB, free: 22.86 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0003123/0.01685, allocations: 255.2 kB / 470.9 MB, free: 22.78 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.0169, allocations: 75.44 kB / 471 MB, free: 22.77 MB / 410.8 MB Notification: Performance of SimCode: time 7.21e-07/0.0169, allocations: 4 kB / 471 MB, free: 22.77 MB / 410.8 MB Notification: Performance of Templates: time 0.01024/0.02714, allocations: 5.338 MB / 476.3 MB, free: 21.68 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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) [Timeout 240] 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","",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.864680692087859]