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.001559/0.00156, allocations: 105.3 kB / 16.62 MB, free: 6.809 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.001602/0.001602, allocations: 197.9 kB / 17.55 MB, free: 5.945 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.415/1.415, allocations: 222.9 MB / 241.2 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.18/1.18, allocations: 119.3 MB / 410.7 MB, free: 9.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 63.91 kB / 0.4905 GB, free: 14.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5834/0.585, allocations: 80.68 MB / 0.5692 GB, free: 42.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002434/0.5875, allocations: 1.476 MB / 0.5707 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008783/0.5884, allocations: 0.5626 MB / 0.5712 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.388e-05/0.5885, allocations: 1.094 kB / 0.5712 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.5908, allocations: 3.427 MB / 0.5746 GB, free: 39.63 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.5934, allocations: 3.472 MB / 0.578 GB, free: 37.88 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.5937, allocations: 73.75 kB / 0.578 GB, free: 37.84 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.007969/0.6017, allocations: 8.557 MB / 0.5864 GB, free: 32.3 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.454e-05/0.6018, allocations: 4 kB / 0.5864 GB, free: 32.29 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007606/0.6094, allocations: 4.247 MB / 0.5905 GB, free: 28.04 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009896/0.6194, allocations: 8.081 MB / 0.5984 GB, free: 19.95 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.002079/0.6215, allocations: 0.4922 MB / 0.5989 GB, free: 19.45 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.6227, allocations: 0.5624 MB / 0.5995 GB, free: 18.89 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01409/0.6368, allocations: 19.91 MB / 0.6189 GB, free: 14.92 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01709/0.6539, allocations: 11.25 MB / 0.6299 GB, free: 3.566 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.03112/0.6851, allocations: 24.25 MB / 0.6536 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.6851, allocations: 0 / 0.6536 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6851, allocations: 0 / 0.6536 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001237/0.6864, allocations: 4 kB / 0.6536 GB, free: 11.17 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.0554/0.7418, allocations: 38.76 MB / 0.6914 GB, free: 4.012 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.7419, allocations: 12.03 kB / 0.6914 GB, free: 4 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006665/0.7486, allocations: 4.395 MB / 0.6957 GB, free: 15.54 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1285/0.8771, allocations: 51.58 MB / 0.7461 GB, free: 11.62 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.8772, allocations: 384 / 0.7461 GB, free: 11.62 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000895/0.8781, allocations: 128.4 kB / 0.7462 GB, free: 11.5 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003088/0.8812, allocations: 1.516 MB / 0.7477 GB, free: 9.973 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.8812, allocations: 4 kB / 0.7477 GB, free: 9.969 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002455/0.8815, allocations: 128 kB / 0.7478 GB, free: 9.844 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.8815, allocations: 0 / 0.7478 GB, free: 9.844 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.8826, allocations: 0.875 MB / 0.7487 GB, free: 8.969 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7013/1.584, allocations: 13.84 MB / 0.7622 GB, free: 135.3 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/1.586, allocations: 0.5302 MB / 0.7627 GB, free: 135.3 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/1.587, allocations: 0.519 MB / 0.7632 GB, free: 135.3 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/1.587, allocations: 1.219 kB / 0.7632 GB, free: 135.3 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001628/1.589, allocations: 1.321 MB / 0.7645 GB, free: 135.2 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 2.424e-06/1.589, allocations: 0 / 0.7645 GB, free: 135.2 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.01511/1.604, allocations: 8.314 MB / 0.7726 GB, free: 135.1 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/1.604, allocations: 84.73 kB / 0.7727 GB, free: 135 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09/1.694, allocations: 49.58 MB / 0.8211 GB, free: 104.8 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0009594/1.695, allocations: 154.5 kB / 0.8213 GB, free: 104.7 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02201/1.717, allocations: 22.55 MB / 0.8433 GB, free: 82.09 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001092/1.718, allocations: 144.9 kB / 0.8434 GB, free: 81.97 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002553/1.721, allocations: 0.8806 MB / 0.8443 GB, free: 81.08 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 5.755e-05/1.721, allocations: 309.7 kB / 0.8446 GB, free: 80.78 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008901/1.722, allocations: 0.5078 MB / 0.8451 GB, free: 80.27 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006941/1.723, allocations: 0.5 MB / 0.8456 GB, free: 79.77 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/1.724, allocations: 1.081 MB / 0.8466 GB, free: 78.68 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.724, allocations: 0 / 0.8466 GB, free: 78.68 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.009871/1.734, allocations: 7.817 MB / 0.8543 GB, free: 73.29 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 5.53e-05/1.734, allocations: 41.69 kB / 0.8543 GB, free: 73.25 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.734, allocations: 0 / 0.8543 GB, free: 73.25 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/1.734, allocations: 3 kB / 0.8543 GB, free: 73.25 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.913e-05/1.734, allocations: 4 kB / 0.8543 GB, free: 73.24 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/1.734, allocations: 0 / 0.8543 GB, free: 73.24 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008594/1.743, allocations: 135.6 kB / 0.8544 GB, free: 73.11 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002044/1.745, allocations: 1.711 MB / 0.8561 GB, free: 71.4 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.01773/1.763, allocations: 9.667 MB / 0.8656 GB, free: 61.71 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008935/1.772, allocations: 4.525 MB / 0.87 GB, free: 57.13 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/1.783, allocations: 5.118 MB / 0.875 GB, free: 52 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.783, allocations: 0 / 0.875 GB, free: 52 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/1.783, allocations: 3.984 kB / 0.875 GB, free: 51.99 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/1.783, allocations: 3.938 kB / 0.875 GB, free: 51.99 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0403/1.824, allocations: 15.07 MB / 0.8897 GB, free: 36.85 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/1.824, allocations: 6.031 kB / 0.8897 GB, free: 36.85 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.452e-05/1.824, allocations: 3.938 kB / 0.8897 GB, free: 36.84 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.497e-06/1.824, allocations: 3 kB / 0.8897 GB, free: 36.84 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001534/1.825, allocations: 380 kB / 0.8901 GB, free: 36.47 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/1.825, allocations: 0 / 0.8901 GB, free: 36.47 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.825, allocations: 0 / 0.8901 GB, free: 36.47 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/1.839, allocations: 8.162 MB / 0.898 GB, free: 28.23 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009395/1.849, allocations: 3.872 MB / 0.9018 GB, free: 24.29 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005331/1.854, allocations: 131 kB / 0.902 GB, free: 24.16 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005456/1.86, allocations: 136 kB / 0.9021 GB, free: 24.03 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/1.86, allocations: 3.938 kB / 0.9021 GB, free: 24.02 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001552/1.861, allocations: 1.711 MB / 0.9038 GB, free: 22.31 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.06497/1.926, allocations: 34.49 MB / 0.9374 GB, free: 4.117 MB / 0.6079 GB Notification: Performance of sort global known variables: time 6.71e-07/1.926, allocations: 0 / 0.9374 GB, free: 4.117 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.008485/1.935, allocations: 1.254 MB / 0.9387 GB, free: 2.867 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.001003/1.936, allocations: 257.2 kB / 0.9389 GB, free: 2.617 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.002218/1.938, allocations: 1.232 MB / 0.9401 GB, free: 1.375 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.938, allocations: 4 kB / 0.9401 GB, free: 1.371 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/1.939, allocations: 0.7142 MB / 0.9408 GB, free: 0.6445 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02737/1.966, allocations: 3.383 MB / 0.9441 GB, free: 13.26 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5088/2.475, allocations: 79.37 MB / 1.022 GB, free: 211.4 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04308/2.518, allocations: 17.33 MB / 1.039 GB, free: 205.1 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.0337/2.552, allocations: 9.441 MB / 1.048 GB, free: 200.9 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006179/2.558, allocations: 1.961 MB / 1.05 GB, free: 200.9 MB / 0.686 GB Notification: Performance of SimCode: time 1.763e-06/2.558, allocations: 3.531 kB / 1.05 GB, free: 200.9 MB / 0.686 GB Notification: Performance of Templates: time 0.4758/3.034, allocations: 167.2 MB / 1.213 GB, free: 57.44 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches