Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009982/0.0009983, allocations: 92.41 kB / 16.65 MB, free: 6.535 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.0009847/0.0009847, allocations: 177.2 kB / 17.56 MB, free: 6.18 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.393/1.393, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.046/1.046, allocations: 120.5 MB / 413.2 MB, free: 9.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003189, allocations: 8 kB / 0.4949 GB, free: 11.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6246/0.625, allocations: 82.83 MB / 0.5758 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.001535/0.6266, allocations: 1.129 MB / 0.5769 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009941/0.6276, allocations: 0.5845 MB / 0.5775 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.6276, allocations: 0 / 0.5775 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0007653/0.6284, allocations: 0.8618 MB / 0.5783 GB, free: 39.61 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0008322/0.6292, allocations: 0.9015 MB / 0.5792 GB, free: 39.14 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.6295, allocations: 63.86 kB / 0.5793 GB, free: 39.1 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.002004/0.6315, allocations: 2.172 MB / 0.5814 GB, free: 38.05 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.436e-05/0.6316, allocations: 3.812 kB / 0.5814 GB, free: 38.05 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.633, allocations: 1.086 MB / 0.5824 GB, free: 37.52 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0022/0.6352, allocations: 1.925 MB / 0.5843 GB, free: 36.73 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0003133/0.6356, allocations: 127 kB / 0.5844 GB, free: 36.73 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.636, allocations: 202.5 kB / 0.5846 GB, free: 36.69 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.003525/0.6395, allocations: 4.981 MB / 0.5895 GB, free: 32.24 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002075/0.6416, allocations: 2.849 MB / 0.5923 GB, free: 29.36 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003646/0.6453, allocations: 5.979 MB / 0.5981 GB, free: 23.34 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.6453, allocations: 0 / 0.5981 GB, free: 23.34 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6453, allocations: 4 kB / 0.5981 GB, free: 23.34 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001285/0.6454, allocations: 0 / 0.5981 GB, free: 23.34 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.00861/0.654, allocations: 8.794 MB / 0.6067 GB, free: 14.42 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.6541, allocations: 12.03 kB / 0.6067 GB, free: 14.41 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/0.6555, allocations: 1.107 MB / 0.6078 GB, free: 13.29 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01837/0.6739, allocations: 12.94 MB / 0.6204 GB, free: 228 kB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.6739, allocations: 4.375 kB / 0.6204 GB, free: 224 kB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/0.674, allocations: 32.38 kB / 0.6205 GB, free: 192 kB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.6745, allocations: 429.6 kB / 0.6209 GB, free: 15.76 MB / 478.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6746, allocations: 3.984 kB / 0.6209 GB, free: 15.75 MB / 478.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.779e-05/0.6746, allocations: 32 kB / 0.6209 GB, free: 15.72 MB / 478.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.6746, allocations: 0 / 0.6209 GB, free: 15.72 MB / 478.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.675, allocations: 247.9 kB / 0.6212 GB, free: 15.48 MB / 478.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005685/0.6807, allocations: 3.572 MB / 0.6246 GB, free: 11.87 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.6811, allocations: 162.6 kB / 0.6248 GB, free: 11.7 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.6813, allocations: 160.9 kB / 0.625 GB, free: 11.54 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-06/0.6813, allocations: 3.938 kB / 0.625 GB, free: 11.54 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005571/0.6819, allocations: 412.8 kB / 0.6254 GB, free: 11.11 MB / 478.3 MB Notification: Performance of pre-optimization done (n=8): time 2.565e-06/0.6819, allocations: 4 kB / 0.6254 GB, free: 11.11 MB / 478.3 MB Notification: Performance of matching and sorting (n=8): time 0.003289/0.6852, allocations: 2.184 MB / 0.6275 GB, free: 8.898 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.6853, allocations: 81.09 kB / 0.6276 GB, free: 8.801 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01919/0.7045, allocations: 12.46 MB / 0.6397 GB, free: 12.43 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001946/0.7047, allocations: 57.7 kB / 0.6398 GB, free: 12.37 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.005369/0.7101, allocations: 5.204 MB / 0.6449 GB, free: 7.16 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.7104, allocations: 59.64 kB / 0.6449 GB, free: 7.102 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.7105, allocations: 41.72 kB / 0.645 GB, free: 7.055 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.7106, allocations: 314 kB / 0.6453 GB, free: 6.742 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.7109, allocations: 147.9 kB / 0.6454 GB, free: 6.598 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.7111, allocations: 143.9 kB / 0.6456 GB, free: 6.457 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005495/0.7117, allocations: 348.2 kB / 0.6459 GB, free: 6.102 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.7117, allocations: 4 kB / 0.6459 GB, free: 6.098 MB / 494.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003035/0.7147, allocations: 2.055 MB / 0.6479 GB, free: 4.016 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.7148, allocations: 33.69 kB / 0.6479 GB, free: 3.977 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.7148, allocations: 0 / 0.6479 GB, free: 3.977 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.7148, allocations: 4 kB / 0.6479 GB, free: 3.973 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.532e-05/0.7149, allocations: 4 kB / 0.6479 GB, free: 3.969 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.7149, allocations: 4 kB / 0.6479 GB, free: 3.965 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.7161, allocations: 35.98 kB / 0.648 GB, free: 3.93 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003671/0.7165, allocations: 444 kB / 0.6484 GB, free: 3.496 MB / 494.3 MB 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.003581/0.7201, allocations: 2.522 MB / 0.6509 GB, free: 0.957 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001444/0.7215, allocations: 1.141 MB / 0.652 GB, free: 15.8 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.7237, allocations: 1.284 MB / 0.6532 GB, free: 14.51 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.7237, allocations: 0 / 0.6532 GB, free: 14.51 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.7238, allocations: 0 / 0.6532 GB, free: 14.51 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7238, allocations: 0 / 0.6532 GB, free: 14.51 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00509/0.7289, allocations: 3.892 MB / 0.657 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.7289, allocations: 3.938 kB / 0.657 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.965e-05/0.729, allocations: 11.92 kB / 0.657 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.729, allocations: 0 / 0.657 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002116/0.7292, allocations: 100 kB / 0.6571 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.7292, allocations: 0 / 0.6571 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7292, allocations: 3.938 kB / 0.6571 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002688/0.7319, allocations: 2.158 MB / 0.6593 GB, free: 8.258 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/0.7333, allocations: 1.045 MB / 0.6603 GB, free: 7.18 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004644/0.7338, allocations: 32.09 kB / 0.6603 GB, free: 7.148 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006279/0.7344, allocations: 39.94 kB / 0.6603 GB, free: 7.109 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.7345, allocations: 3.984 kB / 0.6603 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003617/0.7348, allocations: 444 kB / 0.6608 GB, free: 6.672 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01287/0.7477, allocations: 8.567 MB / 0.6691 GB, free: 14.18 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6.81e-07/0.7478, allocations: 0 / 0.6691 GB, free: 14.18 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.001707/0.7495, allocations: 348 kB / 0.6695 GB, free: 13.84 MB / 0.5139 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.0003507/0.7498, allocations: 158.3 kB / 0.6696 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0007527/0.7506, allocations: 431.5 kB / 0.67 GB, free: 13.25 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.7506, allocations: 4 kB / 0.67 GB, free: 13.25 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003794/0.751, allocations: 259.5 kB / 0.6703 GB, free: 12.98 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/0.7539, allocations: 0.8576 MB / 0.6711 GB, free: 12.12 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03055/0.7844, allocations: 19.21 MB / 0.6899 GB, free: 8.879 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008139/0.7926, allocations: 4.793 MB / 0.6946 GB, free: 4.059 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.006978/0.7996, allocations: 2.328 MB / 0.6968 GB, free: 1.719 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008713/0.8005, allocations: 0.4995 MB / 0.6973 GB, free: 1.219 MB / 0.5295 GB Notification: Performance of SimCode: time 1.222e-06/0.8006, allocations: 0 / 0.6973 GB, free: 1.219 MB / 0.5295 GB Notification: Performance of Templates: time 0.1077/0.9082, allocations: 40.37 MB / 0.7367 GB, free: 8.727 MB / 0.5764 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches