Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001536/0.001536, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.346/1.346, allocations: 222.9 MB / 241.8 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9616/0.9616, allocations: 119.3 MB / 411.2 MB, free: 9.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001254, allocations: 55.91 kB / 0.4909 GB, free: 14.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5573/0.5586, allocations: 80.69 MB / 0.5697 GB, free: 43.49 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.002704/0.5613, allocations: 1.638 MB / 0.5713 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.5625, allocations: 0.8803 MB / 0.5721 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.89e-05/0.5626, allocations: 3.938 kB / 0.5721 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.00079/0.5634, allocations: 0.8943 MB / 0.573 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005393/0.564, allocations: 0.515 MB / 0.5735 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.5642, allocations: 90.83 kB / 0.5736 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00084/0.5651, allocations: 1.16 MB / 0.5747 GB, free: 40.16 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.149e-05/0.5651, allocations: 4.562 kB / 0.5747 GB, free: 40.16 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006998/0.5658, allocations: 0.5793 MB / 0.5753 GB, free: 39.88 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009235/0.5668, allocations: 0.9797 MB / 0.5763 GB, free: 39.48 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.5669, allocations: 64.16 kB / 0.5763 GB, free: 39.48 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002426/0.5672, allocations: 100.6 kB / 0.5764 GB, free: 39.46 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002425/0.5696, allocations: 2.499 MB / 0.5789 GB, free: 38.23 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000978/0.5706, allocations: 1.438 MB / 0.5803 GB, free: 37 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.5727, allocations: 2.322 MB / 0.5825 GB, free: 35.7 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.5727, allocations: 0 / 0.5825 GB, free: 35.7 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.342e-06/0.5727, allocations: 0 / 0.5825 GB, free: 35.7 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.358e-05/0.5728, allocations: 0 / 0.5825 GB, free: 35.7 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.005998/0.5788, allocations: 5.176 MB / 0.5876 GB, free: 31.48 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.5789, allocations: 12.03 kB / 0.5876 GB, free: 31.47 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005422/0.5794, allocations: 0.556 MB / 0.5881 GB, free: 30.91 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007797/0.5872, allocations: 6.555 MB / 0.5945 GB, free: 24.27 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.5873, allocations: 4.375 kB / 0.5946 GB, free: 24.27 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.5873, allocations: 4.125 kB / 0.5946 GB, free: 24.27 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.5875, allocations: 53.67 kB / 0.5946 GB, free: 24.21 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.5875, allocations: 0 / 0.5946 GB, free: 24.21 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.5875, allocations: 0 / 0.5946 GB, free: 24.21 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5875, allocations: 0 / 0.5946 GB, free: 24.21 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.751e-05/0.5876, allocations: 15.98 kB / 0.5946 GB, free: 24.19 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.5891, allocations: 1.863 MB / 0.5964 GB, free: 22.28 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.5893, allocations: 54.56 kB / 0.5965 GB, free: 22.22 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.5893, allocations: 24.78 kB / 0.5965 GB, free: 22.19 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.5894, allocations: 7.984 kB / 0.5965 GB, free: 22.18 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.5896, allocations: 59.39 kB / 0.5966 GB, free: 22.11 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.5896, allocations: 4 kB / 0.5966 GB, free: 22.11 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0006871/0.5903, allocations: 0.6582 MB / 0.5972 GB, free: 21.44 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.5903, allocations: 51.41 kB / 0.5973 GB, free: 21.38 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00556/0.5959, allocations: 6.442 MB / 0.6036 GB, free: 14.98 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.5959, allocations: 25.7 kB / 0.6036 GB, free: 14.95 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001637/0.5976, allocations: 2.665 MB / 0.6062 GB, free: 12.28 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.5976, allocations: 7.906 kB / 0.6062 GB, free: 12.27 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.5977, allocations: 25.61 kB / 0.6062 GB, free: 12.24 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.3e-05/0.5977, allocations: 314 kB / 0.6065 GB, free: 11.93 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.981e-05/0.5978, allocations: 16.19 kB / 0.6065 GB, free: 11.91 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-05/0.5979, allocations: 29.7 kB / 0.6066 GB, free: 11.88 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.842e-05/0.598, allocations: 49.64 kB / 0.6066 GB, free: 11.82 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.598, allocations: 0 / 0.6066 GB, free: 11.82 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005931/0.5986, allocations: 0.6465 MB / 0.6072 GB, free: 11.16 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.5986, allocations: 4 kB / 0.6073 GB, free: 11.16 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5986, allocations: 0 / 0.6073 GB, free: 11.16 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.5986, allocations: 4 kB / 0.6073 GB, free: 11.15 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/0.5987, allocations: 15.92 kB / 0.6073 GB, free: 11.14 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.5987, allocations: 0 / 0.6073 GB, free: 11.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/0.5991, allocations: 16 kB / 0.6073 GB, free: 11.12 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.5991, allocations: 7.938 kB / 0.6073 GB, free: 11.11 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.001319/0.6004, allocations: 1.286 MB / 0.6086 GB, free: 9.816 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/0.6008, allocations: 0.5903 MB / 0.6091 GB, free: 9.219 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.6013, allocations: 0.652 MB / 0.6098 GB, free: 8.566 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.6013, allocations: 0 / 0.6098 GB, free: 8.566 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.6013, allocations: 0 / 0.6098 GB, free: 8.566 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.6013, allocations: 0 / 0.6098 GB, free: 8.566 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.6027, allocations: 2.034 MB / 0.6117 GB, free: 6.484 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.6027, allocations: 0 / 0.6117 GB, free: 6.484 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-05/0.6027, allocations: 0 / 0.6117 GB, free: 6.484 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6027, allocations: 4 kB / 0.6118 GB, free: 6.48 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.6028, allocations: 4 kB / 0.6118 GB, free: 6.477 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.6028, allocations: 0 / 0.6118 GB, free: 6.477 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6028, allocations: 4 kB / 0.6118 GB, free: 6.473 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.6033, allocations: 0.7212 MB / 0.6125 GB, free: 5.727 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004206/0.6037, allocations: 0.5209 MB / 0.613 GB, free: 5.18 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/0.604, allocations: 20 kB / 0.613 GB, free: 5.16 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.6043, allocations: 16 kB / 0.613 GB, free: 5.145 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.6043, allocations: 4 kB / 0.613 GB, free: 5.141 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.6043, allocations: 3.984 kB / 0.613 GB, free: 5.137 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.004072/0.6084, allocations: 4.42 MB / 0.6173 GB, free: 0.7578 MB / 462.3 MB Notification: Performance of sort global known variables: time 3.4e-07/0.6084, allocations: 0 / 0.6173 GB, free: 0.7578 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004665/0.6089, allocations: 168 kB / 0.6175 GB, free: 0.5938 MB / 462.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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009246/0.6098, allocations: 414 kB / 0.6179 GB, free: 348 kB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001632/0.61, allocations: 39.92 kB / 0.6179 GB, free: 308 kB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.61, allocations: 0 / 0.6179 GB, free: 308 kB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.579e-05/0.6101, allocations: 16 kB / 0.6179 GB, free: 292 kB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.6113, allocations: 472.2 kB / 0.6184 GB, free: 15.82 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/0.6234, allocations: 9.766 MB / 0.6279 GB, free: 6.016 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002204/0.6257, allocations: 2.737 MB / 0.6306 GB, free: 3.254 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/0.6272, allocations: 0.5694 MB / 0.6312 GB, free: 2.684 MB / 478.3 MB Notification: Performance of SimCode: time 1.964e-06/0.6272, allocations: 0 / 0.6312 GB, free: 2.684 MB / 478.3 MB Notification: Performance of Templates: time 0.7473/1.375, allocations: 137.5 MB / 0.7654 GB, free: 159.1 MB / 0.5923 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches