Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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.002211/0.002211, allocations: 112.2 kB / 21.19 MB, free: 0.7812 MB / 14.72 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.002806/0.002806, allocations: 214.5 kB / 24.49 MB, free: 4.18 MB / 14.72 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.515/1.515, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 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 1.068/1.068, allocations: 120.6 MB / 435.2 MB, free: 0.9688 MB / 334.1 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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.89 kB / 0.608 GB, free: 10.43 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1679, allocations: 85.88 MB / 0.6918 GB, free: 4.344 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.003067/0.171, allocations: 1.423 MB / 0.6932 GB, free: 2.914 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.1722, allocations: 0.6076 MB / 0.6938 GB, free: 2.301 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.392e-05/0.1723, allocations: 4 kB / 0.6938 GB, free: 2.297 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.002785/0.1751, allocations: 3.426 MB / 0.6972 GB, free: 14.86 MB / 0.5295 GB Notification: Performance of NFTyping.typeBindings: time 0.002804/0.1779, allocations: 3.477 MB / 0.7006 GB, free: 11.38 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.1783, allocations: 83.78 kB / 0.7007 GB, free: 11.3 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.007346/0.1856, allocations: 8.543 MB / 0.709 GB, free: 2.742 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 5.86e-05/0.1857, allocations: 7.922 kB / 0.709 GB, free: 2.734 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005633/0.1913, allocations: 4.262 MB / 0.7132 GB, free: 14.46 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01063/0.2019, allocations: 9.062 MB / 0.722 GB, free: 5.387 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.001916/0.2039, allocations: 0.4922 MB / 0.7225 GB, free: 4.895 MB / 0.5452 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.2054, allocations: 0.5624 MB / 0.723 GB, free: 4.332 MB / 0.5452 GB Notification: Performance of NFScalarize.scalarize: time 0.02488/0.2303, allocations: 20.69 MB / 0.7433 GB, free: 15.58 MB / 0.5764 GB Notification: Performance of NFVerifyModel.verify: time 0.01935/0.2496, allocations: 11.26 MB / 0.7542 GB, free: 4.215 MB / 0.5764 GB Notification: Performance of NFConvertDAE.convert: time 0.7067/0.9564, allocations: 24.98 MB / 0.7786 GB, free: 33.26 MB / 0.5767 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.9564, allocations: 0 / 0.7786 GB, free: 33.26 MB / 0.5767 GB Notification: Performance of FrontEnd: time 2.425e-06/0.9564, allocations: 1.969 kB / 0.7786 GB, free: 33.26 MB / 0.5767 GB Notification: Performance of Transformations before backend: time 0.002194/0.9586, allocations: 1.406 kB / 0.7786 GB, free: 33.26 MB / 0.5767 GB 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.09591/1.054, allocations: 40.39 MB / 0.8181 GB, free: 4.734 MB / 0.5767 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/1.055, allocations: 11.59 kB / 0.8181 GB, free: 4.734 MB / 0.5767 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/1.065, allocations: 4.643 MB / 0.8226 GB, free: 2.016 MB / 0.5767 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1431/1.208, allocations: 52.37 MB / 0.8738 GB, free: 14.9 MB / 0.6392 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/1.208, allocations: 4.375 kB / 0.8738 GB, free: 14.9 MB / 0.6392 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003625/1.208, allocations: 129.2 kB / 0.8739 GB, free: 14.77 MB / 0.6392 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/1.21, allocations: 1.51 MB / 0.8754 GB, free: 13.26 MB / 0.6392 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/1.21, allocations: 5.719 kB / 0.8754 GB, free: 13.25 MB / 0.6392 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002599/1.211, allocations: 124 kB / 0.8755 GB, free: 13.13 MB / 0.6392 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/1.211, allocations: 0 / 0.8755 GB, free: 13.13 MB / 0.6392 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/1.212, allocations: 0.8789 MB / 0.8764 GB, free: 12.25 MB / 0.6392 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04285/1.255, allocations: 13.81 MB / 0.8898 GB, free: 14.39 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/1.257, allocations: 0.5228 MB / 0.8904 GB, free: 13.86 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/1.258, allocations: 0.512 MB / 0.8909 GB, free: 13.35 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/1.258, allocations: 1.031 kB / 0.8909 GB, free: 13.35 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001572/1.26, allocations: 1.32 MB / 0.8921 GB, free: 12.01 MB / 0.6548 GB Notification: Performance of pre-optimization done (n=8): time 2.925e-06/1.26, allocations: 0 / 0.8921 GB, free: 12.01 MB / 0.6548 GB Notification: Performance of matching and sorting (n=8): time 0.0156/1.275, allocations: 8.567 MB / 0.9005 GB, free: 3.402 MB / 0.6548 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/1.275, allocations: 81.61 kB / 0.9006 GB, free: 3.305 MB / 0.6548 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.142/1.417, allocations: 49.58 MB / 0.949 GB, free: 2.133 MB / 0.7017 GB Notification: Performance of collectPreVariables (initialization): time 0.001269/1.419, allocations: 149.7 kB / 0.9492 GB, free: 1.98 MB / 0.7017 GB Notification: Performance of collectInitialEqns (initialization): time 0.04357/1.462, allocations: 22.55 MB / 0.9712 GB, free: 11.41 MB / 0.7329 GB Notification: Performance of collectInitialBindings (initialization): time 0.001305/1.464, allocations: 147 kB / 0.9713 GB, free: 11.27 MB / 0.7329 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003819/1.467, allocations: 0.8747 MB / 0.9722 GB, free: 10.39 MB / 0.7329 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.468, allocations: 318 kB / 0.9725 GB, free: 10.08 MB / 0.7329 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002082/1.47, allocations: 0.5049 MB / 0.973 GB, free: 9.578 MB / 0.7329 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/1.471, allocations: 0.5078 MB / 0.9735 GB, free: 9.07 MB / 0.7329 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/1.472, allocations: 1.078 MB / 0.9745 GB, free: 7.98 MB / 0.7329 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.472, allocations: 0 / 0.9745 GB, free: 7.98 MB / 0.7329 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01454/1.487, allocations: 8.056 MB / 0.9824 GB, free: 15.88 MB / 0.7485 GB Notification: Performance of prepare postOptimizeDAE: time 6.756e-05/1.487, allocations: 37.64 kB / 0.9824 GB, free: 15.84 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.487, allocations: 7.938 kB / 0.9824 GB, free: 15.83 MB / 0.7485 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/1.487, allocations: 0 / 0.9824 GB, free: 15.83 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.272e-05/1.487, allocations: 5.312 kB / 0.9824 GB, free: 15.83 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/1.487, allocations: 0 / 0.9824 GB, free: 15.83 MB / 0.7485 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006953/1.494, allocations: 132 kB / 0.9826 GB, free: 15.7 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002762/1.497, allocations: 1.713 MB / 0.9842 GB, free: 13.99 MB / 0.7485 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.02589/1.523, allocations: 9.671 MB / 0.9937 GB, free: 4.293 MB / 0.7485 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009061/1.532, allocations: 4.769 MB / 0.9983 GB, free: 15.49 MB / 0.7642 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01861/1.55, allocations: 5.115 MB / 1.003 GB, free: 10.37 MB / 0.7642 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/1.55, allocations: 2 kB / 1.003 GB, free: 10.37 MB / 0.7642 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.55, allocations: 7.188 kB / 1.003 GB, free: 10.37 MB / 0.7642 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/1.55, allocations: 0 / 1.003 GB, free: 10.37 MB / 0.7642 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05999/1.61, allocations: 15.04 MB / 1.018 GB, free: 11.27 MB / 0.7798 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/1.61, allocations: 1.375 kB / 1.018 GB, free: 11.27 MB / 0.7798 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.506e-05/1.611, allocations: 6 kB / 1.018 GB, free: 11.27 MB / 0.7798 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/1.611, allocations: 3.938 kB / 1.018 GB, free: 11.26 MB / 0.7798 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001983/1.613, allocations: 384 kB / 1.018 GB, free: 10.89 MB / 0.7798 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/1.613, allocations: 0 / 1.018 GB, free: 10.89 MB / 0.7798 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.613, allocations: 0 / 1.018 GB, free: 10.89 MB / 0.7798 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/1.628, allocations: 8.399 MB / 1.027 GB, free: 2.438 MB / 0.7798 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01493/1.643, allocations: 4.054 MB / 1.031 GB, free: 14.35 MB / 0.7954 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004761/1.647, allocations: 128 kB / 1.031 GB, free: 14.23 MB / 0.7954 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005418/1.653, allocations: 133.3 kB / 1.031 GB, free: 14.1 MB / 0.7954 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/1.653, allocations: 3.938 kB / 1.031 GB, free: 14.1 MB / 0.7954 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002514/1.655, allocations: 1.719 MB / 1.033 GB, free: 12.38 MB / 0.7954 GB Notification: Performance of sorting global known variables: time 0.09609/1.751, allocations: 34.48 MB / 1.066 GB, free: 10.2 MB / 0.8267 GB Notification: Performance of sort global known variables: time 2.01e-07/1.751, allocations: 6 kB / 1.066 GB, free: 10.2 MB / 0.8267 GB Notification: Performance of remove unused functions: time 0.007398/1.759, allocations: 1.25 MB / 1.067 GB, free: 8.945 MB / 0.8267 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.001114/1.76, allocations: 243.2 kB / 1.068 GB, free: 8.699 MB / 0.8267 GB Notification: Performance of simCode: created initialization part: time 0.002331/1.762, allocations: 1.206 MB / 1.069 GB, free: 7.48 MB / 0.8267 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/1.762, allocations: 4.625 kB / 1.069 GB, free: 7.48 MB / 0.8267 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/1.764, allocations: 0.6936 MB / 1.069 GB, free: 6.781 MB / 0.8267 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02694/1.79, allocations: 3.377 MB / 1.073 GB, free: 3.402 MB / 0.8267 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.561/2.351, allocations: 73.53 MB / 1.145 GB, free: 247.1 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04617/2.398, allocations: 17.34 MB / 1.162 GB, free: 229.7 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003778/2.401, allocations: 1.96 MB / 1.163 GB, free: 227.7 MB / 0.8267 GB Notification: Performance of SimCode: time 2.264e-06/2.401, allocations: 0 / 1.163 GB, free: 227.7 MB / 0.8267 GB Notification: Performance of Templates: time 18.61/21.01, allocations: 6.098 GB / 7.262 GB, free: 168.2 MB / 0.9204 GB " [Timeout remaining time 279] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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: 44.88622744497843]