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.001001/0.001001, allocations: 92.73 kB / 16.65 MB, free: 6.586 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.001272/0.001272, allocations: 189.2 kB / 17.57 MB, free: 6.199 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.451/1.451, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.071/1.071, allocations: 120.5 MB / 413.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003537, allocations: 11.98 kB / 0.4949 GB, free: 11.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5767/0.5771, allocations: 82.83 MB / 0.5758 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.001552/0.5787, allocations: 1.136 MB / 0.5769 GB, free: 40.44 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.5797, allocations: 0.5788 MB / 0.5775 GB, free: 40 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.333e-05/0.5798, allocations: 1.156 kB / 0.5775 GB, free: 40 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002933/0.5828, allocations: 3.427 MB / 0.5808 GB, free: 38.27 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.5858, allocations: 3.467 MB / 0.5842 GB, free: 36.52 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.5862, allocations: 62.3 kB / 0.5843 GB, free: 36.48 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.006253/0.5924, allocations: 8.543 MB / 0.5926 GB, free: 29.05 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.722e-05/0.5925, allocations: 4 kB / 0.5926 GB, free: 29.05 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005313/0.5978, allocations: 4.243 MB / 0.5968 GB, free: 24.8 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007262/0.6051, allocations: 7.596 MB / 0.6042 GB, free: 17.19 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.00126/0.6064, allocations: 0.4961 MB / 0.6047 GB, free: 16.69 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008885/0.6073, allocations: 0.5546 MB / 0.6052 GB, free: 16.14 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.015/0.6223, allocations: 19.9 MB / 0.6246 GB, free: 12.18 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01831/0.6407, allocations: 11.27 MB / 0.6356 GB, free: 0.7891 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02479/0.6655, allocations: 23.64 MB / 0.6587 GB, free: 9.004 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.6655, allocations: 4 kB / 0.6587 GB, free: 9 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.896e-06/0.6655, allocations: 7.875 kB / 0.6587 GB, free: 8.992 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.0009696/0.6665, allocations: 0 / 0.6587 GB, free: 8.992 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.04788/0.7144, allocations: 34.11 MB / 0.692 GB, free: 6.539 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.7145, allocations: 8.031 kB / 0.6921 GB, free: 6.531 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007833/0.7223, allocations: 4.403 MB / 0.6964 GB, free: 2.07 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1176/0.84, allocations: 51.57 MB / 0.7467 GB, free: 14.15 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.8401, allocations: 384 / 0.7467 GB, free: 14.15 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007853/0.8409, allocations: 128.4 kB / 0.7468 GB, free: 14.02 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003022/0.8439, allocations: 1.52 MB / 0.7483 GB, free: 12.5 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.8439, allocations: 0 / 0.7483 GB, free: 12.5 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003575/0.8443, allocations: 124 kB / 0.7484 GB, free: 12.38 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.8443, allocations: 0 / 0.7484 GB, free: 12.38 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.8456, allocations: 0.8788 MB / 0.7493 GB, free: 11.5 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6763/1.522, allocations: 13.85 MB / 0.7628 GB, free: 129 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/1.524, allocations: 0.5212 MB / 0.7633 GB, free: 129 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/1.525, allocations: 0.5216 MB / 0.7638 GB, free: 129 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/1.525, allocations: 3.062 kB / 0.7638 GB, free: 129 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002094/1.527, allocations: 1.317 MB / 0.7651 GB, free: 128.9 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 2.645e-06/1.527, allocations: 1.438 kB / 0.7651 GB, free: 128.9 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.01482/1.542, allocations: 8.319 MB / 0.7733 GB, free: 128.8 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/1.542, allocations: 83.11 kB / 0.7733 GB, free: 128.7 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08863/1.631, allocations: 49.58 MB / 0.8218 GB, free: 94.8 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.000804/1.632, allocations: 152.7 kB / 0.8219 GB, free: 94.64 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02087/1.652, allocations: 22.55 MB / 0.8439 GB, free: 72.08 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001073/1.654, allocations: 142.8 kB / 0.8441 GB, free: 71.96 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/1.654, allocations: 145.7 kB / 0.8442 GB, free: 71.81 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 6.39e-05/1.654, allocations: 306 kB / 0.8445 GB, free: 71.5 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007297/1.655, allocations: 0.5078 MB / 0.845 GB, free: 71 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006829/1.655, allocations: 0.5067 MB / 0.8455 GB, free: 70.5 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/1.657, allocations: 1.084 MB / 0.8465 GB, free: 69.4 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.657, allocations: 0 / 0.8465 GB, free: 69.4 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.009981/1.667, allocations: 7.815 MB / 0.8542 GB, free: 64.02 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 5.354e-05/1.667, allocations: 37.69 kB / 0.8542 GB, free: 63.97 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/1.667, allocations: 0 / 0.8542 GB, free: 63.97 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/1.667, allocations: 0 / 0.8542 GB, free: 63.97 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.389e-05/1.667, allocations: 4 kB / 0.8542 GB, free: 63.97 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/1.667, allocations: 6.938 kB / 0.8542 GB, free: 63.96 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007236/1.674, allocations: 134.7 kB / 0.8543 GB, free: 63.84 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001879/1.676, allocations: 1.715 MB / 0.856 GB, free: 62.12 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.01622/1.692, allocations: 9.667 MB / 0.8655 GB, free: 52.43 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009086/1.701, allocations: 4.523 MB / 0.8699 GB, free: 47.85 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/1.714, allocations: 5.115 MB / 0.8749 GB, free: 42.71 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/1.714, allocations: 3 kB / 0.8749 GB, free: 42.71 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.714, allocations: 0 / 0.8749 GB, free: 42.71 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/1.714, allocations: 7.922 kB / 0.8749 GB, free: 42.71 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03341/1.748, allocations: 15.08 MB / 0.8896 GB, free: 27.57 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.748, allocations: 0 / 0.8896 GB, free: 27.57 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.654e-05/1.748, allocations: 4.875 kB / 0.8896 GB, free: 27.57 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/1.748, allocations: 0 / 0.8896 GB, free: 27.57 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001225/1.749, allocations: 380 kB / 0.89 GB, free: 27.2 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.749, allocations: 3 kB / 0.89 GB, free: 27.2 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/1.749, allocations: 0 / 0.89 GB, free: 27.2 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/1.76, allocations: 8.152 MB / 0.8979 GB, free: 18.96 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008888/1.769, allocations: 3.878 MB / 0.9017 GB, free: 15.01 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004973/1.774, allocations: 128.8 kB / 0.9018 GB, free: 14.88 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004897/1.779, allocations: 135 kB / 0.902 GB, free: 14.75 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/1.779, allocations: 3.938 kB / 0.902 GB, free: 14.75 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001218/1.78, allocations: 1.718 MB / 0.9037 GB, free: 13.04 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.06647/1.847, allocations: 34.49 MB / 0.9373 GB, free: 10.83 MB / 0.6235 GB Notification: Performance of sort global known variables: time 7.62e-07/1.847, allocations: 96 / 0.9373 GB, free: 10.83 MB / 0.6235 GB Notification: Performance of remove unused functions: time 0.006247/1.853, allocations: 1.254 MB / 0.9386 GB, free: 9.578 MB / 0.6235 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.0005837/1.854, allocations: 253.2 kB / 0.9388 GB, free: 9.328 MB / 0.6235 GB Notification: Performance of simCode: created initialization part: time 0.00218/1.856, allocations: 1.226 MB / 0.94 GB, free: 8.09 MB / 0.6235 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.856, allocations: 4 kB / 0.94 GB, free: 8.086 MB / 0.6235 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/1.857, allocations: 0.7181 MB / 0.9407 GB, free: 7.355 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01381/1.871, allocations: 3.375 MB / 0.944 GB, free: 3.977 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1448/2.016, allocations: 79.38 MB / 1.022 GB, free: 5.023 MB / 0.7017 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3574/2.373, allocations: 17.32 MB / 1.038 GB, free: 211.3 MB / 0.7017 GB Notification: Performance of simCode: alias equations: time 0.02753/2.401, allocations: 9.321 MB / 1.048 GB, free: 207.2 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002446/2.403, allocations: 1.963 MB / 1.049 GB, free: 207.2 MB / 0.7017 GB Notification: Performance of SimCode: time 1.152e-06/2.403, allocations: 2.688 kB / 1.049 GB, free: 207.2 MB / 0.7017 GB Notification: Performance of Templates: time 0.3865/2.79, allocations: 164.5 MB / 1.21 GB, free: 67.77 MB / 0.7017 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches