Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.002341/0.002341, allocations: 192.5 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.244/2.244, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.729/1.729, allocations: 119.3 MB / 411.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003152/0.003152, allocations: 67.62 kB / 0.5716 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2925, allocations: 80.7 MB / 0.6504 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.006111/0.2987, allocations: 1.577 MB / 0.6519 GB, free: 11.51 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.002921/0.3017, allocations: 0.8924 MB / 0.6528 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.3019, allocations: 0 / 0.6528 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.3036, allocations: 0.8965 MB / 0.6537 GB, free: 9.711 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.3049, allocations: 0.5183 MB / 0.6542 GB, free: 9.191 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005974/0.3056, allocations: 103.7 kB / 0.6543 GB, free: 9.09 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001839/0.3074, allocations: 1.166 MB / 0.6554 GB, free: 7.922 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.599e-05/0.3075, allocations: 11.97 kB / 0.6554 GB, free: 7.91 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.309, allocations: 0.5809 MB / 0.656 GB, free: 7.328 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002375/0.3114, allocations: 1.049 MB / 0.657 GB, free: 6.277 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0005473/0.312, allocations: 64 kB / 0.6571 GB, free: 6.215 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005049/0.3125, allocations: 103.9 kB / 0.6572 GB, free: 6.113 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.00455/0.3171, allocations: 2.497 MB / 0.6596 GB, free: 3.609 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0034/0.3205, allocations: 1.435 MB / 0.661 GB, free: 2.16 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.00561/0.3261, allocations: 3.166 MB / 0.6641 GB, free: 14.98 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.3262, allocations: 4 kB / 0.6641 GB, free: 14.97 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.856e-06/0.3262, allocations: 0 / 0.6641 GB, free: 14.97 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0001352/0.3264, allocations: 0 / 0.6641 GB, free: 14.97 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01443/0.3408, allocations: 5.187 MB / 0.6692 GB, free: 9.695 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 8.875e-05/0.3409, allocations: 11.89 kB / 0.6692 GB, free: 9.684 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.3427, allocations: 0.5599 MB / 0.6697 GB, free: 9.117 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02267/0.3654, allocations: 6.555 MB / 0.6761 GB, free: 2.48 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.3655, allocations: 384 / 0.6761 GB, free: 2.48 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.3655, allocations: 12.12 kB / 0.6761 GB, free: 2.469 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.3658, allocations: 49.61 kB / 0.6762 GB, free: 2.414 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3659, allocations: 0 / 0.6762 GB, free: 2.414 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.3659, allocations: 0 / 0.6762 GB, free: 2.414 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3659, allocations: 0 / 0.6762 GB, free: 2.414 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.3661, allocations: 19.98 kB / 0.6762 GB, free: 2.395 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005294/0.3714, allocations: 1.855 MB / 0.678 GB, free: 0.4922 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.3718, allocations: 54.56 kB / 0.6781 GB, free: 440 kB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.3719, allocations: 24.78 kB / 0.6781 GB, free: 412 kB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.3719, allocations: 0 / 0.6781 GB, free: 412 kB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.3722, allocations: 63.39 kB / 0.6782 GB, free: 336 kB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 3.396e-06/0.3722, allocations: 0 / 0.6782 GB, free: 336 kB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.002292/0.3745, allocations: 0.6584 MB / 0.6788 GB, free: 15.65 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.185e-05/0.3746, allocations: 55.41 kB / 0.6788 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01904/0.3937, allocations: 6.442 MB / 0.6851 GB, free: 9.188 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/0.3938, allocations: 29.7 kB / 0.6852 GB, free: 9.152 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.005403/0.3993, allocations: 2.664 MB / 0.6878 GB, free: 6.484 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.3994, allocations: 15.75 kB / 0.6878 GB, free: 6.469 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.3995, allocations: 25.7 kB / 0.6878 GB, free: 6.438 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3997, allocations: 306 kB / 0.6881 GB, free: 6.133 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.3999, allocations: 19.98 kB / 0.6881 GB, free: 6.113 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.4, allocations: 21.97 kB / 0.6881 GB, free: 6.086 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.4002, allocations: 53.64 kB / 0.6882 GB, free: 6.027 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-05/0.4003, allocations: 0 / 0.6882 GB, free: 6.027 MB / 0.5295 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00222/0.4025, allocations: 0.6387 MB / 0.6888 GB, free: 5.375 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.4026, allocations: 8 kB / 0.6888 GB, free: 5.367 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.4026, allocations: 3.984 kB / 0.6888 GB, free: 5.363 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/0.4027, allocations: 4.031 kB / 0.6888 GB, free: 5.359 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.4028, allocations: 15.94 kB / 0.6888 GB, free: 5.344 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.4029, allocations: 4 kB / 0.6888 GB, free: 5.34 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.4045, allocations: 19.91 kB / 0.6889 GB, free: 5.32 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.4046, allocations: 4 kB / 0.6889 GB, free: 5.316 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.003438/0.408, allocations: 1.279 MB / 0.6901 GB, free: 4.027 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001963/0.41, allocations: 0.5902 MB / 0.6907 GB, free: 3.43 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.4124, allocations: 0.6481 MB / 0.6913 GB, free: 2.777 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.4125, allocations: 4 kB / 0.6913 GB, free: 2.773 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/0.4125, allocations: 7.984 kB / 0.6913 GB, free: 2.766 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.4125, allocations: 3.984 kB / 0.6913 GB, free: 2.762 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006539/0.4191, allocations: 2.031 MB / 0.6933 GB, free: 0.6836 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.4191, allocations: 0 / 0.6933 GB, free: 0.6836 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.022e-05/0.4192, allocations: 4 kB / 0.6933 GB, free: 0.6797 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.4192, allocations: 0 / 0.6933 GB, free: 0.6797 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.4193, allocations: 0 / 0.6933 GB, free: 0.6797 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.4193, allocations: 7.938 kB / 0.6933 GB, free: 0.6719 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4193, allocations: 0 / 0.6933 GB, free: 0.6719 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.4215, allocations: 0.7291 MB / 0.6941 GB, free: 15.92 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001926/0.4235, allocations: 0.5132 MB / 0.6946 GB, free: 15.38 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001005/0.4245, allocations: 16 kB / 0.6946 GB, free: 15.36 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.4258, allocations: 20 kB / 0.6946 GB, free: 15.34 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.4259, allocations: 4 kB / 0.6946 GB, free: 15.34 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.4259, allocations: 7.984 kB / 0.6946 GB, free: 15.33 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.01467/0.4406, allocations: 4.416 MB / 0.6989 GB, free: 10.96 MB / 0.5452 GB Notification: Performance of sort global known variables: time 9.02e-07/0.4407, allocations: 0 / 0.6989 GB, free: 10.96 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.00181/0.4425, allocations: 180 kB / 0.6991 GB, free: 10.78 MB / 0.5452 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00184/0.4444, allocations: 396.2 kB / 0.6995 GB, free: 10.54 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0004154/0.4448, allocations: 47.92 kB / 0.6995 GB, free: 10.5 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.4448, allocations: 0 / 0.6995 GB, free: 10.5 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.445, allocations: 16 kB / 0.6995 GB, free: 10.48 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005159/0.4502, allocations: 470.3 kB / 0.7 GB, free: 10.02 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02723/0.4774, allocations: 8.648 MB / 0.7084 GB, free: 1.336 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006695/0.4842, allocations: 2.744 MB / 0.7111 GB, free: 14.57 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002206/0.4865, allocations: 0.5616 MB / 0.7116 GB, free: 14 MB / 0.5608 GB Notification: Performance of SimCode: time 6.392e-06/0.4866, allocations: 0 / 0.7116 GB, free: 14 MB / 0.5608 GB Notification: Performance of Templates: time 1.642/2.129, allocations: 138.9 MB / 0.8473 GB, free: 52.9 MB / 0.6079 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches