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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 179.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 221.3 MB / 235.5 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008646/0.0008647, allocations: 90 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8597/0.8597, allocations: 120.5 MB / 457.9 MB, free: 7.055 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.406e-05/3.41e-05, allocations: 0 / 0.5357 GB, free: 12.21 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4853, allocations: 82.84 MB / 0.6166 GB, free: 9.34 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.6283, allocations: 126.7 MB / 0.7403 GB, free: 10.55 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001319/0.6285, allocations: 55.91 kB / 0.7404 GB, free: 10.5 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.293/1.921, allocations: 193.5 MB / 0.9293 GB, free: 6.562 MB / 0.589 GB Notification: Performance of FrontEnd: time 1.413e-06/1.921, allocations: 4 kB / 0.9293 GB, free: 6.559 MB / 0.589 GB Notification: Performance of Transformations before backend: time 0.0005883/1.922, allocations: 248 kB / 0.9295 GB, free: 6.316 MB / 0.589 GB 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.0155/1.938, allocations: 12.6 MB / 0.9418 GB, free: 9.598 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.938, allocations: 12.03 kB / 0.9419 GB, free: 9.586 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/1.94, allocations: 2.264 MB / 0.9441 GB, free: 7.293 MB / 0.6046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05073/1.991, allocations: 22.35 MB / 0.9659 GB, free: 0.7773 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/1.991, allocations: 0 / 0.9659 GB, free: 0.7773 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/1.991, allocations: 64 kB / 0.9659 GB, free: 0.7148 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/1.993, allocations: 0.7861 MB / 0.9667 GB, free: 15.92 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/1.993, allocations: 0 / 0.9667 GB, free: 15.92 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/1.993, allocations: 64 kB / 0.9668 GB, free: 15.86 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/1.993, allocations: 0 / 0.9668 GB, free: 15.86 MB / 0.6359 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005909/1.993, allocations: 459.9 kB / 0.9672 GB, free: 15.41 MB / 0.6359 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01416/2.008, allocations: 6.996 MB / 0.974 GB, free: 8.363 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006017/2.008, allocations: 294.5 kB / 0.9743 GB, free: 8.066 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004524/2.009, allocations: 276.9 kB / 0.9746 GB, free: 7.793 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/2.009, allocations: 8 kB / 0.9746 GB, free: 7.785 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007364/2.009, allocations: 0.6996 MB / 0.9753 GB, free: 7.066 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=8): time 5.15e-06/2.009, allocations: 0 / 0.9753 GB, free: 7.066 MB / 0.6359 GB Notification: Performance of matching and sorting (n=8): time 0.004944/2.014, allocations: 3.728 MB / 0.9789 GB, free: 3.301 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/2.014, allocations: 85.05 kB / 0.979 GB, free: 3.199 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3313/2.346, allocations: 21.08 MB / 0.9996 GB, free: 175.8 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.000265/2.346, allocations: 91.17 kB / 0.9997 GB, free: 175.8 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.01031/2.356, allocations: 11.01 MB / 1.01 GB, free: 169.5 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/2.357, allocations: 80.25 kB / 1.011 GB, free: 169.5 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/2.357, allocations: 65.41 kB / 1.011 GB, free: 169.5 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 4.312e-05/2.357, allocations: 316.5 kB / 1.011 GB, free: 169.2 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/2.357, allocations: 264.4 kB / 1.011 GB, free: 169.2 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/2.358, allocations: 265.2 kB / 1.011 GB, free: 169.2 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/2.358, allocations: 294 kB / 1.012 GB, free: 169.2 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/2.358, allocations: 0 / 1.012 GB, free: 169.2 MB / 0.6515 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.005736/2.364, allocations: 3.727 MB / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/2.364, allocations: 39.05 kB / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/2.364, allocations: 0 / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/2.364, allocations: 3.469 kB / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/2.364, allocations: 3.562 kB / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/2.364, allocations: 3.953 kB / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/2.365, allocations: 69.62 kB / 1.015 GB, free: 169 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005303/2.366, allocations: 0.8563 MB / 1.016 GB, free: 168.9 MB / 0.6515 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002816/2.366, allocations: 271.5 kB / 1.017 GB, free: 168.8 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001405/2.368, allocations: 2.269 MB / 1.019 GB, free: 167.5 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003587/2.371, allocations: 2.561 MB / 1.021 GB, free: 166.8 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/2.371, allocations: 0 / 1.021 GB, free: 166.8 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/2.371, allocations: 0 / 1.021 GB, free: 166.8 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/2.371, allocations: 3.953 kB / 1.021 GB, free: 166.8 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006941/2.378, allocations: 7.622 MB / 1.029 GB, free: 164.2 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/2.378, allocations: 4.672 kB / 1.029 GB, free: 164.2 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/2.378, allocations: 7.031 kB / 1.029 GB, free: 164.2 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/2.378, allocations: 0.6562 kB / 1.029 GB, free: 164.2 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002292/2.379, allocations: 191.3 kB / 1.029 GB, free: 164.2 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/2.379, allocations: 0 / 1.029 GB, free: 164.2 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/2.379, allocations: 3.875 kB / 1.029 GB, free: 164.2 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00318/2.382, allocations: 3.912 MB / 1.033 GB, free: 162.7 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002214/2.384, allocations: 1.976 MB / 1.035 GB, free: 161.4 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008474/2.385, allocations: 74.94 kB / 1.035 GB, free: 161.4 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/2.386, allocations: 64.67 kB / 1.035 GB, free: 161.4 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/2.386, allocations: 4.469 kB / 1.035 GB, free: 161.4 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004965/2.387, allocations: 0.8576 MB / 1.036 GB, free: 161.2 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.02043/2.407, allocations: 16.93 MB / 1.052 GB, free: 156.9 MB / 0.6515 GB Notification: Performance of sort global known variables: time 8.61e-07/2.407, allocations: 3.281 kB / 1.052 GB, free: 156.9 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.00163/2.409, allocations: 0.649 MB / 1.053 GB, free: 156.9 MB / 0.6515 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002655/2.409, allocations: 191.7 kB / 1.053 GB, free: 156.8 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.0008661/2.41, allocations: 0.6779 MB / 1.054 GB, free: 156.7 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/2.41, allocations: 0 / 1.054 GB, free: 156.7 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.0004652/2.41, allocations: 430.8 kB / 1.054 GB, free: 156.6 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/2.413, allocations: 1.63 MB / 1.056 GB, free: 155.5 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03162/2.445, allocations: 28.22 MB / 1.083 GB, free: 140.2 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008809/2.453, allocations: 9.28 MB / 1.092 GB, free: 134.2 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.01066/2.464, allocations: 4.692 MB / 1.097 GB, free: 130.6 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/2.465, allocations: 0.9877 MB / 1.098 GB, free: 129.6 MB / 0.6515 GB Notification: Performance of SimCode: time 1.062e-06/2.465, allocations: 0 / 1.098 GB, free: 129.6 MB / 0.6515 GB Notification: Performance of Templates: time 0.1708/2.636, allocations: 81.95 MB / 1.178 GB, free: 48.39 MB / 0.6515 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 -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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches