Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009977/0.0009978, allocations: 91.72 kB / 17.31 MB, free: 6.535 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.0011/0.0011, allocations: 175.9 kB / 18.21 MB, free: 5.684 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.331/1.331, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.061/1.061, allocations: 120.5 MB / 413.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003664, allocations: 16 kB / 0.4955 GB, free: 11.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5547/0.555, allocations: 82.84 MB / 0.5764 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.001246/0.5563, allocations: 1.136 MB / 0.5776 GB, free: 40.46 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007854/0.5571, allocations: 0.5803 MB / 0.5781 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.129e-05/0.5572, allocations: 1.125 kB / 0.5781 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0005771/0.5578, allocations: 0.8617 MB / 0.579 GB, free: 39.58 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0007051/0.5585, allocations: 0.8975 MB / 0.5798 GB, free: 39.13 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.5587, allocations: 67.64 kB / 0.5799 GB, free: 39.09 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00166/0.5604, allocations: 2.173 MB / 0.582 GB, free: 38.03 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.5604, allocations: 2.531 kB / 0.582 GB, free: 38.03 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.5614, allocations: 1.085 MB / 0.5831 GB, free: 37.5 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.5633, allocations: 1.926 MB / 0.585 GB, free: 36.71 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0002756/0.5635, allocations: 127.3 kB / 0.5851 GB, free: 36.71 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003467/0.5639, allocations: 198.2 kB / 0.5853 GB, free: 36.68 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.003119/0.567, allocations: 4.982 MB / 0.5901 GB, free: 32.24 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.5685, allocations: 2.857 MB / 0.5929 GB, free: 29.35 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002224/0.5707, allocations: 4.543 MB / 0.5974 GB, free: 24.8 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5708, allocations: 0 / 0.5974 GB, free: 24.8 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5708, allocations: 0 / 0.5974 GB, free: 24.8 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.116e-05/0.5708, allocations: 0 / 0.5974 GB, free: 24.8 MB / 462.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.006483/0.5773, allocations: 8.794 MB / 0.606 GB, free: 15.88 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.5774, allocations: 11.97 kB / 0.606 GB, free: 15.87 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007486/0.5781, allocations: 1.107 MB / 0.6071 GB, free: 14.75 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01452/0.5927, allocations: 12.95 MB / 0.6197 GB, free: 1.672 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.5927, allocations: 4.375 kB / 0.6197 GB, free: 1.668 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-05/0.5928, allocations: 36.38 kB / 0.6197 GB, free: 1.633 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004182/0.5932, allocations: 437.5 kB / 0.6202 GB, free: 1.199 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.5932, allocations: 0 / 0.6202 GB, free: 1.199 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.119e-05/0.5933, allocations: 32 kB / 0.6202 GB, free: 1.168 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5933, allocations: 0 / 0.6202 GB, free: 1.168 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.5936, allocations: 236 kB / 0.6204 GB, free: 0.9375 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003879/0.5975, allocations: 3.576 MB / 0.6239 GB, free: 13.31 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.5978, allocations: 166.6 kB / 0.6241 GB, free: 13.14 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.598, allocations: 152.9 kB / 0.6242 GB, free: 12.99 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.598, allocations: 0 / 0.6242 GB, free: 12.99 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005015/0.5985, allocations: 416.6 kB / 0.6246 GB, free: 12.56 MB / 478.3 MB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.5986, allocations: 0 / 0.6246 GB, free: 12.56 MB / 478.3 MB Notification: Performance of matching and sorting (n=8): time 0.002712/0.6013, allocations: 2.184 MB / 0.6267 GB, free: 10.36 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.6013, allocations: 85.09 kB / 0.6268 GB, free: 10.25 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01422/0.6156, allocations: 12.46 MB / 0.639 GB, free: 13.89 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001549/0.6158, allocations: 61.7 kB / 0.639 GB, free: 13.82 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.004632/0.6204, allocations: 5.204 MB / 0.6441 GB, free: 8.617 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.6206, allocations: 55.64 kB / 0.6442 GB, free: 8.562 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.6207, allocations: 49.72 kB / 0.6442 GB, free: 8.508 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.6208, allocations: 306 kB / 0.6445 GB, free: 8.203 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.6211, allocations: 147.9 kB / 0.6447 GB, free: 8.059 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.6213, allocations: 136 kB / 0.6448 GB, free: 7.926 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/0.6218, allocations: 360.3 kB / 0.6451 GB, free: 7.559 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6218, allocations: 7.938 kB / 0.6451 GB, free: 7.551 MB / 494.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002579/0.6244, allocations: 2.051 MB / 0.6471 GB, free: 5.473 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.239e-05/0.6244, allocations: 37.69 kB / 0.6472 GB, free: 5.43 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6245, allocations: 0 / 0.6472 GB, free: 5.43 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.6245, allocations: 0 / 0.6472 GB, free: 5.43 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.108e-05/0.6246, allocations: 4 kB / 0.6472 GB, free: 5.426 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.6246, allocations: 0 / 0.6472 GB, free: 5.426 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000817/0.6254, allocations: 43.98 kB / 0.6472 GB, free: 5.383 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000368/0.6258, allocations: 436 kB / 0.6476 GB, free: 4.957 MB / 494.3 MB 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.003119/0.6289, allocations: 2.533 MB / 0.6501 GB, free: 2.406 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009698/0.6299, allocations: 1.141 MB / 0.6512 GB, free: 1.25 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.6313, allocations: 1.28 MB / 0.6525 GB, free: 15.96 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.6313, allocations: 4 kB / 0.6525 GB, free: 15.96 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6313, allocations: 0 / 0.6525 GB, free: 15.96 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6313, allocations: 0 / 0.6525 GB, free: 15.96 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/0.635, allocations: 3.88 MB / 0.6563 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.635, allocations: 0 / 0.6563 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.635, allocations: 11.92 kB / 0.6563 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.635, allocations: 0 / 0.6563 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.6351, allocations: 100 kB / 0.6564 GB, free: 11.92 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.6352, allocations: 7.938 kB / 0.6564 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6352, allocations: 4 kB / 0.6564 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.6374, allocations: 2.166 MB / 0.6585 GB, free: 9.707 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/0.6387, allocations: 1.033 MB / 0.6595 GB, free: 8.641 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004308/0.6391, allocations: 36 kB / 0.6596 GB, free: 8.605 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006051/0.6397, allocations: 36 kB / 0.6596 GB, free: 8.57 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.6398, allocations: 11.98 kB / 0.6596 GB, free: 8.559 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003324/0.6401, allocations: 440 kB / 0.66 GB, free: 8.129 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01072/0.6509, allocations: 8.567 MB / 0.6684 GB, free: 15.64 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.984e-06/0.6509, allocations: 0 / 0.6684 GB, free: 15.64 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.001101/0.652, allocations: 351.9 kB / 0.6687 GB, free: 15.3 MB / 0.5139 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.0002518/0.6523, allocations: 159.4 kB / 0.6689 GB, free: 15.13 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.000668/0.6529, allocations: 423.3 kB / 0.6693 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6529, allocations: 0 / 0.6693 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.6533, allocations: 267.4 kB / 0.6695 GB, free: 14.43 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.6555, allocations: 0.8536 MB / 0.6704 GB, free: 13.58 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02478/0.6803, allocations: 19.66 MB / 0.6896 GB, free: 9.871 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004661/0.685, allocations: 4.789 MB / 0.6942 GB, free: 5.055 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006453/0.6856, allocations: 0.4955 MB / 0.6947 GB, free: 4.559 MB / 0.5295 GB Notification: Performance of SimCode: time 7.21e-07/0.6856, allocations: 0 / 0.6947 GB, free: 4.559 MB / 0.5295 GB Notification: Performance of Templates: time 1.613/2.299, allocations: 460.7 MB / 1.145 GB, free: 112 MB / 0.6704 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches