Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 91.36 kB / 16.65 MB, free: 6.234 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.001341/0.001341, allocations: 177.5 kB / 17.56 MB, free: 5.848 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.512/1.512, allocations: 223.3 MB / 241.6 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.105/1.105, allocations: 120.5 MB / 413.2 MB, free: 9.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005116/0.0005119, allocations: 19.94 kB / 0.4949 GB, free: 11.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5281/0.5286, allocations: 82.83 MB / 0.5758 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.001309/0.53, allocations: 1.135 MB / 0.5769 GB, free: 40.5 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008649/0.5309, allocations: 0.5798 MB / 0.5775 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.5309, allocations: 0.875 kB / 0.5775 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.5313, allocations: 444.9 kB / 0.5779 GB, free: 39.84 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004577/0.5318, allocations: 488.2 kB / 0.5784 GB, free: 39.59 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.532, allocations: 56.44 kB / 0.5784 GB, free: 39.55 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007519/0.5328, allocations: 1.113 MB / 0.5795 GB, free: 39.02 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.5329, allocations: 10.67 kB / 0.5795 GB, free: 39.01 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005251/0.5334, allocations: 0.5623 MB / 0.5801 GB, free: 38.73 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009672/0.5344, allocations: 0.9714 MB / 0.581 GB, free: 38.33 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.5345, allocations: 65.78 kB / 0.5811 GB, free: 38.33 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.5348, allocations: 132.2 kB / 0.5812 GB, free: 38.29 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002227/0.537, allocations: 2.501 MB / 0.5836 GB, free: 37.07 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.538, allocations: 1.445 MB / 0.5851 GB, free: 35.82 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.5405, allocations: 3.028 MB / 0.588 GB, free: 33.76 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.5405, allocations: 0 / 0.588 GB, free: 33.76 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5405, allocations: 4 kB / 0.588 GB, free: 33.76 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.221e-05/0.5406, allocations: 0 / 0.588 GB, free: 33.76 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.004271/0.5449, allocations: 4.579 MB / 0.5925 GB, free: 29.09 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5449, allocations: 12.03 kB / 0.5925 GB, free: 29.08 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004422/0.5454, allocations: 0.556 MB / 0.593 GB, free: 28.52 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008148/0.5535, allocations: 6.527 MB / 0.5994 GB, free: 21.91 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.5536, allocations: 4.375 kB / 0.5994 GB, free: 21.9 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.5536, allocations: 16.38 kB / 0.5994 GB, free: 21.89 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.5539, allocations: 245.8 kB / 0.5997 GB, free: 21.64 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.554, allocations: 0 / 0.5997 GB, free: 21.64 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/0.554, allocations: 19.94 kB / 0.5997 GB, free: 21.62 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.554, allocations: 4 kB / 0.5997 GB, free: 21.62 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.5542, allocations: 132 kB / 0.5998 GB, free: 21.49 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.5559, allocations: 1.866 MB / 0.6016 GB, free: 19.57 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.5561, allocations: 94.58 kB / 0.6017 GB, free: 19.47 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.5562, allocations: 92.89 kB / 0.6018 GB, free: 19.38 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.5562, allocations: 4 kB / 0.6018 GB, free: 19.38 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.5565, allocations: 260.8 kB / 0.6021 GB, free: 19.1 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.5565, allocations: 0 / 0.6021 GB, free: 19.1 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001166/0.5577, allocations: 1.156 MB / 0.6032 GB, free: 17.93 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.5578, allocations: 85.11 kB / 0.6033 GB, free: 17.82 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005676/0.5634, allocations: 6.271 MB / 0.6094 GB, free: 11.6 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.777e-05/0.5635, allocations: 45.7 kB / 0.6094 GB, free: 11.55 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.00154/0.5651, allocations: 2.52 MB / 0.6119 GB, free: 9.023 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.011e-05/0.5652, allocations: 39.8 kB / 0.6119 GB, free: 8.984 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.5652, allocations: 33.72 kB / 0.612 GB, free: 8.945 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.261e-05/0.5653, allocations: 310 kB / 0.6123 GB, free: 8.637 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.5654, allocations: 79.98 kB / 0.6123 GB, free: 8.559 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.5655, allocations: 87.88 kB / 0.6124 GB, free: 8.473 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.5658, allocations: 232.3 kB / 0.6127 GB, free: 8.23 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5658, allocations: 0 / 0.6127 GB, free: 8.23 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001038/0.5668, allocations: 1.093 MB / 0.6137 GB, free: 7.117 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.5669, allocations: 37.69 kB / 0.6138 GB, free: 7.074 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.5669, allocations: 0 / 0.6138 GB, free: 7.074 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.5669, allocations: 4 kB / 0.6138 GB, free: 7.07 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.684e-05/0.567, allocations: 4 kB / 0.6138 GB, free: 7.066 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.567, allocations: 0 / 0.6138 GB, free: 7.066 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.5675, allocations: 20 kB / 0.6138 GB, free: 7.047 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.5676, allocations: 224 kB / 0.614 GB, free: 6.828 MB / 462.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.001669/0.5693, allocations: 1.334 MB / 0.6153 GB, free: 5.477 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003408/0.5696, allocations: 0.5746 MB / 0.6159 GB, free: 4.895 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005758/0.5702, allocations: 0.648 MB / 0.6165 GB, free: 4.238 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.5702, allocations: 4 kB / 0.6165 GB, free: 4.234 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5702, allocations: 4 kB / 0.6165 GB, free: 4.23 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5702, allocations: 0 / 0.6165 GB, free: 4.23 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.5718, allocations: 2.018 MB / 0.6185 GB, free: 2.164 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5718, allocations: 0 / 0.6185 GB, free: 2.164 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.786e-05/0.5719, allocations: 7.938 kB / 0.6185 GB, free: 2.156 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.5719, allocations: 0 / 0.6185 GB, free: 2.156 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.326e-05/0.572, allocations: 48 kB / 0.6185 GB, free: 2.109 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.572, allocations: 4 kB / 0.6185 GB, free: 2.105 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.572, allocations: 0 / 0.6185 GB, free: 2.105 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.5731, allocations: 1.18 MB / 0.6197 GB, free: 0.8945 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000556/0.5737, allocations: 0.5601 MB / 0.6202 GB, free: 316 kB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.5739, allocations: 24 kB / 0.6203 GB, free: 292 kB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.5742, allocations: 16 kB / 0.6203 GB, free: 276 kB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.5743, allocations: 4 kB / 0.6203 GB, free: 272 kB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.5744, allocations: 220 kB / 0.6205 GB, free: 52 kB / 462.3 MB Notification: Performance of sorting global known variables: time 0.006732/0.5811, allocations: 4.336 MB / 0.6247 GB, free: 11.75 MB / 478.3 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5812, allocations: 0 / 0.6247 GB, free: 11.75 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0008259/0.582, allocations: 192 kB / 0.6249 GB, free: 11.57 MB / 478.3 MB 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.0003406/0.5823, allocations: 154.2 kB / 0.625 GB, free: 11.41 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0005243/0.5829, allocations: 279.5 kB / 0.6253 GB, free: 11.12 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.5829, allocations: 4 kB / 0.6253 GB, free: 11.12 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.5832, allocations: 183.4 kB / 0.6255 GB, free: 10.93 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.5848, allocations: 445.1 kB / 0.6259 GB, free: 10.49 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/0.5991, allocations: 9.488 MB / 0.6352 GB, free: 0.9727 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003424/0.6026, allocations: 2.728 MB / 0.6378 GB, free: 14.21 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.003319/0.6059, allocations: 1.129 MB / 0.6389 GB, free: 13.07 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000401/0.6063, allocations: 259.4 kB / 0.6392 GB, free: 12.82 MB / 494.3 MB Notification: Performance of SimCode: time 1.543e-06/0.6063, allocations: 0 / 0.6392 GB, free: 12.82 MB / 494.3 MB Notification: Performance of Templates: time 0.0574/0.6638, allocations: 20.29 MB / 0.659 GB, free: 8.41 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches