Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 116.8 kB / 17.06 MB, free: 6 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.001862/0.001863, allocations: 194.9 kB / 18 MB, free: 5.078 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.431/1.431, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.126/1.126, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 61.44 kB / 0.5709 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1865, allocations: 80.71 MB / 0.6497 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.003121/0.1897, allocations: 1.398 MB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1909, allocations: 0.573 MB / 0.6516 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.391e-05/0.191, allocations: 0 / 0.6516 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.1922, allocations: 1.719 MB / 0.6533 GB, free: 9.336 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.1937, allocations: 1.766 MB / 0.655 GB, free: 7.566 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.194, allocations: 79.8 kB / 0.6551 GB, free: 7.488 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.003423/0.1975, allocations: 4.311 MB / 0.6593 GB, free: 3.172 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.853e-05/0.1976, allocations: 8 kB / 0.6593 GB, free: 3.164 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003845/0.2014, allocations: 2.141 MB / 0.6614 GB, free: 1.02 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006298/0.2077, allocations: 4.052 MB / 0.6654 GB, free: 12.96 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0005912/0.2084, allocations: 255.9 kB / 0.6656 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000678/0.209, allocations: 331.9 kB / 0.6659 GB, free: 12.39 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.01144/0.2205, allocations: 9.951 MB / 0.6757 GB, free: 2.41 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.009791/0.2304, allocations: 5.632 MB / 0.6812 GB, free: 12.72 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.2436, allocations: 12.42 MB / 0.6933 GB, free: 240 kB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.2437, allocations: 0 / 0.6933 GB, free: 240 kB / 0.5295 GB Notification: Performance of FrontEnd: time 2.895e-06/0.2437, allocations: 0 / 0.6933 GB, free: 240 kB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.0005975/0.2443, allocations: 0 / 0.6933 GB, free: 240 kB / 0.5295 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.02826/0.2726, allocations: 19.57 MB / 0.7124 GB, free: 12.44 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.2727, allocations: 8.031 kB / 0.7124 GB, free: 12.43 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002996/0.2757, allocations: 2.206 MB / 0.7146 GB, free: 10.2 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0586/0.3343, allocations: 25.82 MB / 0.7398 GB, free: 180 kB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.3344, allocations: 4.359 kB / 0.7398 GB, free: 176 kB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.3346, allocations: 64.38 kB / 0.7399 GB, free: 112 kB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.3356, allocations: 0.7864 MB / 0.7406 GB, free: 15.32 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3356, allocations: 4 kB / 0.7406 GB, free: 15.31 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.3358, allocations: 64 kB / 0.7407 GB, free: 15.25 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.3358, allocations: 4 kB / 0.7407 GB, free: 15.25 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005814/0.3364, allocations: 459.9 kB / 0.7411 GB, free: 14.8 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01466/0.351, allocations: 7 MB / 0.748 GB, free: 7.746 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007852/0.3519, allocations: 290.6 kB / 0.7482 GB, free: 7.453 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006453/0.3525, allocations: 276.9 kB / 0.7485 GB, free: 7.18 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.3526, allocations: 4 kB / 0.7485 GB, free: 7.176 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008895/0.3535, allocations: 0.7151 MB / 0.7492 GB, free: 6.441 MB / 0.592 GB Notification: Performance of pre-optimization done (n=8): time 2.565e-06/0.3535, allocations: 0 / 0.7492 GB, free: 6.441 MB / 0.592 GB Notification: Performance of matching and sorting (n=8): time 0.00768/0.3612, allocations: 4.228 MB / 0.7533 GB, free: 2.172 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.637e-05/0.3613, allocations: 81.09 kB / 0.7534 GB, free: 2.074 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7884/1.15, allocations: 24.83 MB / 0.7777 GB, free: 86.18 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0003879/1.15, allocations: 89.17 kB / 0.7777 GB, free: 86.15 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.01073/1.161, allocations: 10.82 MB / 0.7883 GB, free: 77.52 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005423/1.161, allocations: 90.44 kB / 0.7884 GB, free: 77.52 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006244/1.162, allocations: 463.9 kB / 0.7888 GB, free: 77.5 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 5.719e-05/1.162, allocations: 308.3 kB / 0.7891 GB, free: 77.2 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/1.163, allocations: 268.5 kB / 0.7894 GB, free: 77.19 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/1.163, allocations: 267.8 kB / 0.7896 GB, free: 77.18 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009444/1.164, allocations: 0.5924 MB / 0.7902 GB, free: 77.09 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.164, allocations: 0 / 0.7902 GB, free: 77.09 MB / 0.6079 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.006932/1.171, allocations: 3.973 MB / 0.7941 GB, free: 77.01 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 4.835e-05/1.171, allocations: 35.73 kB / 0.7941 GB, free: 76.98 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/1.171, allocations: 3.531 kB / 0.7941 GB, free: 76.98 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/1.171, allocations: 0.5625 kB / 0.7941 GB, free: 76.98 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.497e-05/1.171, allocations: 9.391 kB / 0.7942 GB, free: 76.98 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/1.171, allocations: 0.5625 kB / 0.7942 GB, free: 76.98 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/1.173, allocations: 68.69 kB / 0.7942 GB, free: 76.98 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006029/1.174, allocations: 0.8586 MB / 0.7951 GB, free: 76.86 MB / 0.6079 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.006041/1.18, allocations: 4.906 MB / 0.7998 GB, free: 76.22 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002251/1.182, allocations: 2.274 MB / 0.8021 GB, free: 76.21 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003632/1.186, allocations: 2.562 MB / 0.8046 GB, free: 75.48 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.186, allocations: 0 / 0.8046 GB, free: 75.48 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.186, allocations: 6.25 kB / 0.8046 GB, free: 75.48 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/1.186, allocations: 0 / 0.8046 GB, free: 75.48 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009137/1.195, allocations: 7.618 MB / 0.812 GB, free: 72.07 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.195, allocations: 3.75 kB / 0.812 GB, free: 72.07 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.846e-05/1.195, allocations: 0 / 0.812 GB, free: 72.07 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/1.195, allocations: 0 / 0.812 GB, free: 72.07 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004454/1.195, allocations: 204.3 kB / 0.8122 GB, free: 72.05 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/1.195, allocations: 0.6875 kB / 0.8122 GB, free: 72.05 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.195, allocations: 0 / 0.8122 GB, free: 72.05 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004439/1.2, allocations: 4.157 MB / 0.8163 GB, free: 70.54 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003199/1.203, allocations: 1.99 MB / 0.8182 GB, free: 68.91 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00147/1.204, allocations: 67.94 kB / 0.8183 GB, free: 68.84 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/1.206, allocations: 64 kB / 0.8183 GB, free: 68.78 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/1.206, allocations: 4 kB / 0.8183 GB, free: 68.77 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004952/1.206, allocations: 0.8668 MB / 0.8192 GB, free: 67.91 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.02498/1.231, allocations: 17.24 MB / 0.836 GB, free: 50.82 MB / 0.6079 GB Notification: Performance of sort global known variables: time 4.11e-07/1.231, allocations: 0 / 0.836 GB, free: 50.82 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.002641/1.234, allocations: 0.6398 MB / 0.8367 GB, free: 50.18 MB / 0.6079 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.0002878/1.234, allocations: 192.1 kB / 0.8368 GB, free: 50 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.0009446/1.235, allocations: 0.6896 MB / 0.8375 GB, free: 49.3 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.235, allocations: 0 / 0.8375 GB, free: 49.3 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.0004797/1.236, allocations: 423.4 kB / 0.8379 GB, free: 48.87 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004118/1.24, allocations: 1.692 MB / 0.8396 GB, free: 47.18 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03764/1.278, allocations: 34.61 MB / 0.8734 GB, free: 12.78 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009609/1.287, allocations: 8.916 MB / 0.8821 GB, free: 3.824 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.00992/1.297, allocations: 4.696 MB / 0.8867 GB, free: 15.15 MB / 0.6235 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/1.299, allocations: 0.9877 MB / 0.8876 GB, free: 14.16 MB / 0.6235 GB Notification: Performance of SimCode: time 9.02e-07/1.299, allocations: 0 / 0.8876 GB, free: 14.16 MB / 0.6235 GB Notification: Performance of Templates: time 0.2192/1.518, allocations: 82.69 MB / 0.9684 GB, free: 11.35 MB / 0.7017 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches