Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.0009015/0.0009015, allocations: 113.4 kB / 20.43 MB, free: 4.594 MB / 13.93 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.0009349/0.0009349, allocations: 216.6 kB / 23.74 MB, free: 2.262 MB / 13.93 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.09/1.09, allocations: 230.6 MB / 257.5 MB, free: 9.789 MB / 202.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 1.06/1.06, allocations: 120.6 MB / 434.5 MB, free: 13.45 MB / 346.8 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_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") [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.001372/0.001372, allocations: 70.75 kB / 0.6073 GB, free: 63.59 MB / 0.495 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.158, allocations: 85.85 MB / 0.6911 GB, free: 8.234 MB / 0.5106 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002248/0.1602, allocations: 1.443 MB / 0.6925 GB, free: 6.785 MB / 0.5106 GB Notification: Performance of NFInst.instExpressions: time 0.000875/0.1611, allocations: 0.6077 MB / 0.6931 GB, free: 6.172 MB / 0.5106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.191e-05/0.1612, allocations: 7.938 kB / 0.6931 GB, free: 6.164 MB / 0.5106 GB Notification: Performance of NFTyping.typeComponents: time 0.000899/0.1621, allocations: 1.719 MB / 0.6948 GB, free: 4.441 MB / 0.5106 GB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.1631, allocations: 1.774 MB / 0.6965 GB, free: 2.664 MB / 0.5106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.1634, allocations: 71.8 kB / 0.6966 GB, free: 2.594 MB / 0.5106 GB Notification: Performance of NFFlatten.flatten: time 0.002201/0.1656, allocations: 4.307 MB / 0.7008 GB, free: 14.28 MB / 0.5263 GB Notification: Performance of NFFlatten.resolveConnections: time 5.437e-05/0.1657, allocations: 3.938 kB / 0.7008 GB, free: 14.28 MB / 0.5263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002154/0.1678, allocations: 2.156 MB / 0.7029 GB, free: 12.12 MB / 0.5263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0038/0.1716, allocations: 4.547 MB / 0.7073 GB, free: 7.562 MB / 0.5263 GB Notification: Performance of NFPackage.collectConstants: time 0.0005962/0.1722, allocations: 252 kB / 0.7076 GB, free: 7.316 MB / 0.5263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005676/0.1728, allocations: 323.9 kB / 0.7079 GB, free: 7 MB / 0.5263 GB Notification: Performance of NFScalarize.scalarize: time 0.00819/0.181, allocations: 10.36 MB / 0.718 GB, free: 12.61 MB / 0.5419 GB Notification: Performance of NFVerifyModel.verify: time 0.006143/0.1871, allocations: 5.636 MB / 0.7235 GB, free: 6.922 MB / 0.5419 GB Notification: Performance of NFConvertDAE.convert: time 0.00929/0.1964, allocations: 12.54 MB / 0.7358 GB, free: 10.3 MB / 0.5575 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.1964, allocations: 0 / 0.7358 GB, free: 10.3 MB / 0.5575 GB Notification: Performance of FrontEnd: time 3.046e-06/0.1964, allocations: 0 / 0.7358 GB, free: 10.3 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 0.0005644/0.197, allocations: 0 / 0.7358 GB, free: 10.3 MB / 0.5575 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.02066/0.2176, allocations: 20.33 MB / 0.7556 GB, free: 5.758 MB / 0.5731 GB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/0.2177, allocations: 12.03 kB / 0.7556 GB, free: 5.746 MB / 0.5731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002817/0.2205, allocations: 2.325 MB / 0.7579 GB, free: 3.406 MB / 0.5731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04029/0.2608, allocations: 26.13 MB / 0.7834 GB, free: 9.062 MB / 0.6044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.2608, allocations: 384 / 0.7834 GB, free: 9.062 MB / 0.6044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.2609, allocations: 68.38 kB / 0.7835 GB, free: 8.996 MB / 0.6044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006581/0.2616, allocations: 0.7825 MB / 0.7842 GB, free: 8.207 MB / 0.6044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2616, allocations: 7.922 kB / 0.7842 GB, free: 8.199 MB / 0.6044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.297e-05/0.2617, allocations: 71.92 kB / 0.7843 GB, free: 8.129 MB / 0.6044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2617, allocations: 0 / 0.7843 GB, free: 8.129 MB / 0.6044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.2621, allocations: 455.9 kB / 0.7847 GB, free: 7.684 MB / 0.6044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/0.2743, allocations: 6.979 MB / 0.7916 GB, free: 0.6602 MB / 0.6044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000773/0.2751, allocations: 279.5 kB / 0.7918 GB, free: 388 kB / 0.6044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003694/0.2755, allocations: 272.9 kB / 0.7921 GB, free: 112 kB / 0.6044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.2755, allocations: 0 / 0.7921 GB, free: 112 kB / 0.6044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009181/0.2764, allocations: 0.7073 MB / 0.7928 GB, free: 15.38 MB / 0.62 GB Notification: Performance of pre-optimization done (n=8): time 3.336e-06/0.2764, allocations: 0 / 0.7928 GB, free: 15.38 MB / 0.62 GB Notification: Performance of matching and sorting (n=8): time 0.004583/0.281, allocations: 4.358 MB / 0.797 GB, free: 11 MB / 0.62 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.281, allocations: 77.11 kB / 0.7971 GB, free: 10.9 MB / 0.62 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03356/0.3146, allocations: 24.84 MB / 0.8214 GB, free: 2.27 MB / 0.6356 GB Notification: Performance of collectPreVariables (initialization): time 0.0004542/0.3151, allocations: 89.7 kB / 0.8215 GB, free: 2.176 MB / 0.6356 GB Notification: Performance of collectInitialEqns (initialization): time 0.01017/0.3252, allocations: 10.82 MB / 0.832 GB, free: 7.348 MB / 0.6513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005431/0.3258, allocations: 83.86 kB / 0.8321 GB, free: 7.266 MB / 0.6513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003565/0.3261, allocations: 465.7 kB / 0.8325 GB, free: 6.805 MB / 0.6513 GB Notification: Performance of setup shared object (initialization): time 9.355e-05/0.3262, allocations: 306 kB / 0.8328 GB, free: 6.5 MB / 0.6513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.3265, allocations: 272 kB / 0.8331 GB, free: 6.234 MB / 0.6513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.3267, allocations: 267.9 kB / 0.8334 GB, free: 5.973 MB / 0.6513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006087/0.3273, allocations: 0.5901 MB / 0.8339 GB, free: 5.367 MB / 0.6513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3273, allocations: 0 / 0.8339 GB, free: 5.367 MB / 0.6513 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.004519/0.3319, allocations: 4.093 MB / 0.8379 GB, free: 1.246 MB / 0.6513 GB Notification: Performance of prepare postOptimizeDAE: time 5.354e-05/0.3319, allocations: 39.72 kB / 0.838 GB, free: 1.203 MB / 0.6513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.3319, allocations: 96 / 0.838 GB, free: 1.203 MB / 0.6513 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.3319, allocations: 3.938 kB / 0.838 GB, free: 1.199 MB / 0.6513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.236e-05/0.332, allocations: 4 kB / 0.838 GB, free: 1.195 MB / 0.6513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.332, allocations: 8 kB / 0.838 GB, free: 1.188 MB / 0.6513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.3342, allocations: 67.94 kB / 0.838 GB, free: 1.121 MB / 0.6513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004615/0.3347, allocations: 0.8594 MB / 0.8389 GB, free: 268 kB / 0.6513 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.6235/0.9582, allocations: 4.903 MB / 0.8437 GB, free: 114.9 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003346/0.9615, allocations: 2.391 MB / 0.846 GB, free: 114.9 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005693/0.9672, allocations: 2.561 MB / 0.8485 GB, free: 114.7 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.9672, allocations: 5.359 kB / 0.8485 GB, free: 114.7 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.9672, allocations: 0 / 0.8485 GB, free: 114.7 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.9672, allocations: 2.5 kB / 0.8485 GB, free: 114.7 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/0.9794, allocations: 7.588 MB / 0.8559 GB, free: 114.1 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.9795, allocations: 3.562 kB / 0.8559 GB, free: 114.1 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/0.9795, allocations: 3.562 kB / 0.8559 GB, free: 114.1 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.9795, allocations: 1.969 kB / 0.8559 GB, free: 114.1 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003874/0.9799, allocations: 194.2 kB / 0.8561 GB, free: 114.1 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.9799, allocations: 0.5625 kB / 0.8561 GB, free: 114.1 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.9799, allocations: 1.625 kB / 0.8561 GB, free: 114.1 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/0.9832, allocations: 4.292 MB / 0.8603 GB, free: 113.9 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002231/0.9855, allocations: 2.028 MB / 0.8623 GB, free: 112.5 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008663/0.9863, allocations: 67.89 kB / 0.8624 GB, free: 112.5 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008866/0.9872, allocations: 67.88 kB / 0.8624 GB, free: 112.5 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.9873, allocations: 9.938 kB / 0.8624 GB, free: 112.5 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004064/0.9877, allocations: 0.8566 MB / 0.8633 GB, free: 112.5 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.01876/1.006, allocations: 17.24 MB / 0.8801 GB, free: 101.1 MB / 0.6515 GB Notification: Performance of sort global known variables: time 2.7e-07/1.006, allocations: 0.7812 kB / 0.8801 GB, free: 101.1 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.002227/1.009, allocations: 0.6443 MB / 0.8807 GB, free: 100.4 MB / 0.6515 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.0002828/1.009, allocations: 180.6 kB / 0.8809 GB, free: 100.2 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.0006982/1.01, allocations: 0.6551 MB / 0.8815 GB, free: 99.59 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.01, allocations: 0 / 0.8815 GB, free: 99.59 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.0003119/1.01, allocations: 397.4 kB / 0.8819 GB, free: 99.2 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004982/1.015, allocations: 1.696 MB / 0.8836 GB, free: 98.43 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03504/1.05, allocations: 35.22 MB / 0.918 GB, free: 63.37 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008913/1.059, allocations: 8.919 MB / 0.9267 GB, free: 54.41 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.00696/1.066, allocations: 4.701 MB / 0.9313 GB, free: 49.78 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009492/1.067, allocations: 0.9874 MB / 0.9322 GB, free: 48.8 MB / 0.6515 GB Notification: Performance of SimCode: time 2.405e-06/1.067, allocations: 0 / 0.9322 GB, free: 48.8 MB / 0.6515 GB Notification: Performance of Templates: time 0.1554/1.222, allocations: 83.7 MB / 1.014 GB, free: 12.98 MB / 0.6984 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_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_noopt_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: 6.365020070923492]