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.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 117.7 kB / 17.7 MB, free: 5.305 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.001347/0.001347, allocations: 191 kB / 18.63 MB, free: 4.375 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.373/1.373, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9245/0.9245, allocations: 119.3 MB / 411.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.91 kB / 0.4924 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5084/0.5098, allocations: 80.68 MB / 0.5712 GB, free: 43.51 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002397/0.5123, allocations: 1.415 MB / 0.5725 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008742/0.5132, allocations: 0.5737 MB / 0.5731 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.5132, allocations: 0 / 0.5731 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.5143, allocations: 1.721 MB / 0.5748 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.5154, allocations: 1.757 MB / 0.5765 GB, free: 40.19 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.5158, allocations: 84.66 kB / 0.5766 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.004044/0.5198, allocations: 4.311 MB / 0.5808 GB, free: 38.04 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.795e-05/0.5199, allocations: 7.672 kB / 0.5808 GB, free: 38.04 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004364/0.5243, allocations: 2.137 MB / 0.5829 GB, free: 37.01 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004478/0.5288, allocations: 4.054 MB / 0.5868 GB, free: 33.47 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0004595/0.5293, allocations: 252 kB / 0.5871 GB, free: 33.22 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004979/0.5298, allocations: 335.9 kB / 0.5874 GB, free: 32.89 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.006954/0.5367, allocations: 9.954 MB / 0.5971 GB, free: 22.91 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.005461/0.5422, allocations: 5.647 MB / 0.6026 GB, free: 17.21 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.006722/0.549, allocations: 12.41 MB / 0.6147 GB, free: 4.742 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.549, allocations: 11.98 kB / 0.6148 GB, free: 4.73 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.225e-06/0.549, allocations: 0 / 0.6148 GB, free: 4.73 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0003455/0.5494, allocations: 0 / 0.6148 GB, free: 4.73 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.02318/0.5726, allocations: 19.56 MB / 0.6339 GB, free: 0.9375 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.5726, allocations: 8.031 kB / 0.6339 GB, free: 0.9297 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00241/0.575, allocations: 2.202 MB / 0.636 GB, free: 14.7 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04725/0.6223, allocations: 25.82 MB / 0.6612 GB, free: 4.68 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.6224, allocations: 384 / 0.6612 GB, free: 4.68 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.6225, allocations: 68.38 kB / 0.6613 GB, free: 4.613 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009051/0.6235, allocations: 0.7864 MB / 0.6621 GB, free: 3.82 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.6235, allocations: 0 / 0.6621 GB, free: 3.82 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.6236, allocations: 64 kB / 0.6621 GB, free: 3.758 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.6236, allocations: 3.938 kB / 0.6621 GB, free: 3.754 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000584/0.6242, allocations: 460 kB / 0.6626 GB, free: 3.305 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01072/0.635, allocations: 6.996 MB / 0.6694 GB, free: 12.26 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/0.6357, allocations: 294.5 kB / 0.6697 GB, free: 11.96 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004569/0.6362, allocations: 284.9 kB / 0.67 GB, free: 11.68 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.6362, allocations: 0 / 0.67 GB, free: 11.68 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007941/0.637, allocations: 0.7034 MB / 0.6706 GB, free: 10.96 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.974e-06/0.637, allocations: 0 / 0.6706 GB, free: 10.96 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.00691/0.644, allocations: 4.232 MB / 0.6748 GB, free: 6.684 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.644, allocations: 77.11 kB / 0.6749 GB, free: 6.59 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03849/0.6825, allocations: 24.84 MB / 0.6991 GB, free: 13.96 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0004517/0.683, allocations: 97.7 kB / 0.6992 GB, free: 13.86 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01266/0.6957, allocations: 10.82 MB / 0.7098 GB, free: 3.031 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004415/0.6962, allocations: 87.94 kB / 0.7099 GB, free: 2.945 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007806/0.697, allocations: 457.7 kB / 0.7103 GB, free: 2.492 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.6971, allocations: 310 kB / 0.7106 GB, free: 2.184 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/0.6976, allocations: 268 kB / 0.7108 GB, free: 1.922 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.698, allocations: 264 kB / 0.7111 GB, free: 1.664 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008629/0.6989, allocations: 0.594 MB / 0.7117 GB, free: 1.055 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6989, allocations: 0 / 0.7117 GB, free: 1.055 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.005595/0.7045, allocations: 3.978 MB / 0.7156 GB, free: 13.04 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/0.7045, allocations: 36.2 kB / 0.7156 GB, free: 13 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.7046, allocations: 0 / 0.7156 GB, free: 13 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.7046, allocations: 0 / 0.7156 GB, free: 13 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.931e-05/0.7047, allocations: 7.984 kB / 0.7156 GB, free: 12.99 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.7047, allocations: 4 kB / 0.7156 GB, free: 12.98 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/0.7074, allocations: 67.94 kB / 0.7157 GB, free: 12.92 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008177/0.7082, allocations: 0.8594 MB / 0.7165 GB, free: 12.06 MB / 0.5608 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.007292/0.7156, allocations: 4.913 MB / 0.7213 GB, free: 7.125 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003103/0.7187, allocations: 2.271 MB / 0.7235 GB, free: 4.824 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004778/0.7235, allocations: 2.565 MB / 0.726 GB, free: 2.25 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.7235, allocations: 0 / 0.726 GB, free: 2.25 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.7235, allocations: 4 kB / 0.726 GB, free: 2.246 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.7235, allocations: 3.984 kB / 0.726 GB, free: 2.242 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/0.7354, allocations: 7.613 MB / 0.7335 GB, free: 10.57 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.7354, allocations: 0 / 0.7335 GB, free: 10.57 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.7355, allocations: 3.938 kB / 0.7335 GB, free: 10.57 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.7355, allocations: 4 kB / 0.7335 GB, free: 10.57 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004411/0.7359, allocations: 192 kB / 0.7337 GB, free: 10.38 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.736, allocations: 4 kB / 0.7337 GB, free: 10.38 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.736, allocations: 0 / 0.7337 GB, free: 10.38 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005167/0.7411, allocations: 4.166 MB / 0.7377 GB, free: 6.156 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004397/0.7455, allocations: 1.987 MB / 0.7397 GB, free: 4.121 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001562/0.7471, allocations: 67.94 kB / 0.7397 GB, free: 4.055 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/0.7485, allocations: 64 kB / 0.7398 GB, free: 3.992 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.7486, allocations: 4 kB / 0.7398 GB, free: 3.988 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006974/0.7493, allocations: 0.8633 MB / 0.7406 GB, free: 3.125 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.02579/0.7751, allocations: 17.24 MB / 0.7575 GB, free: 2.039 MB / 0.592 GB Notification: Performance of sort global known variables: time 8.52e-07/0.7751, allocations: 0 / 0.7575 GB, free: 2.039 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.002498/0.7776, allocations: 0.6367 MB / 0.7581 GB, free: 1.402 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: 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.000328/0.778, allocations: 187.7 kB / 0.7583 GB, free: 1.215 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.779, allocations: 0.683 MB / 0.7589 GB, free: 0.5195 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.779, allocations: 0 / 0.7589 GB, free: 0.5195 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0005798/0.7796, allocations: 431.3 kB / 0.7594 GB, free: 88 kB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4492/1.229, allocations: 1.691 MB / 0.761 GB, free: 166.1 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06113/1.29, allocations: 34.62 MB / 0.7948 GB, free: 149.3 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01299/1.303, allocations: 8.909 MB / 0.8035 GB, free: 140.4 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.01018/1.313, allocations: 4.7 MB / 0.8081 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000963/1.314, allocations: 0.9838 MB / 0.8091 GB, free: 134.7 MB / 0.5923 GB Notification: Performance of SimCode: time 1.744e-06/1.314, allocations: 6.625 kB / 0.8091 GB, free: 134.7 MB / 0.5923 GB Notification: Performance of Templates: time 0.1779/1.492, allocations: 82.69 MB / 0.8898 GB, free: 51.86 MB / 0.5923 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (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 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches