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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001105, allocations: 110 kB / 16.51 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 186.5 kB / 17.42 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.07/1.07, allocations: 119.3 MB / 410.6 MB, free: 9.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 59.91 kB / 0.4903 GB, free: 14.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5695/0.5709, allocations: 80.68 MB / 0.569 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.002514/0.5735, allocations: 1.48 MB / 0.5705 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.5745, allocations: 0.5818 MB / 0.5711 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.5746, allocations: 4 kB / 0.5711 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.5749, allocations: 121.4 kB / 0.5712 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.5752, allocations: 158.4 kB / 0.5713 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.5755, allocations: 60.25 kB / 0.5714 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.5758, allocations: 325.7 kB / 0.5717 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.527e-05/0.5759, allocations: 6.734 kB / 0.5717 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.5761, allocations: 166.8 kB / 0.5719 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003784/0.5765, allocations: 274.7 kB / 0.5721 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.686e-05/0.5766, allocations: 16.84 kB / 0.5721 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.5768, allocations: 86.22 kB / 0.5722 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0007992/0.5776, allocations: 0.632 MB / 0.5728 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003051/0.5779, allocations: 378.2 kB / 0.5732 GB, free: 40.18 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0007966/0.5787, allocations: 0.8244 MB / 0.574 GB, free: 39.65 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5787, allocations: 1.281 kB / 0.574 GB, free: 39.65 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5787, allocations: 0 / 0.574 GB, free: 39.65 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.5787, allocations: 0 / 0.574 GB, free: 39.65 MB / 462.3 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.001722/0.5805, allocations: 1.568 MB / 0.5755 GB, free: 38.37 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.5805, allocations: 13.19 kB / 0.5755 GB, free: 38.36 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.5807, allocations: 145 kB / 0.5757 GB, free: 38.29 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002497/0.5832, allocations: 1.753 MB / 0.5774 GB, free: 37.16 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-06/0.5833, allocations: 6.25 kB / 0.5774 GB, free: 37.16 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.5833, allocations: 5.75 kB / 0.5774 GB, free: 37.16 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.5835, allocations: 103.1 kB / 0.5775 GB, free: 37.09 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.5835, allocations: 0 / 0.5775 GB, free: 37.09 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.5835, allocations: 6.156 kB / 0.5775 GB, free: 37.09 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5835, allocations: 0 / 0.5775 GB, free: 37.09 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.896e-05/0.5836, allocations: 49.59 kB / 0.5776 GB, free: 37.08 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.5841, allocations: 0.5845 MB / 0.5781 GB, free: 36.64 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 8.284e-05/0.5842, allocations: 56.64 kB / 0.5782 GB, free: 36.6 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.039e-05/0.5843, allocations: 48.39 kB / 0.5782 GB, free: 36.58 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.5843, allocations: 0 / 0.5782 GB, free: 36.58 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.5845, allocations: 139.6 kB / 0.5784 GB, free: 36.46 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.5845, allocations: 0 / 0.5784 GB, free: 36.46 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.000606/0.5851, allocations: 413.9 kB / 0.5788 GB, free: 36.28 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.5852, allocations: 79.86 kB / 0.5788 GB, free: 36.19 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.5874, allocations: 1.635 MB / 0.5804 GB, free: 35.44 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.5874, allocations: 34.73 kB / 0.5805 GB, free: 35.41 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004728/0.5879, allocations: 0.6243 MB / 0.5811 GB, free: 34.87 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/0.588, allocations: 22.11 kB / 0.5811 GB, free: 34.86 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.44e-05/0.5881, allocations: 53 kB / 0.5811 GB, free: 34.83 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.062e-05/0.5881, allocations: 307.2 kB / 0.5814 GB, free: 34.53 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.49e-05/0.5882, allocations: 39.98 kB / 0.5815 GB, free: 34.51 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.724e-05/0.5883, allocations: 28 kB / 0.5815 GB, free: 34.51 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.5884, allocations: 134.5 kB / 0.5816 GB, free: 34.41 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5884, allocations: 0 / 0.5816 GB, free: 34.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004435/0.5889, allocations: 382 kB / 0.582 GB, free: 34.23 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.5889, allocations: 35.77 kB / 0.582 GB, free: 34.2 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5889, allocations: 0 / 0.582 GB, free: 34.2 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.589, allocations: 0 / 0.582 GB, free: 34.2 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.815e-05/0.5891, allocations: 5.062 kB / 0.582 GB, free: 34.2 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.954e-06/0.5891, allocations: 0 / 0.582 GB, free: 34.2 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.5892, allocations: 22.23 kB / 0.5821 GB, free: 34.19 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.622e-05/0.5893, allocations: 58.56 kB / 0.5821 GB, free: 34.18 MB / 462.3 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.0004718/0.5898, allocations: 451.2 kB / 0.5825 GB, free: 33.93 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.5899, allocations: 156.6 kB / 0.5827 GB, free: 33.84 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.5901, allocations: 172.9 kB / 0.5829 GB, free: 33.76 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5901, allocations: 1.281 kB / 0.5829 GB, free: 33.76 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.5901, allocations: 4 kB / 0.5829 GB, free: 33.75 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5901, allocations: 0 / 0.5829 GB, free: 33.75 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006318/0.5908, allocations: 0.63 MB / 0.5835 GB, free: 33.31 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5908, allocations: 0 / 0.5835 GB, free: 33.31 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.5908, allocations: 7.375 kB / 0.5835 GB, free: 33.31 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.5908, allocations: 3.938 kB / 0.5835 GB, free: 33.3 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.5909, allocations: 14.69 kB / 0.5835 GB, free: 33.3 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5909, allocations: 3.984 kB / 0.5835 GB, free: 33.3 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5909, allocations: 1.125 kB / 0.5835 GB, free: 33.3 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.5914, allocations: 434.2 kB / 0.5839 GB, free: 33.07 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.5916, allocations: 210.9 kB / 0.5841 GB, free: 32.89 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.806e-05/0.5917, allocations: 15.41 kB / 0.5841 GB, free: 32.89 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.5918, allocations: 6.531 kB / 0.5841 GB, free: 32.89 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.5918, allocations: 1.188 kB / 0.5841 GB, free: 32.89 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.57e-05/0.5919, allocations: 58.72 kB / 0.5842 GB, free: 32.88 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001231/0.5931, allocations: 1.145 MB / 0.5853 GB, free: 32.34 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5931, allocations: 0 / 0.5853 GB, free: 32.34 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003383/0.5935, allocations: 70.12 kB / 0.5854 GB, free: 32.34 MB / 462.3 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.0001833/0.5937, allocations: 126.7 kB / 0.5855 GB, free: 32.24 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002658/0.594, allocations: 183.5 kB / 0.5857 GB, free: 32.12 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.594, allocations: 0 / 0.5857 GB, free: 32.12 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.5941, allocations: 126.1 kB / 0.5858 GB, free: 32.04 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.5946, allocations: 120.9 kB / 0.5859 GB, free: 31.96 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.5969, allocations: 2.383 MB / 0.5882 GB, free: 29.8 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/0.5974, allocations: 1.184 MB / 0.5894 GB, free: 28.59 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005947/0.598, allocations: 293.8 kB / 0.5897 GB, free: 28.29 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.5981, allocations: 71.44 kB / 0.5897 GB, free: 28.22 MB / 462.3 MB Notification: Performance of SimCode: time 5.51e-07/0.5981, allocations: 0 / 0.5897 GB, free: 28.22 MB / 462.3 MB Notification: Performance of Templates: time 0.01134/0.6095, allocations: 5.606 MB / 0.5952 GB, free: 22.54 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (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) 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","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches