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.001142/0.001148, allocations: 107.4 kB / 16.51 MB, free: 6.707 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.001309/0.001309, allocations: 193.9 kB / 17.43 MB, free: 6.062 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.437/1.437, allocations: 222.9 MB / 241.1 MB, free: 15.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.12/1.12, allocations: 119.3 MB / 410.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 56.05 kB / 0.4903 GB, free: 14.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5751/0.5765, allocations: 80.68 MB / 0.5691 GB, free: 43.7 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002333/0.5789, allocations: 1.473 MB / 0.5705 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008173/0.5797, allocations: 0.5923 MB / 0.5711 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.5798, allocations: 1.469 kB / 0.5711 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.5808, allocations: 1.717 MB / 0.5727 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.582, allocations: 1.76 MB / 0.5745 GB, free: 40.34 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.5822, allocations: 60.81 kB / 0.5745 GB, free: 40.3 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.003403/0.5856, allocations: 4.3 MB / 0.5787 GB, free: 38.21 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.5857, allocations: 2.531 kB / 0.5787 GB, free: 38.21 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003301/0.589, allocations: 2.138 MB / 0.5808 GB, free: 37.18 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/0.5926, allocations: 3.813 MB / 0.5845 GB, free: 34.17 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0004653/0.5931, allocations: 252 kB / 0.5848 GB, free: 33.93 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005382/0.5936, allocations: 327.9 kB / 0.5851 GB, free: 33.61 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.006401/0.6, allocations: 9.954 MB / 0.5948 GB, free: 23.62 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.00521/0.6052, allocations: 5.639 MB / 0.6003 GB, free: 17.93 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.006292/0.6115, allocations: 11.93 MB / 0.612 GB, free: 5.934 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6116, allocations: 0 / 0.612 GB, free: 5.934 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.182e-06/0.6116, allocations: 0 / 0.612 GB, free: 5.934 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0002697/0.6119, allocations: 0 / 0.612 GB, free: 5.934 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.02448/0.6363, allocations: 19.56 MB / 0.6311 GB, free: 2.145 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.6364, allocations: 8.031 kB / 0.6311 GB, free: 2.137 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0028/0.6392, allocations: 2.202 MB / 0.6332 GB, free: 15.9 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0498/0.689, allocations: 25.82 MB / 0.6584 GB, free: 5.883 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.6891, allocations: 8.375 kB / 0.6585 GB, free: 5.875 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.6892, allocations: 64.38 kB / 0.6585 GB, free: 5.812 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009131/0.6901, allocations: 0.7864 MB / 0.6593 GB, free: 5.02 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.6902, allocations: 0 / 0.6593 GB, free: 5.02 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.6903, allocations: 64 kB / 0.6593 GB, free: 4.957 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.6903, allocations: 0 / 0.6593 GB, free: 4.957 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005808/0.6909, allocations: 463.9 kB / 0.6598 GB, free: 4.504 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01135/0.7022, allocations: 6.992 MB / 0.6666 GB, free: 13.46 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007031/0.703, allocations: 294.6 kB / 0.6669 GB, free: 13.16 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.7034, allocations: 280.9 kB / 0.6672 GB, free: 12.88 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.7034, allocations: 3.938 kB / 0.6672 GB, free: 12.88 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008893/0.7043, allocations: 0.7112 MB / 0.6679 GB, free: 12.15 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 2.725e-06/0.7044, allocations: 0 / 0.6679 GB, free: 12.15 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.006282/0.7106, allocations: 4.232 MB / 0.672 GB, free: 7.875 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.7107, allocations: 77.11 kB / 0.6721 GB, free: 7.781 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04226/0.753, allocations: 24.84 MB / 0.6963 GB, free: 15.14 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0003456/0.7534, allocations: 89.7 kB / 0.6964 GB, free: 15.05 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01193/0.7653, allocations: 10.82 MB / 0.707 GB, free: 4.227 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005882/0.766, allocations: 79.81 kB / 0.7071 GB, free: 4.148 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006612/0.7666, allocations: 461.7 kB / 0.7075 GB, free: 3.691 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.7667, allocations: 306 kB / 0.7078 GB, free: 3.387 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004676/0.7672, allocations: 272 kB / 0.7081 GB, free: 3.121 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.7676, allocations: 260 kB / 0.7083 GB, free: 2.867 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009014/0.7686, allocations: 0.5978 MB / 0.7089 GB, free: 2.254 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.7686, allocations: 0 / 0.7089 GB, free: 2.254 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.005947/0.7745, allocations: 3.974 MB / 0.7128 GB, free: 14.24 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 4.902e-05/0.7746, allocations: 41.69 kB / 0.7128 GB, free: 14.19 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.7746, allocations: 0 / 0.7128 GB, free: 14.19 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.7746, allocations: 0 / 0.7128 GB, free: 14.19 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/0.7747, allocations: 8 kB / 0.7128 GB, free: 14.18 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-06/0.7747, allocations: 0 / 0.7128 GB, free: 14.18 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002886/0.7776, allocations: 75.84 kB / 0.7129 GB, free: 14.11 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007561/0.7784, allocations: 0.8594 MB / 0.7137 GB, free: 13.25 MB / 0.5608 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.007856/0.7863, allocations: 4.91 MB / 0.7185 GB, free: 8.32 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00319/0.7895, allocations: 2.264 MB / 0.7207 GB, free: 6.027 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005287/0.7947, allocations: 2.565 MB / 0.7232 GB, free: 3.453 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.7948, allocations: 0 / 0.7232 GB, free: 3.453 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7948, allocations: 0 / 0.7232 GB, free: 3.453 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7948, allocations: 0 / 0.7232 GB, free: 3.453 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01845/0.8132, allocations: 7.621 MB / 0.7307 GB, free: 11.78 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.8133, allocations: 4 kB / 0.7307 GB, free: 11.78 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.257e-05/0.8134, allocations: 7.875 kB / 0.7307 GB, free: 11.77 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.076e-06/0.8134, allocations: 0 / 0.7307 GB, free: 11.77 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007088/0.8141, allocations: 196 kB / 0.7309 GB, free: 11.58 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.8141, allocations: 0 / 0.7309 GB, free: 11.58 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.8141, allocations: 0 / 0.7309 GB, free: 11.58 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006054/0.8202, allocations: 4.17 MB / 0.7349 GB, free: 7.355 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003789/0.824, allocations: 1.983 MB / 0.7369 GB, free: 5.324 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/0.8253, allocations: 71.98 kB / 0.737 GB, free: 5.254 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.8265, allocations: 64 kB / 0.737 GB, free: 5.191 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.8266, allocations: 8 kB / 0.737 GB, free: 5.184 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006362/0.8272, allocations: 0.8594 MB / 0.7379 GB, free: 4.324 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.02845/0.8557, allocations: 17.24 MB / 0.7547 GB, free: 3.234 MB / 0.592 GB Notification: Performance of sort global known variables: time 6.81e-07/0.8557, allocations: 0 / 0.7547 GB, free: 3.234 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.002649/0.8584, allocations: 0.6406 MB / 0.7553 GB, free: 2.594 MB / 0.592 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.0003373/0.8587, allocations: 185.8 kB / 0.7555 GB, free: 2.406 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.8598, allocations: 0.6907 MB / 0.7562 GB, free: 1.703 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8598, allocations: 0 / 0.7562 GB, free: 1.703 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0005525/0.8604, allocations: 427.4 kB / 0.7566 GB, free: 1.273 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6025/1.463, allocations: 1.695 MB / 0.7582 GB, free: 160.5 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06392/1.527, allocations: 39.01 MB / 0.7963 GB, free: 141.1 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01176/1.539, allocations: 8.914 MB / 0.805 GB, free: 132.1 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.01275/1.551, allocations: 4.699 MB / 0.8096 GB, free: 127.4 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001814/1.553, allocations: 0.9838 MB / 0.8106 GB, free: 126.4 MB / 0.5923 GB Notification: Performance of SimCode: time 1.092e-06/1.553, allocations: 0 / 0.8106 GB, free: 126.4 MB / 0.5923 GB Notification: Performance of Templates: time 0.1984/1.752, allocations: 81.24 MB / 0.8899 GB, free: 45.11 MB / 0.5923 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches