Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.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_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 110.8 kB / 16.92 MB, free: 6.16 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.002137/0.002137, allocations: 191.3 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.487/1.487, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.279/1.279, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.89 kB / 0.4909 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7689/0.7704, allocations: 80.69 MB / 0.5697 GB, free: 43.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.003111/0.7736, allocations: 1.407 MB / 0.5711 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.7748, allocations: 0.5729 MB / 0.5717 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.771e-05/0.7749, allocations: 1.375 kB / 0.5717 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.01114/0.786, allocations: 13.68 MB / 0.585 GB, free: 34 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.005795/0.792, allocations: 13.73 MB / 0.5985 GB, free: 20.24 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.7925, allocations: 75.78 kB / 0.5985 GB, free: 20.17 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0228/0.8153, allocations: 34 MB / 0.6317 GB, free: 2.125 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.958e-05/0.8154, allocations: 7.984 kB / 0.6317 GB, free: 2.117 MB / 478.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03175/0.8472, allocations: 16.89 MB / 0.6482 GB, free: 1.199 MB / 494.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0603/0.9075, allocations: 32.25 MB / 0.6797 GB, free: 0.9023 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.01098/0.9186, allocations: 1.957 MB / 0.6816 GB, free: 14.94 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01079/0.9294, allocations: 2.035 MB / 0.6836 GB, free: 12.91 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.8557/1.785, allocations: 79.59 MB / 0.7613 GB, free: 75.89 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.08344/1.869, allocations: 44.94 MB / 0.8052 GB, free: 40.77 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.1271/1.996, allocations: 96.76 MB / 0.8997 GB, free: 3.645 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/1.996, allocations: 0 / 0.8997 GB, free: 3.645 MB / 0.6079 GB Notification: Performance of FrontEnd: time 2.475e-06/1.996, allocations: 0 / 0.8997 GB, free: 3.645 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.006557/2.003, allocations: 0 / 0.8997 GB, free: 3.645 MB / 0.6079 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 1.232/3.234, allocations: 153.9 MB / 1.05 GB, free: 159.4 MB / 0.7334 GB Notification: Performance of prepare preOptimizeDAE: time 6.725e-05/3.234, allocations: 9.625 kB / 1.05 GB, free: 159.4 MB / 0.7334 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03857/3.273, allocations: 17.59 MB / 1.067 GB, free: 151.9 MB / 0.7334 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9781/4.251, allocations: 206 MB / 1.268 GB, free: 14.26 MB / 0.7803 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/4.251, allocations: 384 / 1.268 GB, free: 14.26 MB / 0.7803 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005666/4.257, allocations: 0.4926 MB / 1.269 GB, free: 13.77 MB / 0.7803 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02417/4.281, allocations: 5.907 MB / 1.275 GB, free: 7.855 MB / 0.7803 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/4.281, allocations: 0 / 1.275 GB, free: 7.855 MB / 0.7803 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004111/4.285, allocations: 0.496 MB / 1.275 GB, free: 7.359 MB / 0.7803 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/4.285, allocations: 0 / 1.275 GB, free: 7.359 MB / 0.7803 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01903/4.304, allocations: 3.438 MB / 1.278 GB, free: 3.926 MB / 0.7803 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1714/4.476, allocations: 54.94 MB / 1.332 GB, free: 12.88 MB / 0.8428 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/4.488, allocations: 1.987 MB / 1.334 GB, free: 10.88 MB / 0.8428 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01278/4.5, allocations: 1.985 MB / 1.336 GB, free: 8.891 MB / 0.8428 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/4.501, allocations: 3.781 kB / 1.336 GB, free: 8.891 MB / 0.8428 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02052/4.521, allocations: 4.979 MB / 1.341 GB, free: 3.891 MB / 0.8428 GB Notification: Performance of pre-optimization done (n=8): time 7.774e-06/4.521, allocations: 0 / 1.341 GB, free: 3.891 MB / 0.8428 GB Notification: Performance of matching and sorting (n=8): time 0.1228/4.644, allocations: 32.86 MB / 1.373 GB, free: 2.781 MB / 0.874 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/4.644, allocations: 85.11 kB / 1.373 GB, free: 2.68 MB / 0.874 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.039/5.683, allocations: 198 MB / 1.566 GB, free: 155.3 MB / 0.874 GB Notification: Performance of collectPreVariables (initialization): time 0.004158/5.688, allocations: 0.5212 MB / 1.567 GB, free: 154.8 MB / 0.874 GB Notification: Performance of collectInitialEqns (initialization): time 0.1338/5.822, allocations: 97.77 MB / 1.662 GB, free: 57.03 MB / 0.874 GB Notification: Performance of collectInitialBindings (initialization): time 0.005032/5.827, allocations: 0.5088 MB / 1.663 GB, free: 56.53 MB / 0.874 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01637/5.843, allocations: 3.445 MB / 1.666 GB, free: 53.08 MB / 0.874 GB Notification: Performance of setup shared object (initialization): time 5.843e-05/5.843, allocations: 306 kB / 1.667 GB, free: 52.78 MB / 0.874 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0106/5.854, allocations: 1.973 MB / 1.668 GB, free: 50.8 MB / 0.874 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01172/5.865, allocations: 1.968 MB / 1.67 GB, free: 48.84 MB / 0.874 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02375/5.889, allocations: 4.008 MB / 1.674 GB, free: 44.82 MB / 0.874 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.301e-05/5.889, allocations: 5.625 kB / 1.674 GB, free: 44.82 MB / 0.874 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.09215/5.982, allocations: 30.89 MB / 1.704 GB, free: 23.69 MB / 0.874 GB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/5.982, allocations: 41.44 kB / 1.705 GB, free: 23.65 MB / 0.874 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/5.982, allocations: 3.188 kB / 1.705 GB, free: 23.65 MB / 0.874 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/5.982, allocations: 0 / 1.705 GB, free: 23.65 MB / 0.874 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/5.982, allocations: 4 kB / 1.705 GB, free: 23.64 MB / 0.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/5.982, allocations: 2.219 kB / 1.705 GB, free: 23.64 MB / 0.874 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03451/6.016, allocations: 0.494 MB / 1.705 GB, free: 23.15 MB / 0.874 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01604/6.032, allocations: 6.848 MB / 1.712 GB, free: 16.3 MB / 0.874 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.7208/6.753, allocations: 38.22 MB / 1.749 GB, free: 174.2 MB / 0.874 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.05122/6.804, allocations: 18.08 MB / 1.767 GB, free: 174.2 MB / 0.874 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06285/6.867, allocations: 20.44 MB / 1.787 GB, free: 172.4 MB / 0.874 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/6.867, allocations: 0.5156 kB / 1.787 GB, free: 172.4 MB / 0.874 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/6.867, allocations: 3.031 kB / 1.787 GB, free: 172.4 MB / 0.874 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/6.867, allocations: 0 / 1.787 GB, free: 172.4 MB / 0.874 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2144/7.082, allocations: 59.83 MB / 1.845 GB, free: 163.1 MB / 0.874 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/7.082, allocations: 0 / 1.845 GB, free: 163.1 MB / 0.874 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.257e-05/7.082, allocations: 2.656 kB / 1.845 GB, free: 163.1 MB / 0.874 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/7.082, allocations: 2.688 kB / 1.845 GB, free: 163.1 MB / 0.874 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006355/7.088, allocations: 1.478 MB / 1.847 GB, free: 163.1 MB / 0.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/7.088, allocations: 3.281 kB / 1.847 GB, free: 163.1 MB / 0.874 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/7.088, allocations: 3.938 kB / 1.847 GB, free: 163.1 MB / 0.874 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1137/7.202, allocations: 32.1 MB / 1.878 GB, free: 155.5 MB / 0.874 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05661/7.259, allocations: 15.23 MB / 1.893 GB, free: 140 MB / 0.874 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03141/7.29, allocations: 0.4922 MB / 1.893 GB, free: 139.5 MB / 0.874 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04796/7.338, allocations: 0.4961 MB / 1.894 GB, free: 139 MB / 0.874 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.404e-05/7.338, allocations: 7.812 kB / 1.894 GB, free: 139 MB / 0.874 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01999/7.358, allocations: 6.839 MB / 1.9 GB, free: 133.2 MB / 0.874 GB Notification: Performance of sorting global known variables: time 0.4143/7.773, allocations: 137.9 MB / 2.035 GB, free: 23.89 MB / 0.874 GB Notification: Performance of sort global known variables: time 1.192e-06/7.773, allocations: 0.9062 kB / 2.035 GB, free: 23.89 MB / 0.874 GB Notification: Performance of remove unused functions: time 0.04055/7.813, allocations: 4.912 MB / 2.04 GB, free: 18.98 MB / 0.874 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.005532/7.819, allocations: 0.6196 MB / 2.04 GB, free: 18.36 MB / 0.874 GB Notification: Performance of simCode: created initialization part: time 0.02851/7.848, allocations: 4.537 MB / 2.045 GB, free: 13.86 MB / 0.874 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/7.848, allocations: 3.609 kB / 2.045 GB, free: 13.86 MB / 0.874 GB Notification: Performance of simCode: created simulation system equations: time 0.01503/7.863, allocations: 2.546 MB / 2.047 GB, free: 11.32 MB / 0.874 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1245/7.987, allocations: 13.49 MB / 2.061 GB, free: 5.648 MB / 0.874 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.122/9.109, allocations: 297.6 MB / 2.351 GB, free: 82.35 MB / 0.874 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1533/9.263, allocations: 68.46 MB / 2.418 GB, free: 13.75 MB / 0.874 GB Notification: Performance of simCode: alias equations: time 0.647/9.91, allocations: 37.29 MB / 2.454 GB, free: 203.7 MB / 0.874 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02474/9.935, allocations: 7.821 MB / 2.462 GB, free: 203.7 MB / 0.874 GB Notification: Performance of SimCode: time 1.373e-06/9.935, allocations: 2 kB / 2.462 GB, free: 203.7 MB / 0.874 GB Notification: Performance of Templates: time 3.267/13.2, allocations: 0.6732 GB / 3.135 GB, free: 278.5 MB / 0.9365 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches