Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001563/0.001564, allocations: 114.7 kB / 17.7 MB, free: 5.309 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.001704/0.001704, allocations: 191 kB / 18.63 MB, free: 4.379 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.478/1.478, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.106/1.106, allocations: 119.3 MB / 411.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 71.88 kB / 0.4924 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5592/0.5606, allocations: 80.67 MB / 0.5712 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002936/0.5636, allocations: 1.411 MB / 0.5725 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.5648, allocations: 0.5823 MB / 0.5731 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.391e-05/0.5649, allocations: 0 / 0.5731 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.5665, allocations: 1.717 MB / 0.5748 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.5679, allocations: 1.756 MB / 0.5765 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.5682, allocations: 86.02 kB / 0.5766 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.004457/0.5727, allocations: 4.303 MB / 0.5808 GB, free: 38.06 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.451e-05/0.5728, allocations: 6.734 kB / 0.5808 GB, free: 38.05 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004531/0.5773, allocations: 2.146 MB / 0.5829 GB, free: 37.02 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005951/0.5833, allocations: 4.054 MB / 0.5868 GB, free: 33.46 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0004685/0.5838, allocations: 252 kB / 0.5871 GB, free: 33.22 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004979/0.5843, allocations: 335.9 kB / 0.5874 GB, free: 32.89 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.007318/0.5916, allocations: 9.958 MB / 0.5971 GB, free: 22.91 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.005129/0.5968, allocations: 5.632 MB / 0.6026 GB, free: 17.22 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.007327/0.6041, allocations: 12.42 MB / 0.6148 GB, free: 4.738 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.6042, allocations: 0 / 0.6148 GB, free: 4.738 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6042, allocations: 0 / 0.6148 GB, free: 4.738 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0003846/0.6046, allocations: 4 kB / 0.6148 GB, free: 4.734 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.03141/0.636, allocations: 19.55 MB / 0.6338 GB, free: 0.9492 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 7.333e-05/0.6361, allocations: 12.03 kB / 0.6339 GB, free: 0.9375 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004633/0.6407, allocations: 2.198 MB / 0.636 GB, free: 14.71 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05943/0.7002, allocations: 25.83 MB / 0.6612 GB, free: 4.691 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.7003, allocations: 4.375 kB / 0.6612 GB, free: 4.688 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.7005, allocations: 64.38 kB / 0.6613 GB, free: 4.625 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.7015, allocations: 0.7863 MB / 0.6621 GB, free: 3.832 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.7016, allocations: 7.938 kB / 0.6621 GB, free: 3.824 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.7017, allocations: 64 kB / 0.6621 GB, free: 3.762 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.7017, allocations: 0 / 0.6621 GB, free: 3.762 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005894/0.7023, allocations: 456 kB / 0.6626 GB, free: 3.316 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01551/0.7178, allocations: 7.004 MB / 0.6694 GB, free: 12.26 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000871/0.7188, allocations: 286.6 kB / 0.6697 GB, free: 11.97 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004841/0.7193, allocations: 284.9 kB / 0.67 GB, free: 11.69 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.7193, allocations: 0 / 0.67 GB, free: 11.69 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009175/0.7202, allocations: 0.7151 MB / 0.6706 GB, free: 10.95 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.903e-06/0.7202, allocations: 0 / 0.6706 GB, free: 10.95 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.007433/0.7277, allocations: 4.236 MB / 0.6748 GB, free: 6.68 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.7278, allocations: 81.11 kB / 0.6749 GB, free: 6.582 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05258/0.7804, allocations: 24.83 MB / 0.6991 GB, free: 13.95 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0004448/0.7809, allocations: 89.7 kB / 0.6992 GB, free: 13.86 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01364/0.7946, allocations: 10.83 MB / 0.7098 GB, free: 3.027 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005589/0.7952, allocations: 75.81 kB / 0.7098 GB, free: 2.953 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005427/0.7957, allocations: 465.7 kB / 0.7103 GB, free: 2.492 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.7959, allocations: 314 kB / 0.7106 GB, free: 2.18 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/0.7963, allocations: 260 kB / 0.7108 GB, free: 1.926 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/0.7968, allocations: 272 kB / 0.7111 GB, free: 1.66 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008832/0.7977, allocations: 0.5823 MB / 0.7117 GB, free: 1.062 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.7977, allocations: 0 / 0.7117 GB, free: 1.062 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.006195/0.8039, allocations: 3.978 MB / 0.7155 GB, free: 13.04 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/0.804, allocations: 40.05 kB / 0.7156 GB, free: 13 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.804, allocations: 4.094 kB / 0.7156 GB, free: 13 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.804, allocations: 3.938 kB / 0.7156 GB, free: 12.99 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.227e-05/0.8041, allocations: 7.984 kB / 0.7156 GB, free: 12.98 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.8041, allocations: 4 kB / 0.7156 GB, free: 12.98 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003311/0.8074, allocations: 71.94 kB / 0.7157 GB, free: 12.91 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007341/0.8082, allocations: 0.8555 MB / 0.7165 GB, free: 12.05 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.008082/0.8163, allocations: 4.905 MB / 0.7213 GB, free: 7.129 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003733/0.82, allocations: 2.271 MB / 0.7235 GB, free: 4.828 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005342/0.8254, allocations: 2.565 MB / 0.726 GB, free: 2.254 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.8254, allocations: 0 / 0.726 GB, free: 2.254 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.8254, allocations: 11.92 kB / 0.726 GB, free: 2.242 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.8254, allocations: 0 / 0.726 GB, free: 2.242 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/0.8414, allocations: 7.613 MB / 0.7335 GB, free: 10.57 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.8415, allocations: 0 / 0.7335 GB, free: 10.57 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.686e-05/0.8416, allocations: 7.938 kB / 0.7335 GB, free: 10.57 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.8416, allocations: 3.938 kB / 0.7335 GB, free: 10.56 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006832/0.8423, allocations: 196 kB / 0.7337 GB, free: 10.37 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.8423, allocations: 0 / 0.7337 GB, free: 10.37 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.8423, allocations: 0 / 0.7337 GB, free: 10.37 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006726/0.849, allocations: 4.166 MB / 0.7377 GB, free: 6.152 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005354/0.8544, allocations: 1.98 MB / 0.7397 GB, free: 4.125 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002054/0.8565, allocations: 68 kB / 0.7397 GB, free: 4.059 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/0.858, allocations: 64 kB / 0.7398 GB, free: 3.996 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.858, allocations: 4 kB / 0.7398 GB, free: 3.992 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007006/0.8587, allocations: 0.8633 MB / 0.7406 GB, free: 3.129 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.02958/0.8883, allocations: 17.23 MB / 0.7575 GB, free: 2.047 MB / 0.592 GB Notification: Performance of sort global known variables: time 7.02e-07/0.8884, allocations: 4 kB / 0.7575 GB, free: 2.043 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.003521/0.8919, allocations: 0.6406 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.0003656/0.8923, allocations: 186.5 kB / 0.7583 GB, free: 1.215 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.8934, allocations: 0.6868 MB / 0.759 GB, free: 0.5156 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8934, allocations: 0 / 0.759 GB, free: 0.5156 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0005461/0.894, allocations: 427.3 kB / 0.7594 GB, free: 92 kB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4914/1.385, allocations: 1.688 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.04802/1.433, 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.009411/1.443, allocations: 8.917 MB / 0.8035 GB, free: 140.4 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.0094/1.452, allocations: 4.701 MB / 0.8081 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001896/1.454, allocations: 0.9838 MB / 0.8091 GB, free: 134.7 MB / 0.5923 GB Notification: Performance of SimCode: time 3.045e-06/1.454, allocations: 0 / 0.8091 GB, free: 134.7 MB / 0.5923 GB Notification: Performance of Templates: time 0.1827/1.637, allocations: 82.69 MB / 0.8898 GB, free: 51.85 MB / 0.5923 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches