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.0009576/0.0009576, allocations: 87.59 kB / 17.31 MB, free: 5.59 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.001076/0.001077, allocations: 176.4 kB / 18.21 MB, free: 5.195 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.306/1.306, allocations: 223.3 MB / 242.3 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.05/1.05, allocations: 120.5 MB / 413.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003486, allocations: 8 kB / 0.4955 GB, free: 11.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.613/0.6134, allocations: 82.84 MB / 0.5764 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.001361/0.6148, allocations: 1.137 MB / 0.5776 GB, free: 40.51 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009081/0.6157, allocations: 0.5737 MB / 0.5781 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.6158, allocations: 4.812 kB / 0.5781 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.617, allocations: 1.72 MB / 0.5798 GB, free: 39.19 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.6184, allocations: 1.753 MB / 0.5815 GB, free: 38.31 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.6187, allocations: 60.19 kB / 0.5816 GB, free: 38.27 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.003768/0.6224, allocations: 4.3 MB / 0.5858 GB, free: 36.19 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.382e-05/0.6225, allocations: 3.094 kB / 0.5858 GB, free: 36.19 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002764/0.6253, allocations: 2.143 MB / 0.5879 GB, free: 34.6 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00272/0.628, allocations: 3.814 MB / 0.5916 GB, free: 30.78 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.000414/0.6284, allocations: 252 kB / 0.5918 GB, free: 30.53 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004972/0.6289, allocations: 319.9 kB / 0.5921 GB, free: 30.22 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.006267/0.6352, allocations: 9.954 MB / 0.6019 GB, free: 20.24 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.004283/0.6395, allocations: 5.661 MB / 0.6074 GB, free: 14.52 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.004991/0.6445, allocations: 9.033 MB / 0.6162 GB, free: 5.457 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.6445, allocations: 0 / 0.6162 GB, free: 5.457 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6445, allocations: 0 / 0.6162 GB, free: 5.457 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0002412/0.6448, allocations: 0 / 0.6162 GB, free: 5.457 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.02152/0.6663, allocations: 17.23 MB / 0.633 GB, free: 4.027 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.6664, allocations: 8.031 kB / 0.633 GB, free: 4.02 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003723/0.6701, allocations: 2.206 MB / 0.6352 GB, free: 1.785 MB / 478.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04724/0.7174, allocations: 25.83 MB / 0.6604 GB, free: 7.762 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.7174, allocations: 4.375 kB / 0.6604 GB, free: 7.758 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.7176, allocations: 64.38 kB / 0.6605 GB, free: 7.695 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009387/0.7185, allocations: 0.7825 MB / 0.6612 GB, free: 6.906 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.7186, allocations: 3.984 kB / 0.6612 GB, free: 6.902 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.7187, allocations: 68 kB / 0.6613 GB, free: 6.836 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.7187, allocations: 0 / 0.6613 GB, free: 6.836 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006133/0.7193, allocations: 459.9 kB / 0.6617 GB, free: 6.387 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.7304, allocations: 7.007 MB / 0.6686 GB, free: 15.33 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005581/0.7309, allocations: 290.6 kB / 0.6689 GB, free: 15.04 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/0.7314, allocations: 284.9 kB / 0.6691 GB, free: 14.75 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.7314, allocations: 0 / 0.6691 GB, free: 14.75 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000847/0.7323, allocations: 0.7034 MB / 0.6698 GB, free: 14.03 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 2.104e-06/0.7323, allocations: 0 / 0.6698 GB, free: 14.03 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.006047/0.7383, allocations: 4.232 MB / 0.674 GB, free: 9.758 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.7384, allocations: 85.11 kB / 0.674 GB, free: 9.656 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03785/0.7763, allocations: 24.83 MB / 0.6983 GB, free: 1.023 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003803/0.7767, allocations: 89.7 kB / 0.6984 GB, free: 0.9297 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.01278/0.7895, allocations: 10.83 MB / 0.709 GB, free: 6.094 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004125/0.7899, allocations: 75.81 kB / 0.709 GB, free: 6.02 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003281/0.7903, allocations: 77.72 kB / 0.7091 GB, free: 5.938 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.7904, allocations: 314 kB / 0.7094 GB, free: 5.625 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.791, allocations: 264 kB / 0.7097 GB, free: 5.367 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000509/0.7916, allocations: 275.9 kB / 0.7099 GB, free: 5.098 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.7926, allocations: 0.5861 MB / 0.7105 GB, free: 4.496 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7926, allocations: 0 / 0.7105 GB, free: 4.496 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.005835/0.7984, allocations: 3.978 MB / 0.7144 GB, free: 488 kB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 5.049e-05/0.7985, allocations: 33.7 kB / 0.7144 GB, free: 448 kB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.7985, allocations: 0 / 0.7144 GB, free: 448 kB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.7985, allocations: 0 / 0.7144 GB, free: 448 kB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.483e-05/0.7986, allocations: 7.984 kB / 0.7144 GB, free: 440 kB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.7986, allocations: 3.938 kB / 0.7144 GB, free: 436 kB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003036/0.8017, allocations: 71.94 kB / 0.7145 GB, free: 364 kB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008991/0.8026, allocations: 0.8594 MB / 0.7153 GB, free: 15.49 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.008241/0.8109, allocations: 4.905 MB / 0.7201 GB, free: 10.57 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003439/0.8143, allocations: 2.267 MB / 0.7223 GB, free: 8.273 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005703/0.82, allocations: 2.565 MB / 0.7248 GB, free: 5.699 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.82, allocations: 3.938 kB / 0.7248 GB, free: 5.695 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.82, allocations: 0 / 0.7248 GB, free: 5.695 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.8201, allocations: 3.984 kB / 0.7248 GB, free: 5.691 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01621/0.8363, allocations: 7.613 MB / 0.7323 GB, free: 14.03 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.8363, allocations: 4 kB / 0.7323 GB, free: 14.02 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.8363, allocations: 7.938 kB / 0.7323 GB, free: 14.02 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.8364, allocations: 0 / 0.7323 GB, free: 14.02 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003613/0.8367, allocations: 192 kB / 0.7325 GB, free: 13.83 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.8367, allocations: 3.984 kB / 0.7325 GB, free: 13.82 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8368, allocations: 0 / 0.7325 GB, free: 13.82 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006272/0.843, allocations: 4.162 MB / 0.7365 GB, free: 9.609 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004255/0.8473, allocations: 1.98 MB / 0.7385 GB, free: 7.582 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001864/0.8492, allocations: 71.94 kB / 0.7385 GB, free: 7.512 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002045/0.8512, allocations: 72 kB / 0.7386 GB, free: 7.441 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.8513, allocations: 4 kB / 0.7386 GB, free: 7.438 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007707/0.8521, allocations: 0.8594 MB / 0.7395 GB, free: 6.578 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03127/0.8834, allocations: 17.24 MB / 0.7563 GB, free: 5.492 MB / 0.592 GB Notification: Performance of sort global known variables: time 6.41e-07/0.8834, allocations: 0 / 0.7563 GB, free: 5.492 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.003282/0.8867, allocations: 0.6406 MB / 0.7569 GB, free: 4.852 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.0005047/0.8872, allocations: 189.8 kB / 0.7571 GB, free: 4.66 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.8886, allocations: 0.6832 MB / 0.7578 GB, free: 3.965 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.8887, allocations: 4 kB / 0.7578 GB, free: 3.961 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0006662/0.8893, allocations: 431.3 kB / 0.7582 GB, free: 3.531 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008448/0.8978, allocations: 1.693 MB / 0.7598 GB, free: 1.836 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6024/1.5, allocations: 39.9 MB / 0.7988 GB, free: 132.7 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01095/1.511, allocations: 8.917 MB / 0.8075 GB, free: 123.8 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/1.513, allocations: 0.9838 MB / 0.8085 GB, free: 122.8 MB / 0.5923 GB Notification: Performance of SimCode: time 1.202e-06/1.513, allocations: 0 / 0.8085 GB, free: 122.8 MB / 0.5923 GB Notification: Performance of Templates: time 4.982/6.495, allocations: 1.614 GB / 2.423 GB, free: 207.3 MB / 0.7329 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 -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","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches