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.0007964/0.0007964, allocations: 90.53 kB / 16.65 MB, free: 6.348 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.000917/0.000917, allocations: 183.8 kB / 17.57 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.115/1.115, allocations: 223.2 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7121/0.7121, allocations: 120.5 MB / 413.2 MB, free: 9.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002425/0.0002425, allocations: 8 kB / 0.4949 GB, free: 11.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3947, allocations: 82.84 MB / 0.5758 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.0009925/0.3958, allocations: 1.135 MB / 0.5769 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007045/0.3965, allocations: 0.5729 MB / 0.5775 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.31e-05/0.3965, allocations: 3.938 kB / 0.5775 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.006384/0.4029, allocations: 13.69 MB / 0.5908 GB, free: 30.86 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.004441/0.4074, allocations: 13.71 MB / 0.6042 GB, free: 17.12 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.4076, allocations: 59.88 kB / 0.6043 GB, free: 17.06 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.01741/0.425, allocations: 33.99 MB / 0.6375 GB, free: 15.01 MB / 494.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.4251, allocations: 4 kB / 0.6375 GB, free: 15.01 MB / 494.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01514/0.4402, allocations: 16.88 MB / 0.654 GB, free: 14.1 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02255/0.4628, allocations: 30.3 MB / 0.6836 GB, free: 15.75 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.003888/0.4667, allocations: 1.957 MB / 0.6855 GB, free: 13.79 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002944/0.4697, allocations: 2.019 MB / 0.6874 GB, free: 11.77 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.4524/0.9221, allocations: 79.6 MB / 0.7652 GB, free: 77.27 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.03639/0.9586, allocations: 44.96 MB / 0.8091 GB, free: 42.27 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.05569/1.014, allocations: 94.32 MB / 0.9012 GB, free: 5.938 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.014, allocations: 3.984 kB / 0.9012 GB, free: 5.934 MB / 0.6079 GB Notification: Performance of FrontEnd: time 2.004e-06/1.014, allocations: 1.5 kB / 0.9012 GB, free: 5.934 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.003536/1.018, allocations: 3.844 kB / 0.9012 GB, free: 5.934 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 0.1456/1.163, allocations: 135.3 MB / 1.033 GB, free: 8.707 MB / 0.7329 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/1.164, allocations: 8.031 kB / 1.033 GB, free: 8.699 MB / 0.7329 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5198/1.683, allocations: 17.59 MB / 1.051 GB, free: 176.5 MB / 0.7334 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.405/2.088, allocations: 206 MB / 1.252 GB, free: 8.82 MB / 0.7334 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/2.088, allocations: 384 / 1.252 GB, free: 8.82 MB / 0.7334 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009505/2.089, allocations: 0.496 MB / 1.252 GB, free: 8.328 MB / 0.7334 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004367/2.094, allocations: 5.91 MB / 1.258 GB, free: 2.41 MB / 0.7334 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/2.094, allocations: 0 / 1.258 GB, free: 2.41 MB / 0.7334 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007221/2.095, allocations: 0.496 MB / 1.258 GB, free: 1.914 MB / 0.7334 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/2.095, allocations: 0 / 1.258 GB, free: 1.914 MB / 0.7334 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003531/2.098, allocations: 3.436 MB / 1.262 GB, free: 14.48 MB / 0.749 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08241/2.18, allocations: 54.94 MB / 1.315 GB, free: 7.43 MB / 0.7959 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006537/2.187, allocations: 1.992 MB / 1.317 GB, free: 5.43 MB / 0.7959 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005385/2.192, allocations: 1.989 MB / 1.319 GB, free: 3.438 MB / 0.7959 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/2.192, allocations: 5.281 kB / 1.319 GB, free: 3.438 MB / 0.7959 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004433/2.197, allocations: 4.972 MB / 1.324 GB, free: 14.44 MB / 0.8115 GB Notification: Performance of pre-optimization done (n=8): time 1.933e-06/2.197, allocations: 0 / 1.324 GB, free: 14.44 MB / 0.8115 GB Notification: Performance of matching and sorting (n=8): time 0.3093/2.506, allocations: 32.86 MB / 1.356 GB, free: 218.3 MB / 0.8272 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/2.506, allocations: 86.86 kB / 1.356 GB, free: 218.2 MB / 0.8272 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2533/2.76, allocations: 198 MB / 1.55 GB, free: 115.1 MB / 0.8272 GB Notification: Performance of collectPreVariables (initialization): time 0.002449/2.762, allocations: 0.5134 MB / 1.55 GB, free: 114.6 MB / 0.8272 GB Notification: Performance of collectInitialEqns (initialization): time 0.07839/2.841, allocations: 97.77 MB / 1.646 GB, free: 16.77 MB / 0.8272 GB Notification: Performance of collectInitialBindings (initialization): time 0.00274/2.843, allocations: 0.5007 MB / 1.646 GB, free: 16.28 MB / 0.8272 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007954/2.844, allocations: 0.5095 MB / 1.647 GB, free: 15.76 MB / 0.8272 GB Notification: Performance of setup shared object (initialization): time 4.098e-05/2.844, allocations: 307.4 kB / 1.647 GB, free: 15.46 MB / 0.8272 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/2.846, allocations: 1.972 MB / 1.649 GB, free: 13.49 MB / 0.8272 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002209/2.849, allocations: 1.972 MB / 1.651 GB, free: 11.52 MB / 0.8272 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004859/2.853, allocations: 4.015 MB / 1.655 GB, free: 7.492 MB / 0.8272 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/2.853, allocations: 0 / 1.655 GB, free: 7.492 MB / 0.8272 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.309/3.162, allocations: 30.88 MB / 1.685 GB, free: 125.7 MB / 0.8272 GB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/3.163, allocations: 41.88 kB / 1.685 GB, free: 125.7 MB / 0.8272 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/3.163, allocations: 1.75 kB / 1.685 GB, free: 125.7 MB / 0.8272 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/3.163, allocations: 6 kB / 1.685 GB, free: 125.7 MB / 0.8272 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.751e-05/3.163, allocations: 4.844 kB / 1.685 GB, free: 125.7 MB / 0.8272 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/3.163, allocations: 1.906 kB / 1.685 GB, free: 125.7 MB / 0.8272 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01528/3.178, allocations: 0.4938 MB / 1.685 GB, free: 125.7 MB / 0.8272 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005274/3.183, allocations: 6.843 MB / 1.692 GB, free: 125.7 MB / 0.8272 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.0461/3.229, allocations: 38.23 MB / 1.73 GB, free: 125.6 MB / 0.8272 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02049/3.25, allocations: 18.08 MB / 1.747 GB, free: 125.6 MB / 0.8272 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03542/3.285, allocations: 20.43 MB / 1.767 GB, free: 123.7 MB / 0.8272 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/3.285, allocations: 0 / 1.767 GB, free: 123.7 MB / 0.8272 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/3.285, allocations: 0 / 1.767 GB, free: 123.7 MB / 0.8272 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/3.285, allocations: 2.656 kB / 1.767 GB, free: 123.7 MB / 0.8272 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09095/3.376, allocations: 59.83 MB / 1.826 GB, free: 106 MB / 0.8272 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/3.376, allocations: 0 / 1.826 GB, free: 106 MB / 0.8272 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.132e-05/3.376, allocations: 4 kB / 1.826 GB, free: 106 MB / 0.8272 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/3.376, allocations: 1.188 kB / 1.826 GB, free: 106 MB / 0.8272 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003313/3.38, allocations: 1.471 MB / 1.827 GB, free: 104.5 MB / 0.8272 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/3.38, allocations: 0 / 1.827 GB, free: 104.5 MB / 0.8272 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/3.38, allocations: 0 / 1.827 GB, free: 104.5 MB / 0.8272 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03613/3.416, allocations: 32.11 MB / 1.858 GB, free: 76.33 MB / 0.8272 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03082/3.447, allocations: 15.23 MB / 1.873 GB, free: 60.85 MB / 0.8272 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01396/3.461, allocations: 0.4903 MB / 1.874 GB, free: 60.36 MB / 0.8272 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01325/3.474, allocations: 0.4961 MB / 1.874 GB, free: 59.87 MB / 0.8272 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/3.474, allocations: 7.5 kB / 1.874 GB, free: 59.86 MB / 0.8272 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004334/3.478, allocations: 6.841 MB / 1.881 GB, free: 54 MB / 0.8272 GB Notification: Performance of sorting global known variables: time 0.4786/3.957, allocations: 137.9 MB / 2.016 GB, free: 143.9 MB / 0.8584 GB Notification: Performance of sort global known variables: time 5.91e-07/3.957, allocations: 0 / 2.016 GB, free: 143.9 MB / 0.8584 GB Notification: Performance of remove unused functions: time 0.01685/3.974, allocations: 4.914 MB / 2.02 GB, free: 143.9 MB / 0.8584 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.001817/3.976, allocations: 0.6107 MB / 2.021 GB, free: 143.8 MB / 0.8584 GB Notification: Performance of simCode: created initialization part: time 0.00563/3.981, allocations: 4.532 MB / 2.025 GB, free: 143.7 MB / 0.8584 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/3.981, allocations: 0 / 2.025 GB, free: 143.7 MB / 0.8584 GB Notification: Performance of simCode: created simulation system equations: time 0.003287/3.985, allocations: 2.551 MB / 2.028 GB, free: 143.6 MB / 0.8584 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05805/4.043, allocations: 13.48 MB / 2.041 GB, free: 135 MB / 0.8584 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6497/4.692, allocations: 328.8 MB / 2.362 GB, free: 180.4 MB / 0.874 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.09915/4.792, allocations: 68.46 MB / 2.429 GB, free: 151.4 MB / 0.874 GB Notification: Performance of simCode: alias equations: time 0.09065/4.882, allocations: 37.44 MB / 2.466 GB, free: 132.3 MB / 0.874 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01011/4.892, allocations: 7.82 MB / 2.473 GB, free: 124.4 MB / 0.874 GB Notification: Performance of SimCode: time 6.81e-07/4.892, allocations: 2.656 kB / 2.473 GB, free: 124.4 MB / 0.874 GB Notification: Performance of Templates: time 1.994/6.887, allocations: 0.6626 GB / 3.136 GB, free: 226.8 MB / 0.999 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches