Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 94.56 kB / 17.31 MB, free: 5.656 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.001444/0.001444, allocations: 183.2 kB / 18.22 MB, free: 5.246 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.466/1.466, allocations: 223.3 MB / 242.3 MB, free: 188 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.047/1.047, allocations: 120.5 MB / 413.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003328, allocations: 8 kB / 0.4955 GB, free: 11.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6059/0.6063, allocations: 82.84 MB / 0.5764 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000): time 0.001856/0.6082, allocations: 1.29 MB / 0.5777 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.6095, allocations: 0.8558 MB / 0.5785 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.007e-05/0.6096, allocations: 1.094 kB / 0.5785 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002699/0.6123, allocations: 3.459 MB / 0.5819 GB, free: 38.48 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.6141, allocations: 1.799 MB / 0.5837 GB, free: 37.57 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.6145, allocations: 95.47 kB / 0.5838 GB, free: 37.5 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.003957/0.6185, allocations: 4.334 MB / 0.588 GB, free: 34.42 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.474e-05/0.6186, allocations: 4 kB / 0.588 GB, free: 34.42 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003407/0.622, allocations: 2.156 MB / 0.5901 GB, free: 32.26 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002955/0.625, allocations: 3.825 MB / 0.5938 GB, free: 28.43 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0004263/0.6254, allocations: 252 kB / 0.5941 GB, free: 28.18 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004765/0.6259, allocations: 280 kB / 0.5943 GB, free: 27.91 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.006525/0.6324, allocations: 9.966 MB / 0.6041 GB, free: 17.91 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.005532/0.638, allocations: 5.672 MB / 0.6096 GB, free: 12.18 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.006053/0.644, allocations: 9.04 MB / 0.6184 GB, free: 3.113 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.6441, allocations: 0 / 0.6184 GB, free: 3.113 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.855e-06/0.6441, allocations: 0 / 0.6184 GB, free: 3.113 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0005104/0.6446, allocations: 0 / 0.6184 GB, free: 3.113 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.02472/0.6693, allocations: 17.23 MB / 0.6353 GB, free: 1.688 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.6694, allocations: 15.91 kB / 0.6353 GB, free: 1.672 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004451/0.6739, allocations: 2.21 MB / 0.6374 GB, free: 15.43 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05515/0.729, allocations: 25.85 MB / 0.6627 GB, free: 5.383 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.7291, allocations: 384 / 0.6627 GB, free: 5.383 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.7291, allocations: 8.125 kB / 0.6627 GB, free: 5.375 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.7294, allocations: 49.61 kB / 0.6627 GB, free: 5.32 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.7294, allocations: 0 / 0.6627 GB, free: 5.32 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.7294, allocations: 0 / 0.6627 GB, free: 5.32 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.7294, allocations: 7.984 kB / 0.6628 GB, free: 5.312 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.814e-05/0.7295, allocations: 12 kB / 0.6628 GB, free: 5.301 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01369/0.7432, allocations: 6.954 MB / 0.6696 GB, free: 14.3 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.7435, allocations: 46.62 kB / 0.6696 GB, free: 14.24 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/0.7436, allocations: 24.78 kB / 0.6696 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.7436, allocations: 4 kB / 0.6696 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.7438, allocations: 71.33 kB / 0.6697 GB, free: 14.13 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 2.295e-06/0.7439, allocations: 0 / 0.6697 GB, free: 14.13 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.004396/0.7483, allocations: 2.347 MB / 0.672 GB, free: 11.75 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.7483, allocations: 51.41 kB / 0.672 GB, free: 11.68 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0448/0.7931, allocations: 25.36 MB / 0.6968 GB, free: 2.535 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.7932, allocations: 25.7 kB / 0.6968 GB, free: 2.504 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.01386/0.8071, allocations: 11.35 MB / 0.7079 GB, free: 7.148 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 8.726e-05/0.8072, allocations: 19.67 kB / 0.7079 GB, free: 7.129 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.8073, allocations: 17.72 kB / 0.7079 GB, free: 7.105 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.8074, allocations: 310 kB / 0.7082 GB, free: 6.797 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.634e-05/0.8075, allocations: 15.98 kB / 0.7083 GB, free: 6.781 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.8076, allocations: 29.62 kB / 0.7083 GB, free: 6.75 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.8077, allocations: 45.7 kB / 0.7083 GB, free: 6.699 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.8077, allocations: 0 / 0.7083 GB, free: 6.699 MB / 0.5452 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.004786/0.8125, allocations: 2.343 MB / 0.7106 GB, free: 4.32 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.8125, allocations: 4 kB / 0.7106 GB, free: 4.316 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.8125, allocations: 160 / 0.7106 GB, free: 4.316 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.8126, allocations: 3.938 kB / 0.7106 GB, free: 4.312 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.449e-05/0.8127, allocations: 15.98 kB / 0.7106 GB, free: 4.297 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.8127, allocations: 3.984 kB / 0.7106 GB, free: 4.293 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003984/0.8167, allocations: 64 kB / 0.7107 GB, free: 4.23 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.8167, allocations: 4 kB / 0.7107 GB, free: 4.227 MB / 0.5452 GB 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.008838/0.8255, allocations: 4.765 MB / 0.7154 GB, free: 15.45 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005335/0.8309, allocations: 2.334 MB / 0.7176 GB, free: 13.09 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007469/0.8384, allocations: 2.565 MB / 0.7201 GB, free: 10.52 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.8384, allocations: 4 kB / 0.7201 GB, free: 10.52 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.8385, allocations: 0 / 0.7201 GB, free: 10.52 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.8385, allocations: 0 / 0.7201 GB, free: 10.52 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01901/0.8575, allocations: 7.625 MB / 0.7276 GB, free: 2.84 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.8575, allocations: 320 / 0.7276 GB, free: 2.84 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.234e-05/0.8576, allocations: 11.98 kB / 0.7276 GB, free: 2.828 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.8577, allocations: 0 / 0.7276 GB, free: 2.828 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.8577, allocations: 0 / 0.7276 GB, free: 2.828 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.8577, allocations: 4 kB / 0.7276 GB, free: 2.824 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.8577, allocations: 0 / 0.7276 GB, free: 2.824 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00506/0.8628, allocations: 2.567 MB / 0.7301 GB, free: 216 kB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004718/0.8675, allocations: 1.983 MB / 0.7321 GB, free: 14.18 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00207/0.8696, allocations: 67.94 kB / 0.7321 GB, free: 14.11 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.871, allocations: 68 kB / 0.7322 GB, free: 14.05 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.8711, allocations: 4 kB / 0.7322 GB, free: 14.04 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.8711, allocations: 11.98 kB / 0.7322 GB, free: 14.03 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03538/0.9065, allocations: 17.51 MB / 0.7493 GB, free: 12.68 MB / 0.592 GB Notification: Performance of sort global known variables: time 1.313e-06/0.9066, allocations: 0 / 0.7493 GB, free: 12.68 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.004098/0.9107, allocations: 0.6289 MB / 0.7499 GB, free: 12.05 MB / 0.592 GB 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.001173/0.9119, allocations: 411.5 kB / 0.7503 GB, free: 11.8 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.9121, allocations: 35.98 kB / 0.7503 GB, free: 11.76 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.9122, allocations: 4 kB / 0.7503 GB, free: 11.76 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 7.278e-05/0.9122, allocations: 23.98 kB / 0.7504 GB, free: 11.73 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007503/0.9198, allocations: 1.716 MB / 0.752 GB, free: 10.02 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6337/1.554, allocations: 39.94 MB / 0.791 GB, free: 141.8 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01301/1.567, allocations: 8.922 MB / 0.7998 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005157/1.572, allocations: 2.212 MB / 0.8019 GB, free: 133.4 MB / 0.5923 GB Notification: Performance of SimCode: time 1.212e-06/1.572, allocations: 0 / 0.8019 GB, free: 133.4 MB / 0.5923 GB Notification: Performance of Templates: time 4.904/6.475, allocations: 1.603 GB / 2.405 GB, free: 207.5 MB / 0.7173 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches