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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 186.1 kB / 8.136 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.127/1.127, allocations: 221.4 MB / 229.9 MB, free: 3.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009746/0.0009746, allocations: 99.73 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6508/0.6508, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.799e-06/4.839e-06, allocations: 0 / 0.5282 GB, free: 52.45 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 82.85 MB / 0.6091 GB, free: 3.578 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5042/0.6169, allocations: 128.4 MB / 0.7345 GB, free: 1.73 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001204/0.6171, allocations: 45.05 kB / 0.7346 GB, free: 1.711 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.089/0.7061, allocations: 28.06 MB / 0.762 GB, free: 7.586 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0005509/0.7067, allocations: 64 kB / 0.762 GB, free: 7.523 MB / 0.5265 GB 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.005376/0.7121, allocations: 3.416 MB / 0.7654 GB, free: 4.297 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.7121, allocations: 8.031 kB / 0.7654 GB, free: 4.289 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008401/0.713, allocations: 0.559 MB / 0.7659 GB, free: 3.723 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01164/0.7246, allocations: 5.749 MB / 0.7715 GB, free: 14.57 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.7247, allocations: 3.375 kB / 0.7715 GB, free: 14.57 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.7247, allocations: 4 kB / 0.7715 GB, free: 14.57 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001034/0.7248, allocations: 11.69 kB / 0.7715 GB, free: 14.56 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.6e-05/0.7249, allocations: 49.36 kB / 0.7716 GB, free: 14.51 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.725, allocations: 0 / 0.7716 GB, free: 14.51 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.725, allocations: 0 / 0.7716 GB, free: 14.51 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.725, allocations: 0 / 0.7716 GB, free: 14.51 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/0.7277, allocations: 1.81 MB / 0.7734 GB, free: 13.16 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.7278, allocations: 45.75 kB / 0.7734 GB, free: 13.12 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.102e-05/0.7278, allocations: 16.61 kB / 0.7734 GB, free: 13.1 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.7279, allocations: 4 kB / 0.7734 GB, free: 13.1 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.578e-05/0.728, allocations: 68.42 kB / 0.7735 GB, free: 13.03 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=5): time 1.764e-06/0.728, allocations: 0 / 0.7735 GB, free: 13.03 MB / 0.5421 GB Notification: Performance of matching and sorting (n=5): time 0.0008619/0.7288, allocations: 0.6141 MB / 0.7741 GB, free: 12.41 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.7289, allocations: 51.41 kB / 0.7741 GB, free: 12.34 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006469/0.7354, allocations: 5.193 MB / 0.7792 GB, free: 8.191 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.7354, allocations: 25.7 kB / 0.7792 GB, free: 8.16 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005665/0.736, allocations: 0.8215 MB / 0.78 GB, free: 7.582 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.7361, allocations: 23.67 kB / 0.7801 GB, free: 7.562 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.7361, allocations: 0 / 0.7801 GB, free: 7.562 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 9.527e-05/0.7362, allocations: 306 kB / 0.7803 GB, free: 7.258 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.087e-05/0.7362, allocations: 11.69 kB / 0.7804 GB, free: 7.25 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.23e-05/0.7363, allocations: 25.58 kB / 0.7804 GB, free: 7.223 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.932e-05/0.7363, allocations: 15.62 kB / 0.7804 GB, free: 7.215 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7363, allocations: 7.938 kB / 0.7804 GB, free: 7.207 MB / 0.5421 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007633/0.7371, allocations: 0.6265 MB / 0.781 GB, free: 6.574 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.7371, allocations: 4 kB / 0.781 GB, free: 6.57 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.7371, allocations: 4 kB / 0.781 GB, free: 6.566 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.7372, allocations: 0 / 0.781 GB, free: 6.566 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.7373, allocations: 11.98 kB / 0.781 GB, free: 6.555 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.7373, allocations: 0 / 0.781 GB, free: 6.555 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004533/0.7378, allocations: 4 kB / 0.781 GB, free: 6.551 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.7378, allocations: 4 kB / 0.781 GB, free: 6.547 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.773e-05/0.7379, allocations: 112.7 kB / 0.7812 GB, free: 6.434 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004493/0.7383, allocations: 0.5629 MB / 0.7817 GB, free: 5.863 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009271/0.7393, allocations: 0.7142 MB / 0.7824 GB, free: 5.27 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.7393, allocations: 0 / 0.7824 GB, free: 5.27 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.7393, allocations: 0 / 0.7824 GB, free: 5.27 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.7393, allocations: 0 / 0.7824 GB, free: 5.27 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.7411, allocations: 1.964 MB / 0.7843 GB, free: 3.766 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.7411, allocations: 0 / 0.7843 GB, free: 3.766 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.7411, allocations: 4 kB / 0.7843 GB, free: 3.762 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.7411, allocations: 3.984 kB / 0.7843 GB, free: 3.758 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.7411, allocations: 8.188 kB / 0.7843 GB, free: 3.75 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.7412, allocations: 4 kB / 0.7843 GB, free: 3.746 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7412, allocations: 0 / 0.7843 GB, free: 3.746 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006145/0.7418, allocations: 0.6835 MB / 0.785 GB, free: 3.051 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006233/0.7424, allocations: 0.5636 MB / 0.7856 GB, free: 2.465 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002756/0.7427, allocations: 0 / 0.7856 GB, free: 2.465 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.7431, allocations: 4 kB / 0.7856 GB, free: 2.461 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.7431, allocations: 8 kB / 0.7856 GB, free: 2.453 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.7431, allocations: 3.984 kB / 0.7856 GB, free: 2.449 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.005147/0.7483, allocations: 4.048 MB / 0.7895 GB, free: 15.31 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.0006746/0.749, allocations: 151.4 kB / 0.7897 GB, free: 15.16 MB / 0.5578 GB 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006634/0.7497, allocations: 303.8 kB / 0.79 GB, free: 14.94 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.7498, allocations: 37.25 kB / 0.79 GB, free: 14.91 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.7498, allocations: 8.062 kB / 0.79 GB, free: 14.9 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 4.21e-05/0.7499, allocations: 26.48 kB / 0.79 GB, free: 14.88 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009681/0.7508, allocations: 428.1 kB / 0.7904 GB, free: 14.71 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02095/0.7718, allocations: 6.85 MB / 0.7971 GB, free: 8.094 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004303/0.7762, allocations: 3.627 MB / 0.8007 GB, free: 4.715 MB / 0.5578 GB Notification: Performance of SimCode: time 1.233e-06/0.7762, allocations: 0 / 0.8007 GB, free: 4.715 MB / 0.5578 GB Notification: Performance of Templates: time 0.04804/0.8242, allocations: 13.97 MB / 0.8143 GB, free: 6.75 MB / 0.5734 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/jenkins/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