Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 90.02 kB / 16.65 MB, free: 6.59 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.001969/0.001969, allocations: 182.8 kB / 17.56 MB, free: 6.203 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.461/1.461, allocations: 223.3 MB / 241.6 MB, free: 116 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.1/1.1, allocations: 120.5 MB / 413.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003722, allocations: 8.219 kB / 0.4949 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6318/0.6322, allocations: 82.83 MB / 0.5758 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.002248/0.6345, allocations: 1.291 MB / 0.577 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.636, allocations: 0.8656 MB / 0.5779 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.6361, allocations: 0 / 0.5779 GB, free: 40.43 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0009739/0.6371, allocations: 0.9021 MB / 0.5788 GB, free: 39.97 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0006416/0.6378, allocations: 0.5024 MB / 0.5793 GB, free: 39.71 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.638, allocations: 95.39 kB / 0.5794 GB, free: 39.65 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.6392, allocations: 1.148 MB / 0.5805 GB, free: 39.09 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.81e-05/0.6393, allocations: 8.578 kB / 0.5805 GB, free: 39.09 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006383/0.64, allocations: 0.575 MB / 0.581 GB, free: 38.8 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.641, allocations: 0.9923 MB / 0.582 GB, free: 38.39 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.6412, allocations: 64.34 kB / 0.5821 GB, free: 38.39 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.6414, allocations: 87.38 kB / 0.5822 GB, free: 38.38 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002507/0.644, allocations: 2.512 MB / 0.5846 GB, free: 37.15 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.645, allocations: 1.454 MB / 0.586 GB, free: 35.9 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.6468, allocations: 3.032 MB / 0.589 GB, free: 32.88 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6468, allocations: 0 / 0.589 GB, free: 32.88 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.186e-06/0.6468, allocations: 3.984 kB / 0.589 GB, free: 32.88 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.506e-05/0.6468, allocations: 0 / 0.589 GB, free: 32.88 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.003898/0.6507, allocations: 4.585 MB / 0.5935 GB, free: 28.21 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.6508, allocations: 12.02 kB / 0.5935 GB, free: 28.2 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004139/0.6512, allocations: 0.5599 MB / 0.594 GB, free: 27.63 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007574/0.6588, allocations: 6.547 MB / 0.6004 GB, free: 21 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.6588, allocations: 384 / 0.6004 GB, free: 21 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.6589, allocations: 8.125 kB / 0.6004 GB, free: 21 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.659, allocations: 49.67 kB / 0.6005 GB, free: 20.94 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.6591, allocations: 0 / 0.6005 GB, free: 20.94 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.6591, allocations: 7.984 kB / 0.6005 GB, free: 20.93 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.6591, allocations: 0 / 0.6005 GB, free: 20.93 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.988e-05/0.6592, allocations: 15.98 kB / 0.6005 GB, free: 20.92 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.6609, allocations: 1.859 MB / 0.6023 GB, free: 19.01 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.661, allocations: 62.5 kB / 0.6024 GB, free: 18.94 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.6611, allocations: 28.72 kB / 0.6024 GB, free: 18.91 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.6611, allocations: 4 kB / 0.6024 GB, free: 18.91 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.6613, allocations: 63.39 kB / 0.6025 GB, free: 18.83 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.6613, allocations: 0 / 0.6025 GB, free: 18.83 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0007775/0.6621, allocations: 0.6582 MB / 0.6031 GB, free: 18.16 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.6622, allocations: 51.41 kB / 0.6032 GB, free: 18.1 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005766/0.6679, allocations: 6.439 MB / 0.6095 GB, free: 11.7 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.668, allocations: 25.7 kB / 0.6095 GB, free: 11.67 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001746/0.6697, allocations: 2.672 MB / 0.6121 GB, free: 8.996 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.791e-05/0.6698, allocations: 11.81 kB / 0.6121 GB, free: 8.984 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.6699, allocations: 13.72 kB / 0.6121 GB, free: 8.965 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.6699, allocations: 314 kB / 0.6124 GB, free: 8.652 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.487e-05/0.67, allocations: 12 kB / 0.6124 GB, free: 8.641 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-05/0.6701, allocations: 29.7 kB / 0.6124 GB, free: 8.605 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.582e-05/0.6702, allocations: 41.7 kB / 0.6125 GB, free: 8.559 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.6702, allocations: 7.938 kB / 0.6125 GB, free: 8.551 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008566/0.6711, allocations: 0.6426 MB / 0.6131 GB, free: 7.895 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.6711, allocations: 8 kB / 0.6131 GB, free: 7.887 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.6711, allocations: 0 / 0.6131 GB, free: 7.887 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.6711, allocations: 0 / 0.6131 GB, free: 7.887 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.607e-05/0.6712, allocations: 15.92 kB / 0.6131 GB, free: 7.871 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.6713, allocations: 0 / 0.6131 GB, free: 7.871 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006462/0.6719, allocations: 20.03 kB / 0.6132 GB, free: 7.852 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.6719, allocations: 8 kB / 0.6132 GB, free: 7.844 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.001319/0.6733, allocations: 1.28 MB / 0.6144 GB, free: 6.555 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006659/0.6739, allocations: 0.5902 MB / 0.615 GB, free: 5.957 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006598/0.6746, allocations: 0.6481 MB / 0.6156 GB, free: 5.309 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.6746, allocations: 0 / 0.6156 GB, free: 5.309 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6746, allocations: 0 / 0.6156 GB, free: 5.309 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6746, allocations: 4 kB / 0.6156 GB, free: 5.305 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.6762, allocations: 2.027 MB / 0.6176 GB, free: 3.23 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.6763, allocations: 0 / 0.6176 GB, free: 3.23 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.658e-05/0.6763, allocations: 12 kB / 0.6176 GB, free: 3.219 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.6763, allocations: 3.984 kB / 0.6176 GB, free: 3.215 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.6763, allocations: 3.938 kB / 0.6176 GB, free: 3.211 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6763, allocations: 4 kB / 0.6176 GB, free: 3.207 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6763, allocations: 0 / 0.6176 GB, free: 3.207 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005932/0.6769, allocations: 0.7212 MB / 0.6183 GB, free: 2.461 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006442/0.6776, allocations: 0.5716 MB / 0.6189 GB, free: 1.863 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003152/0.6779, allocations: 16 kB / 0.6189 GB, free: 1.848 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/0.6783, allocations: 24 kB / 0.6189 GB, free: 1.824 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.6784, allocations: 0 / 0.6189 GB, free: 1.824 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.6784, allocations: 7.938 kB / 0.6189 GB, free: 1.816 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.005837/0.6842, allocations: 4.42 MB / 0.6233 GB, free: 13.44 MB / 478.3 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6842, allocations: 0 / 0.6233 GB, free: 13.44 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0007929/0.685, allocations: 172 kB / 0.6234 GB, free: 13.27 MB / 478.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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00109/0.6862, allocations: 404.4 kB / 0.6238 GB, free: 13.02 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.6864, allocations: 47.91 kB / 0.6239 GB, free: 12.98 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.6864, allocations: 0 / 0.6239 GB, free: 12.98 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 6.589e-05/0.6865, allocations: 16 kB / 0.6239 GB, free: 12.96 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.6882, allocations: 467.9 kB / 0.6243 GB, free: 12.5 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.7017, allocations: 9.532 MB / 0.6336 GB, free: 2.938 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003468/0.7052, allocations: 2.733 MB / 0.6363 GB, free: 180 kB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.004033/0.7093, allocations: 1.418 MB / 0.6377 GB, free: 14.75 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/0.7105, allocations: 0.5616 MB / 0.6382 GB, free: 14.19 MB / 494.3 MB Notification: Performance of SimCode: time 9.92e-07/0.7105, allocations: 0 / 0.6382 GB, free: 14.19 MB / 494.3 MB Notification: Performance of Templates: time 0.04718/0.7577, allocations: 15.2 MB / 0.6531 GB, free: 14.97 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches