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.001252/0.001252, allocations: 112.5 kB / 17.7 MB, free: 5.426 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.001315/0.001315, allocations: 183 kB / 18.62 MB, free: 4.5 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.25/1.25, allocations: 222.9 MB / 242.3 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 0.8458/0.8458, allocations: 119.3 MB / 411.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.91 kB / 0.4924 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4409, allocations: 80.68 MB / 0.5712 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.00224/0.4432, allocations: 1.413 MB / 0.5725 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008216/0.4441, allocations: 0.5734 MB / 0.5731 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.4441, allocations: 0 / 0.5731 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0005446/0.4447, allocations: 0.8667 MB / 0.5739 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000646/0.4453, allocations: 0.9053 MB / 0.5748 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.4456, allocations: 83.95 kB / 0.5749 GB, free: 41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.447, allocations: 2.189 MB / 0.577 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.4471, allocations: 5.922 kB / 0.5771 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.4484, allocations: 1.09 MB / 0.5781 GB, free: 39.4 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.4503, allocations: 2.043 MB / 0.5801 GB, free: 38.62 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0002939/0.4506, allocations: 128.9 kB / 0.5802 GB, free: 38.62 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003701/0.451, allocations: 201.1 kB / 0.5804 GB, free: 38.58 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.003775/0.4548, allocations: 4.985 MB / 0.5853 GB, free: 35.02 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001743/0.4565, allocations: 2.831 MB / 0.5881 GB, free: 32.16 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003094/0.4596, allocations: 6.253 MB / 0.5942 GB, free: 25.88 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4596, allocations: 0 / 0.5942 GB, free: 25.88 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4597, allocations: 0 / 0.5942 GB, free: 25.88 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001059/0.4598, allocations: 0 / 0.5942 GB, free: 25.88 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.008707/0.4685, allocations: 9.963 MB / 0.6039 GB, free: 15.78 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.4685, allocations: 8.031 kB / 0.6039 GB, free: 15.77 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000817/0.4694, allocations: 1.103 MB / 0.605 GB, free: 14.65 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01659/0.486, allocations: 12.95 MB / 0.6176 GB, free: 1.574 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.486, allocations: 8.312 kB / 0.6176 GB, free: 1.566 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.709e-05/0.4861, allocations: 32.38 kB / 0.6177 GB, free: 1.535 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.4865, allocations: 425.6 kB / 0.6181 GB, free: 1.113 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.4865, allocations: 3.938 kB / 0.6181 GB, free: 1.109 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.083e-05/0.4866, allocations: 36 kB / 0.6181 GB, free: 1.074 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4866, allocations: 3.938 kB / 0.6181 GB, free: 1.07 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.4869, allocations: 240 kB / 0.6183 GB, free: 0.8359 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004188/0.4911, allocations: 3.572 MB / 0.6218 GB, free: 13.22 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.4914, allocations: 170.5 kB / 0.622 GB, free: 13.04 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.4917, allocations: 152.9 kB / 0.6221 GB, free: 12.89 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.4917, allocations: 0 / 0.6221 GB, free: 12.89 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004986/0.4922, allocations: 408.7 kB / 0.6225 GB, free: 12.47 MB / 478.3 MB Notification: Performance of pre-optimization done (n=8): time 2.255e-06/0.4922, allocations: 4 kB / 0.6225 GB, free: 12.47 MB / 478.3 MB Notification: Performance of matching and sorting (n=8): time 0.002849/0.4951, allocations: 2.188 MB / 0.6247 GB, free: 10.25 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.4951, allocations: 81.05 kB / 0.6247 GB, free: 10.16 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01432/0.5095, allocations: 12.47 MB / 0.6369 GB, free: 13.78 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.5097, allocations: 57.7 kB / 0.637 GB, free: 13.72 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.004323/0.514, allocations: 5.204 MB / 0.6421 GB, free: 8.512 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.5142, allocations: 55.89 kB / 0.6421 GB, free: 8.457 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.5144, allocations: 241.7 kB / 0.6424 GB, free: 8.215 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.5145, allocations: 310 kB / 0.6426 GB, free: 7.906 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.5147, allocations: 140 kB / 0.6428 GB, free: 7.77 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.5149, allocations: 140 kB / 0.6429 GB, free: 7.633 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.5154, allocations: 360.2 kB / 0.6433 GB, free: 7.266 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5154, allocations: 0 / 0.6433 GB, free: 7.266 MB / 494.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002421/0.5179, allocations: 2.051 MB / 0.6453 GB, free: 5.188 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.153e-05/0.5179, allocations: 37.69 kB / 0.6453 GB, free: 5.145 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5179, allocations: 0 / 0.6453 GB, free: 5.145 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.5179, allocations: 0 / 0.6453 GB, free: 5.145 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.309e-05/0.518, allocations: 4.094 kB / 0.6453 GB, free: 5.141 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.518, allocations: 3.938 kB / 0.6453 GB, free: 5.137 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009188/0.519, allocations: 36 kB / 0.6453 GB, free: 5.102 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003264/0.5193, allocations: 440 kB / 0.6458 GB, free: 4.672 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.002962/0.5223, allocations: 2.539 MB / 0.6482 GB, free: 2.117 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/0.5234, allocations: 1.141 MB / 0.6494 GB, free: 0.9609 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.525, allocations: 1.288 MB / 0.6506 GB, free: 15.66 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.525, allocations: 0 / 0.6506 GB, free: 15.66 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.525, allocations: 3.938 kB / 0.6506 GB, free: 15.66 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.525, allocations: 0 / 0.6506 GB, free: 15.66 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/0.5287, allocations: 3.884 MB / 0.6544 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5287, allocations: 0 / 0.6544 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-05/0.5287, allocations: 7.938 kB / 0.6544 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.5287, allocations: 8 kB / 0.6544 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/0.5289, allocations: 96 kB / 0.6545 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.5289, allocations: 3.984 kB / 0.6545 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5289, allocations: 0 / 0.6545 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.5312, allocations: 2.17 MB / 0.6566 GB, free: 9.41 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/0.533, allocations: 1.033 MB / 0.6576 GB, free: 8.344 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005018/0.5335, allocations: 32 kB / 0.6577 GB, free: 8.312 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006188/0.5342, allocations: 36 kB / 0.6577 GB, free: 8.277 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.5342, allocations: 8 kB / 0.6577 GB, free: 8.27 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003218/0.5345, allocations: 444 kB / 0.6581 GB, free: 7.836 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01013/0.5447, allocations: 8.567 MB / 0.6665 GB, free: 15.34 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.683e-06/0.5447, allocations: 0 / 0.6665 GB, free: 15.34 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.001159/0.5459, allocations: 347.9 kB / 0.6668 GB, free: 15 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.0002605/0.5462, allocations: 151.6 kB / 0.667 GB, free: 14.85 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0006133/0.5468, allocations: 423.4 kB / 0.6674 GB, free: 14.43 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5468, allocations: 0 / 0.6674 GB, free: 14.43 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003152/0.5471, allocations: 271.4 kB / 0.6676 GB, free: 14.15 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.5492, allocations: 0.8458 MB / 0.6685 GB, free: 13.3 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02002/0.5693, allocations: 17.01 MB / 0.6851 GB, free: 12.25 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004524/0.5739, allocations: 4.781 MB / 0.6898 GB, free: 7.441 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.004624/0.5785, allocations: 2.387 MB / 0.6921 GB, free: 5.043 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005204/0.579, allocations: 0.4955 MB / 0.6926 GB, free: 4.547 MB / 0.5295 GB Notification: Performance of SimCode: time 4.91e-07/0.5791, allocations: 0 / 0.6926 GB, free: 4.547 MB / 0.5295 GB Notification: Performance of Templates: time 0.09025/0.6693, allocations: 41.12 MB / 0.7327 GB, free: 11.32 MB / 0.5764 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches