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.001557/0.001557, allocations: 107.9 kB / 20.44 MB, free: 1.188 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.0017/0.0017, allocations: 208.1 kB / 23.73 MB, free: 4.387 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.375/1.375, allocations: 230.6 MB / 257.5 MB, free: 7.785 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 0.9026/0.9026, allocations: 120.6 MB / 434.5 MB, free: 0.6602 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_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.001997/0.001997, allocations: 71.91 kB / 0.6072 GB, free: 10.26 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.139, allocations: 85.87 MB / 0.691 GB, free: 4.188 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.0026/0.1416, allocations: 1.423 MB / 0.6924 GB, free: 2.758 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1426, allocations: 0.5493 MB / 0.6929 GB, free: 2.203 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.529e-05/0.1427, allocations: 0 / 0.6929 GB, free: 2.203 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.1439, allocations: 1.715 MB / 0.6946 GB, free: 496 kB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.1454, allocations: 1.774 MB / 0.6964 GB, free: 14.71 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.1457, allocations: 79.78 kB / 0.6964 GB, free: 14.63 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.003455/0.1491, allocations: 4.303 MB / 0.7006 GB, free: 10.32 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.1492, allocations: 7.922 kB / 0.7006 GB, free: 10.31 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002824/0.152, allocations: 2.156 MB / 0.7027 GB, free: 8.152 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005423/0.1574, allocations: 4.539 MB / 0.7072 GB, free: 3.605 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.0005403/0.1579, allocations: 252 kB / 0.7074 GB, free: 3.359 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005944/0.1585, allocations: 323.9 kB / 0.7077 GB, free: 3.043 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.01099/0.1695, allocations: 10.36 MB / 0.7178 GB, free: 8.656 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.004148/0.1737, allocations: 4.036 MB / 0.7218 GB, free: 4.578 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.1844, allocations: 12.78 MB / 0.7343 GB, free: 7.711 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1845, allocations: 0 / 0.7343 GB, free: 7.711 MB / 0.5608 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1845, allocations: 3.938 kB / 0.7343 GB, free: 7.707 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.0002507/0.1847, allocations: 4 kB / 0.7343 GB, free: 7.703 MB / 0.5608 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.02527/0.21, allocations: 20.35 MB / 0.7541 GB, free: 3.148 MB / 0.5764 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.21, allocations: 8.031 kB / 0.7542 GB, free: 3.141 MB / 0.5764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002797/0.2128, allocations: 2.325 MB / 0.7564 GB, free: 0.8008 MB / 0.5764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5243/0.7371, allocations: 26.13 MB / 0.7819 GB, free: 46.76 MB / 0.5767 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.7371, allocations: 1.75 kB / 0.7819 GB, free: 46.76 MB / 0.5767 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.7373, allocations: 65 kB / 0.782 GB, free: 46.76 MB / 0.5767 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009146/0.7382, allocations: 0.8099 MB / 0.7828 GB, free: 46.5 MB / 0.5767 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.7382, allocations: 0 / 0.7828 GB, free: 46.5 MB / 0.5767 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.7383, allocations: 61.34 kB / 0.7829 GB, free: 46.5 MB / 0.5767 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.7383, allocations: 2.656 kB / 0.7829 GB, free: 46.5 MB / 0.5767 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000527/0.7389, allocations: 496.2 kB / 0.7833 GB, free: 46.46 MB / 0.5767 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008901/0.7478, allocations: 6.806 MB / 0.79 GB, free: 42.15 MB / 0.5767 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007898/0.7485, allocations: 308.4 kB / 0.7903 GB, free: 41.83 MB / 0.5767 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003932/0.7489, allocations: 303.5 kB / 0.7906 GB, free: 41.53 MB / 0.5767 GB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.7489, allocations: 0 / 0.7906 GB, free: 41.53 MB / 0.5767 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006508/0.7496, allocations: 0.7424 MB / 0.7913 GB, free: 40.76 MB / 0.5767 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.7496, allocations: 0 / 0.7913 GB, free: 40.76 MB / 0.5767 GB Notification: Performance of matching and sorting (n=8): time 0.005366/0.755, allocations: 4.415 MB / 0.7956 GB, free: 36.3 MB / 0.5767 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.755, allocations: 86.64 kB / 0.7957 GB, free: 36.2 MB / 0.5767 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03044/0.7854, allocations: 24.84 MB / 0.8199 GB, free: 11.57 MB / 0.5767 GB Notification: Performance of collectPreVariables (initialization): time 0.0005642/0.786, allocations: 89.7 kB / 0.82 GB, free: 11.47 MB / 0.5767 GB Notification: Performance of collectInitialEqns (initialization): time 0.008378/0.7944, allocations: 10.83 MB / 0.8306 GB, free: 0.6445 MB / 0.5767 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006013/0.795, allocations: 87.42 kB / 0.8307 GB, free: 0.5625 MB / 0.5767 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/0.796, allocations: 461.7 kB / 0.8311 GB, free: 108 kB / 0.5767 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.7962, allocations: 312.1 kB / 0.8314 GB, free: 15.8 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006554/0.7968, allocations: 297.7 kB / 0.8317 GB, free: 15.5 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/0.7973, allocations: 302.7 kB / 0.832 GB, free: 15.2 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.7984, allocations: 0.5913 MB / 0.8326 GB, free: 14.6 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.7984, allocations: 0 / 0.8326 GB, free: 14.6 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.006631/0.805, allocations: 4.136 MB / 0.8366 GB, free: 10.43 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.8051, allocations: 37.69 kB / 0.8366 GB, free: 10.39 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.8051, allocations: 0 / 0.8366 GB, free: 10.39 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.8051, allocations: 1.062 kB / 0.8366 GB, free: 10.39 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.656e-05/0.8051, allocations: 4 kB / 0.8366 GB, free: 10.38 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.8052, allocations: 3.938 kB / 0.8366 GB, free: 10.38 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003203/0.8084, allocations: 72.39 kB / 0.8367 GB, free: 10.31 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008753/0.8092, allocations: 0.8651 MB / 0.8376 GB, free: 9.445 MB / 0.5923 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.007251/0.8165, allocations: 4.898 MB / 0.8423 GB, free: 4.527 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004186/0.8207, allocations: 2.39 MB / 0.8447 GB, free: 2.121 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005178/0.8258, allocations: 2.561 MB / 0.8472 GB, free: 15.56 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.8259, allocations: 7.469 kB / 0.8472 GB, free: 15.56 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.8259, allocations: 7.938 kB / 0.8472 GB, free: 15.55 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.8259, allocations: 1.641 kB / 0.8472 GB, free: 15.55 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.8401, allocations: 7.416 MB / 0.8544 GB, free: 8.105 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.8401, allocations: 3.938 kB / 0.8544 GB, free: 8.105 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.8401, allocations: 4 kB / 0.8544 GB, free: 8.102 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.8401, allocations: 0 / 0.8544 GB, free: 8.102 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005621/0.8407, allocations: 196 kB / 0.8546 GB, free: 7.91 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.8407, allocations: 0 / 0.8546 GB, free: 7.91 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8407, allocations: 0 / 0.8546 GB, free: 7.91 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007275/0.848, allocations: 4.324 MB / 0.8589 GB, free: 3.543 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00542/0.8534, allocations: 2.027 MB / 0.8608 GB, free: 1.5 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002059/0.8554, allocations: 67.83 kB / 0.8609 GB, free: 1.438 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002377/0.8578, allocations: 68 kB / 0.861 GB, free: 1.371 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.8579, allocations: 4 kB / 0.861 GB, free: 1.367 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008567/0.8587, allocations: 0.8632 MB / 0.8618 GB, free: 0.5039 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.02829/0.887, allocations: 17.24 MB / 0.8786 GB, free: 15.41 MB / 0.6392 GB Notification: Performance of sort global known variables: time 1.8e-07/0.887, allocations: 2 kB / 0.8786 GB, free: 15.41 MB / 0.6392 GB Notification: Performance of remove unused functions: time 0.00373/0.8907, allocations: 0.6406 MB / 0.8793 GB, free: 14.77 MB / 0.6392 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.0006208/0.8913, allocations: 187.1 kB / 0.8794 GB, free: 14.59 MB / 0.6392 GB Notification: Performance of simCode: created initialization part: time 0.001783/0.8931, allocations: 0.7215 MB / 0.8802 GB, free: 13.84 MB / 0.6392 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.8931, allocations: 6 kB / 0.8802 GB, free: 13.84 MB / 0.6392 GB Notification: Performance of simCode: created simulation system equations: time 0.0007393/0.8939, allocations: 429 kB / 0.8806 GB, free: 13.4 MB / 0.6392 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008078/0.902, allocations: 1.688 MB / 0.8822 GB, free: 11.71 MB / 0.6392 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04672/0.9487, allocations: 35.25 MB / 0.9166 GB, free: 8.605 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009792/0.9585, allocations: 8.641 MB / 0.9251 GB, free: 15.92 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.009237/0.9677, allocations: 4.702 MB / 0.9297 GB, free: 11.23 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/0.9688, allocations: 0.9838 MB / 0.9306 GB, free: 10.25 MB / 0.686 GB Notification: Performance of SimCode: time 7.81e-07/0.9688, allocations: 0 / 0.9306 GB, free: 10.25 MB / 0.686 GB Notification: Performance of Templates: time 0.2157/1.185, allocations: 102.7 MB / 1.031 GB, free: 3.27 MB / 0.7798 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: 7.085807332769036]