Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001625/0.001625, allocations: 106.9 kB / 16.92 MB, free: 6.199 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.001516/0.001516, allocations: 191.4 kB / 17.85 MB, free: 5.301 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.489/1.489, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.36/1.36, allocations: 119.3 MB / 411 MB, free: 9.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.89 kB / 0.491 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.685/0.6864, allocations: 80.68 MB / 0.5697 GB, free: 43.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.003697/0.6901, allocations: 1.418 MB / 0.5711 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.6914, allocations: 0.5654 MB / 0.5717 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.438e-05/0.6915, allocations: 1.219 kB / 0.5717 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.003108/0.6946, allocations: 3.431 MB / 0.575 GB, free: 40.08 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.00286/0.6975, allocations: 3.467 MB / 0.5784 GB, free: 38.33 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.6979, allocations: 80.81 kB / 0.5785 GB, free: 38.28 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.009768/0.7077, allocations: 8.551 MB / 0.5868 GB, free: 32.12 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.824e-05/0.7078, allocations: 8 kB / 0.5869 GB, free: 32.12 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008715/0.7166, allocations: 4.25 MB / 0.591 GB, free: 27.86 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01128/0.7279, allocations: 8.081 MB / 0.5989 GB, free: 19.77 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001424/0.7293, allocations: 500 kB / 0.5994 GB, free: 19.28 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009862/0.7303, allocations: 0.5702 MB / 0.5999 GB, free: 18.71 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01817/0.7485, allocations: 19.91 MB / 0.6194 GB, free: 14.74 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.02329/0.7718, allocations: 11.26 MB / 0.6304 GB, free: 3.375 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.03561/0.8075, allocations: 24.25 MB / 0.654 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.8076, allocations: 0 / 0.654 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.296e-06/0.8076, allocations: 0 / 0.654 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001433/0.809, allocations: 4 kB / 0.654 GB, free: 10.99 MB / 0.4983 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.07227/0.8813, allocations: 38.75 MB / 0.6919 GB, free: 3.832 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.8814, allocations: 8.031 kB / 0.6919 GB, free: 3.824 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.8918, allocations: 4.4 MB / 0.6962 GB, free: 15.36 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1491/1.041, allocations: 51.57 MB / 0.7466 GB, free: 11.44 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/1.041, allocations: 384 / 0.7466 GB, free: 11.44 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003403/1.041, allocations: 128.4 kB / 0.7467 GB, free: 11.32 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/1.043, allocations: 1.52 MB / 0.7482 GB, free: 9.789 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.043, allocations: 0 / 0.7482 GB, free: 9.789 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002405/1.043, allocations: 124 kB / 0.7483 GB, free: 9.668 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/1.043, allocations: 7.938 kB / 0.7483 GB, free: 9.66 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/1.045, allocations: 0.875 MB / 0.7491 GB, free: 8.785 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8222/1.867, allocations: 13.84 MB / 0.7627 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002663/1.87, allocations: 0.5261 MB / 0.7632 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/1.871, allocations: 0.5139 MB / 0.7637 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/1.871, allocations: 2.453 kB / 0.7637 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002113/1.873, allocations: 1.324 MB / 0.765 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 6.542e-06/1.873, allocations: 0 / 0.765 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.02173/1.895, allocations: 8.319 MB / 0.7731 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/1.895, allocations: 86.41 kB / 0.7732 GB, free: 135.5 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1081/2.003, allocations: 49.58 MB / 0.8216 GB, free: 104.4 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0009263/2.004, allocations: 149.7 kB / 0.8217 GB, free: 104.3 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02546/2.03, allocations: 22.55 MB / 0.8438 GB, free: 81.69 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001391/2.031, allocations: 144.4 kB / 0.8439 GB, free: 81.56 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008717/2.032, allocations: 0.8762 MB / 0.8448 GB, free: 80.68 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 9.349e-05/2.032, allocations: 318 kB / 0.8451 GB, free: 80.37 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007357/2.033, allocations: 0.5 MB / 0.8455 GB, free: 79.87 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006895/2.033, allocations: 0.5078 MB / 0.846 GB, free: 79.36 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/2.035, allocations: 1.076 MB / 0.8471 GB, free: 78.27 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/2.035, allocations: 0 / 0.8471 GB, free: 78.27 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0118/2.047, allocations: 7.822 MB / 0.8547 GB, free: 72.88 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 6.095e-05/2.047, allocations: 29.7 kB / 0.8548 GB, free: 72.85 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/2.047, allocations: 6.984 kB / 0.8548 GB, free: 72.84 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/2.047, allocations: 4 kB / 0.8548 GB, free: 72.84 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.933e-05/2.047, allocations: 4 kB / 0.8548 GB, free: 72.84 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/2.047, allocations: 0 / 0.8548 GB, free: 72.84 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/2.057, allocations: 134.8 kB / 0.8549 GB, free: 72.71 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002066/2.059, allocations: 1.714 MB / 0.8566 GB, free: 71 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.01734/2.077, allocations: 9.67 MB / 0.866 GB, free: 61.3 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008393/2.085, allocations: 4.52 MB / 0.8704 GB, free: 56.73 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/2.098, allocations: 5.115 MB / 0.8754 GB, free: 51.59 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/2.098, allocations: 0 / 0.8754 GB, free: 51.59 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/2.098, allocations: 0 / 0.8754 GB, free: 51.59 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/2.098, allocations: 7.938 kB / 0.8754 GB, free: 51.59 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04457/2.143, allocations: 15.07 MB / 0.8902 GB, free: 36.44 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/2.143, allocations: 0 / 0.8902 GB, free: 36.44 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.046e-05/2.143, allocations: 7.75 kB / 0.8902 GB, free: 36.44 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/2.143, allocations: 0 / 0.8902 GB, free: 36.44 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001262/2.144, allocations: 383.9 kB / 0.8905 GB, free: 36.06 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/2.144, allocations: 0 / 0.8905 GB, free: 36.06 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/2.144, allocations: 5.031 kB / 0.8905 GB, free: 36.06 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/2.154, allocations: 8.157 MB / 0.8985 GB, free: 27.82 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009263/2.164, allocations: 3.88 MB / 0.9023 GB, free: 23.88 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007456/2.171, allocations: 132 kB / 0.9024 GB, free: 23.75 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007039/2.178, allocations: 124 kB / 0.9025 GB, free: 23.62 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/2.178, allocations: 7.938 kB / 0.9025 GB, free: 23.62 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00198/2.18, allocations: 1.719 MB / 0.9042 GB, free: 21.9 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.0697/2.25, allocations: 34.48 MB / 0.9379 GB, free: 3.719 MB / 0.6079 GB Notification: Performance of sort global known variables: time 3.51e-07/2.25, allocations: 3 kB / 0.9379 GB, free: 3.719 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.006606/2.257, allocations: 1.255 MB / 0.9391 GB, free: 2.469 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.0005401/2.257, allocations: 251.7 kB / 0.9394 GB, free: 2.219 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.002013/2.259, allocations: 1.241 MB / 0.9406 GB, free: 0.9688 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/2.259, allocations: 0 / 0.9406 GB, free: 0.9688 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/2.26, allocations: 0.7143 MB / 0.9413 GB, free: 248 kB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01469/2.275, allocations: 3.387 MB / 0.9446 GB, free: 12.86 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1369/2.412, allocations: 71.55 MB / 1.014 GB, free: 5.746 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.419/2.831, allocations: 17.32 MB / 1.031 GB, free: 206.6 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.03368/2.865, allocations: 9.439 MB / 1.041 GB, free: 202.4 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006059/2.871, allocations: 1.964 MB / 1.043 GB, free: 202.4 MB / 0.686 GB Notification: Performance of SimCode: time 1.122e-06/2.871, allocations: 2.25 kB / 1.043 GB, free: 202.4 MB / 0.686 GB Notification: Performance of Templates: time 0.4448/3.316, allocations: 167.2 MB / 1.206 GB, free: 61.91 MB / 0.686 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches