Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001522, allocations: 115.7 kB / 17.29 MB, free: 6.207 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.001802/0.001802, allocations: 197.3 kB / 18.21 MB, free: 5.281 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.337/1.337, allocations: 222.9 MB / 241.9 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.081/1.081, allocations: 119.3 MB / 411.3 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 0.4911 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6163/0.6177, allocations: 80.68 MB / 0.5699 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.00247/0.6202, allocations: 1.475 MB / 0.5713 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008255/0.6211, allocations: 0.5673 MB / 0.5719 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.996e-05/0.6212, allocations: 0 / 0.5719 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.6234, allocations: 3.427 MB / 0.5752 GB, free: 40.18 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002658/0.6261, allocations: 3.467 MB / 0.5786 GB, free: 38.43 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.6265, allocations: 70.19 kB / 0.5787 GB, free: 38.39 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.006808/0.6333, allocations: 8.554 MB / 0.587 GB, free: 32.28 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.825e-05/0.6334, allocations: 3.984 kB / 0.587 GB, free: 32.28 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00676/0.6401, allocations: 4.247 MB / 0.5912 GB, free: 28.02 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0078/0.648, allocations: 8.088 MB / 0.5991 GB, free: 19.92 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001931/0.6499, allocations: 0.4922 MB / 0.5995 GB, free: 19.43 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.6512, allocations: 0.5624 MB / 0.6001 GB, free: 18.87 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01443/0.6656, allocations: 19.9 MB / 0.6195 GB, free: 14.91 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01896/0.6846, allocations: 11.24 MB / 0.6305 GB, free: 3.555 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02301/0.7076, allocations: 18.62 MB / 0.6487 GB, free: 0.8789 MB / 494.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.7077, allocations: 0 / 0.6487 GB, free: 0.8789 MB / 494.3 MB Notification: Performance of FrontEnd: time 2.956e-06/0.7077, allocations: 0 / 0.6487 GB, free: 0.8789 MB / 494.3 MB Notification: Performance of Transformations before backend: time 0.00113/0.7088, allocations: 0 / 0.6487 GB, free: 0.8789 MB / 494.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.05627/0.7651, allocations: 38.75 MB / 0.6865 GB, free: 9.723 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.7652, allocations: 8.031 kB / 0.6865 GB, free: 9.715 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007388/0.7726, allocations: 4.403 MB / 0.6908 GB, free: 5.254 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1274/0.9, allocations: 51.58 MB / 0.7412 GB, free: 1.328 MB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.9001, allocations: 4.312 kB / 0.7412 GB, free: 1.324 MB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008774/0.901, allocations: 132.4 kB / 0.7413 GB, free: 1.195 MB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/0.9037, allocations: 1.52 MB / 0.7428 GB, free: 15.67 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.9037, allocations: 0 / 0.7428 GB, free: 15.67 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000237/0.9039, allocations: 124 kB / 0.7429 GB, free: 15.55 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.904, allocations: 4 kB / 0.743 GB, free: 15.54 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.9051, allocations: 0.8711 MB / 0.7438 GB, free: 14.67 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02699/0.9321, allocations: 13.85 MB / 0.7573 GB, free: 0.7656 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.9339, allocations: 0.526 MB / 0.7578 GB, free: 236 kB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5633/1.497, allocations: 0.5166 MB / 0.7583 GB, free: 139.4 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/1.497, allocations: 0.5625 kB / 0.7583 GB, free: 139.4 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002603/1.5, allocations: 1.321 MB / 0.7596 GB, free: 139.3 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 2.245e-06/1.5, allocations: 0 / 0.7596 GB, free: 139.3 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.0137/1.514, allocations: 8.319 MB / 0.7678 GB, free: 139.2 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/1.514, allocations: 80.73 kB / 0.7678 GB, free: 139.1 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08042/1.594, allocations: 49.58 MB / 0.8163 GB, free: 111.8 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.00076/1.595, allocations: 156.4 kB / 0.8164 GB, free: 111.6 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.01914/1.614, allocations: 22.55 MB / 0.8384 GB, free: 89.08 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.000978/1.615, allocations: 144.3 kB / 0.8386 GB, free: 88.95 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007745/1.616, allocations: 0.8806 MB / 0.8394 GB, free: 88.06 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 5.064e-05/1.616, allocations: 310 kB / 0.8397 GB, free: 87.75 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007158/1.617, allocations: 0.5075 MB / 0.8402 GB, free: 87.25 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/1.617, allocations: 0.5039 MB / 0.8407 GB, free: 86.75 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/1.619, allocations: 1.076 MB / 0.8418 GB, free: 85.66 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.619, allocations: 0 / 0.8418 GB, free: 85.66 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.008651/1.627, allocations: 7.824 MB / 0.8494 GB, free: 80.26 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/1.627, allocations: 41.53 kB / 0.8494 GB, free: 80.22 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/1.627, allocations: 0.875 kB / 0.8494 GB, free: 80.22 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/1.627, allocations: 0 / 0.8494 GB, free: 80.22 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/1.627, allocations: 4 kB / 0.8494 GB, free: 80.21 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/1.628, allocations: 2.25 kB / 0.8494 GB, free: 80.21 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006026/1.634, allocations: 134.4 kB / 0.8496 GB, free: 80.09 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/1.635, allocations: 1.715 MB / 0.8512 GB, free: 78.38 MB / 0.5923 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.01205/1.647, allocations: 9.673 MB / 0.8607 GB, free: 68.68 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005487/1.652, allocations: 4.523 MB / 0.8651 GB, free: 64.1 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008126/1.66, allocations: 5.115 MB / 0.8701 GB, free: 58.97 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/1.66, allocations: 3.062 kB / 0.8701 GB, free: 58.97 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.66, allocations: 0 / 0.8701 GB, free: 58.97 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.661, allocations: 5.391 kB / 0.8701 GB, free: 58.96 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02477/1.685, allocations: 15.08 MB / 0.8848 GB, free: 43.82 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.685, allocations: 0 / 0.8848 GB, free: 43.82 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.034e-05/1.685, allocations: 4 kB / 0.8848 GB, free: 43.82 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/1.685, allocations: 0 / 0.8848 GB, free: 43.82 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001096/1.686, allocations: 380 kB / 0.8852 GB, free: 43.45 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/1.687, allocations: 3 kB / 0.8852 GB, free: 43.45 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.687, allocations: 0 / 0.8852 GB, free: 43.45 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008868/1.695, allocations: 8.154 MB / 0.8932 GB, free: 35.21 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007525/1.703, allocations: 3.876 MB / 0.897 GB, free: 31.26 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004128/1.707, allocations: 128 kB / 0.8971 GB, free: 31.13 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005175/1.712, allocations: 135 kB / 0.8972 GB, free: 31 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/1.712, allocations: 0 / 0.8972 GB, free: 31 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001299/1.714, allocations: 1.715 MB / 0.8989 GB, free: 29.29 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.06055/1.774, allocations: 34.49 MB / 0.9326 GB, free: 11.11 MB / 0.6079 GB Notification: Performance of sort global known variables: time 5.11e-07/1.774, allocations: 0 / 0.9326 GB, free: 11.11 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.007361/1.782, allocations: 1.258 MB / 0.9338 GB, free: 9.852 MB / 0.6079 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.001178/1.783, allocations: 253.6 kB / 0.934 GB, free: 9.605 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.004295/1.787, allocations: 1.239 MB / 0.9352 GB, free: 8.359 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.787, allocations: 0 / 0.9352 GB, free: 8.359 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/1.789, allocations: 0.7182 MB / 0.9359 GB, free: 7.629 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01736/1.806, allocations: 3.388 MB / 0.9392 GB, free: 4.242 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1415/1.948, allocations: 81.1 MB / 1.018 GB, free: 3.578 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3182/2.266, allocations: 17.33 MB / 1.035 GB, free: 209.9 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004486/2.271, allocations: 1.962 MB / 1.037 GB, free: 209.9 MB / 0.686 GB Notification: Performance of SimCode: time 1.413e-06/2.271, allocations: 0 / 1.037 GB, free: 209.9 MB / 0.686 GB Notification: Performance of Templates: time 19.4/21.67, allocations: 6.093 GB / 7.131 GB, free: 173.4 MB / 0.7954 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches