Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0008696/0.0008696, allocations: 86.67 kB / 16.31 MB, free: 6.449 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.000891/0.0008911, allocations: 184 kB / 17.21 MB, free: 6.316 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.181/1.181, allocations: 223.3 MB / 241.2 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.612/0.612, allocations: 120.5 MB / 412.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002722, allocations: 8 kB / 0.4943 GB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1145, allocations: 82.84 MB / 0.5752 GB, free: 8.145 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.001179/0.1157, allocations: 1.122 MB / 0.5763 GB, free: 7.012 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007381/0.1165, allocations: 0.5343 MB / 0.5768 GB, free: 6.473 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.333e-05/0.1165, allocations: 0 / 0.5768 GB, free: 6.473 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.1176, allocations: 1.9 MB / 0.5786 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.1188, allocations: 1.935 MB / 0.5805 GB, free: 2.633 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.119, allocations: 59.86 kB / 0.5806 GB, free: 2.574 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3535/0.4726, allocations: 3.648 MB / 0.5841 GB, free: 12.23 MB / 446.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.945e-05/0.4727, allocations: 3.344 kB / 0.5841 GB, free: 12.23 MB / 446.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002429/0.4751, allocations: 2.232 MB / 0.5863 GB, free: 12.23 MB / 446.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004603/0.4797, allocations: 4.081 MB / 0.5903 GB, free: 12.2 MB / 446.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0005042/0.4802, allocations: 251.1 kB / 0.5905 GB, free: 12.2 MB / 446.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005462/0.4808, allocations: 320.4 kB / 0.5909 GB, free: 12.2 MB / 446.3 MB Notification: Performance of NFScalarize.scalarize: time 0.008303/0.4891, allocations: 9.959 MB / 0.6006 GB, free: 9.5 MB / 446.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001522/0.4906, allocations: 1.987 MB / 0.6025 GB, free: 7.988 MB / 446.3 MB Notification: Performance of NFConvertDAE.convert: time 0.005581/0.4962, allocations: 9.031 MB / 0.6113 GB, free: 3.324 MB / 446.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4962, allocations: 0 / 0.6113 GB, free: 3.324 MB / 446.3 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4962, allocations: 1.375 kB / 0.6113 GB, free: 3.324 MB / 446.3 MB Notification: Performance of Transformations before backend: time 0.0002321/0.4965, allocations: 0 / 0.6113 GB, free: 3.324 MB / 446.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.0163/0.5128, allocations: 17.48 MB / 0.6284 GB, free: 2.094 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.5128, allocations: 15.97 kB / 0.6284 GB, free: 2.078 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.5146, allocations: 2.205 MB / 0.6306 GB, free: 15.84 MB / 478.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03283/0.5474, allocations: 24.61 MB / 0.6546 GB, free: 7.07 MB / 494.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.5475, allocations: 4 kB / 0.6546 GB, free: 7.066 MB / 494.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.5476, allocations: 64 kB / 0.6547 GB, free: 7.004 MB / 494.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000821/0.5484, allocations: 0.7782 MB / 0.6554 GB, free: 6.219 MB / 494.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.5484, allocations: 0 / 0.6554 GB, free: 6.219 MB / 494.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.5486, allocations: 68 kB / 0.6555 GB, free: 6.152 MB / 494.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.5486, allocations: 4.656 kB / 0.6555 GB, free: 6.148 MB / 494.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000562/0.5491, allocations: 460 kB / 0.6559 GB, free: 5.699 MB / 494.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006213/0.5554, allocations: 7.007 MB / 0.6628 GB, free: 14.65 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.5558, allocations: 282.6 kB / 0.6631 GB, free: 14.36 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003932/0.5562, allocations: 280.9 kB / 0.6633 GB, free: 14.09 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.5562, allocations: 7.688 kB / 0.6633 GB, free: 14.08 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006901/0.5569, allocations: 0.7065 MB / 0.664 GB, free: 13.36 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.5569, allocations: 0 / 0.664 GB, free: 13.36 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.004181/0.5611, allocations: 4.232 MB / 0.6682 GB, free: 9.086 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.5612, allocations: 81.06 kB / 0.6682 GB, free: 8.988 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02493/0.5861, allocations: 24.77 MB / 0.6924 GB, free: 428 kB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002004/0.5863, allocations: 89.7 kB / 0.6925 GB, free: 332 kB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.008741/0.5951, allocations: 10.83 MB / 0.7031 GB, free: 5.488 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.5953, allocations: 79.72 kB / 0.7032 GB, free: 5.41 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.5954, allocations: 68 kB / 0.7032 GB, free: 5.344 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.5955, allocations: 306 kB / 0.7035 GB, free: 5.039 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.5959, allocations: 272 kB / 0.7038 GB, free: 4.773 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.5963, allocations: 260 kB / 0.704 GB, free: 4.52 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004514/0.5968, allocations: 301.7 kB / 0.7043 GB, free: 4.219 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5968, allocations: 0 / 0.7043 GB, free: 4.219 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.004165/0.6009, allocations: 3.966 MB / 0.7082 GB, free: 212 kB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.601, allocations: 41.62 kB / 0.7082 GB, free: 164 kB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.601, allocations: 2.406 kB / 0.7082 GB, free: 164 kB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.601, allocations: 4 kB / 0.7082 GB, free: 160 kB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.6011, allocations: 4 kB / 0.7082 GB, free: 156 kB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.6011, allocations: 240 / 0.7082 GB, free: 156 kB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.6023, allocations: 79.8 kB / 0.7083 GB, free: 76 kB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006257/0.603, allocations: 0.8635 MB / 0.7092 GB, free: 15.21 MB / 0.5452 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005881/0.6089, allocations: 4.909 MB / 0.7139 GB, free: 10.28 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001576/0.6104, allocations: 2.264 MB / 0.7162 GB, free: 7.988 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.6129, allocations: 2.561 MB / 0.7187 GB, free: 5.418 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6129, allocations: 0 / 0.7187 GB, free: 5.418 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.6129, allocations: 4 kB / 0.7187 GB, free: 5.414 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.6129, allocations: 0 / 0.7187 GB, free: 5.414 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006464/0.6194, allocations: 7.621 MB / 0.7261 GB, free: 13.74 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6194, allocations: 0 / 0.7261 GB, free: 13.74 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.082e-05/0.6194, allocations: 3.984 kB / 0.7261 GB, free: 13.74 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.6194, allocations: 4 kB / 0.7261 GB, free: 13.73 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002169/0.6197, allocations: 188 kB / 0.7263 GB, free: 13.55 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.6197, allocations: 0 / 0.7263 GB, free: 13.55 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.6197, allocations: 3.938 kB / 0.7263 GB, free: 13.55 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/0.6234, allocations: 4.163 MB / 0.7304 GB, free: 9.332 MB / 0.5608 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002085/0.6255, allocations: 1.987 MB / 0.7323 GB, free: 7.297 MB / 0.5608 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008139/0.6263, allocations: 64 kB / 0.7324 GB, free: 7.234 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.6274, allocations: 64 kB / 0.7324 GB, free: 7.172 MB / 0.5608 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.6274, allocations: 7.984 kB / 0.7324 GB, free: 7.164 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006136/0.6281, allocations: 0.8608 MB / 0.7333 GB, free: 6.305 MB / 0.5608 GB Notification: Performance of sorting global known variables: time 0.01961/0.6477, allocations: 17.17 MB / 0.75 GB, free: 5.285 MB / 0.5764 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6477, allocations: 0 / 0.75 GB, free: 5.285 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.001541/0.6492, allocations: 0.6445 MB / 0.7507 GB, free: 4.641 MB / 0.5764 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002537/0.6495, allocations: 187.8 kB / 0.7509 GB, free: 4.449 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.6505, allocations: 0.6868 MB / 0.7515 GB, free: 3.75 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.6506, allocations: 0 / 0.7515 GB, free: 3.75 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.0005718/0.6511, allocations: 419.4 kB / 0.7519 GB, free: 3.328 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/0.6542, allocations: 1.699 MB / 0.7536 GB, free: 1.625 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03848/0.6927, allocations: 36.82 MB / 0.7895 GB, free: 12.76 MB / 0.6233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007877/0.7006, allocations: 8.914 MB / 0.7982 GB, free: 3.809 MB / 0.6233 GB Notification: Performance of simCode: alias equations: time 0.01037/0.711, allocations: 4.703 MB / 0.8028 GB, free: 15.09 MB / 0.6389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009083/0.7119, allocations: 0.9838 MB / 0.8038 GB, free: 14.11 MB / 0.6389 GB Notification: Performance of SimCode: time 6.41e-07/0.7119, allocations: 0 / 0.8038 GB, free: 14.11 MB / 0.6389 GB Notification: Performance of Templates: time 0.5363/1.248, allocations: 81.48 MB / 0.8834 GB, free: 185 MB / 0.6548 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches