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/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.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") [: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.001158/0.001158, allocations: 186.4 kB / 8.137 MB, free: 2.188 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.122/1.122, allocations: 221.4 MB / 229.9 MB, free: 3.059 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.0009276/0.0009275, allocations: 101.7 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9921/0.9921, allocations: 120.4 MB / 452 MB, free: 12.96 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.005e-06, allocations: 0 / 0.5282 GB, free: 52.48 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1793, allocations: 82.85 MB / 0.6091 GB, free: 3.555 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7563/0.9357, allocations: 125.9 MB / 0.7321 GB, free: 4.016 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/0.936, allocations: 48.75 kB / 0.7321 GB, free: 4 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.8875/1.823, allocations: 192.4 MB / 0.92 GB, free: 9.309 MB / 0.6828 GB Notification: Performance of Transformations before backend: time 0.001849/1.825, allocations: 252 kB / 0.9203 GB, free: 9.062 MB / 0.6828 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.0304/1.856, allocations: 12.53 MB / 0.9325 GB, free: 13.39 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/1.856, allocations: 8.031 kB / 0.9325 GB, free: 13.38 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006582/1.863, allocations: 2.205 MB / 0.9347 GB, free: 11.14 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.244/3.107, allocations: 23.05 MB / 0.9572 GB, free: 305.7 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/3.107, allocations: 5.688 kB / 0.9572 GB, free: 305.7 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000272/3.107, allocations: 0 / 0.9572 GB, free: 305.7 MB / 0.6984 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000853/3.108, allocations: 392.5 kB / 0.9576 GB, free: 305.7 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/3.109, allocations: 0.5889 MB / 0.9581 GB, free: 305.7 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/3.109, allocations: 3.75 kB / 0.9581 GB, free: 305.7 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/3.109, allocations: 1.625 kB / 0.9581 GB, free: 305.7 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/3.109, allocations: 9.109 kB / 0.9581 GB, free: 305.7 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02426/3.133, allocations: 6.77 MB / 0.9648 GB, free: 305.2 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/3.134, allocations: 230.8 kB / 0.965 GB, free: 305.2 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004281/3.135, allocations: 218.1 kB / 0.9652 GB, free: 305.2 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/3.135, allocations: 1.688 kB / 0.9652 GB, free: 305.2 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006811/3.136, allocations: 0.6331 MB / 0.9658 GB, free: 305.1 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=8): time 3.807e-06/3.136, allocations: 0 / 0.9658 GB, free: 305.1 MB / 0.6984 GB Notification: Performance of matching and sorting (n=8): time 0.006276/3.142, allocations: 3.014 MB / 0.9687 GB, free: 303.9 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/3.142, allocations: 83.8 kB / 0.9688 GB, free: 303.8 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04947/3.191, allocations: 19.99 MB / 0.9883 GB, free: 299 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 0.0006889/3.192, allocations: 29.41 kB / 0.9884 GB, free: 299 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 0.004417/3.197, allocations: 3.029 MB / 0.9913 GB, free: 297.8 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003832/3.197, allocations: 16.31 kB / 0.9913 GB, free: 297.8 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/3.197, allocations: 3.594 kB / 0.9914 GB, free: 297.8 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 7.216e-05/3.197, allocations: 313.9 kB / 0.9917 GB, free: 297.5 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/3.198, allocations: 199.5 kB / 0.9918 GB, free: 297.5 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/3.198, allocations: 201.9 kB / 0.992 GB, free: 297.5 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/3.198, allocations: 208.3 kB / 0.9922 GB, free: 297.5 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/3.198, allocations: 0 / 0.9922 GB, free: 297.5 MB / 0.6984 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.005199/3.204, allocations: 3.008 MB / 0.9952 GB, free: 296.2 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/3.204, allocations: 3.281 kB / 0.9952 GB, free: 296.2 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/3.204, allocations: 2.812 kB / 0.9952 GB, free: 296.2 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/3.204, allocations: 0 / 0.9952 GB, free: 296.2 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.73e-05/3.204, allocations: 6.531 kB / 0.9952 GB, free: 296.2 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/3.204, allocations: 3.969 kB / 0.9952 GB, free: 296.2 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/3.206, allocations: 9.188 kB / 0.9952 GB, free: 296.2 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006127/3.207, allocations: 0.8566 MB / 0.996 GB, free: 296 MB / 0.6984 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002621/3.207, allocations: 146.5 kB / 0.9962 GB, free: 295.9 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002118/3.209, allocations: 2.205 MB / 0.9983 GB, free: 294.6 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007919/3.217, allocations: 2.558 MB / 1.001 GB, free: 293.9 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/3.217, allocations: 0 / 1.001 GB, free: 293.9 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/3.217, allocations: 0 / 1.001 GB, free: 293.9 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/3.217, allocations: 2.859 kB / 1.001 GB, free: 293.9 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02212/3.24, allocations: 7.402 MB / 1.008 GB, free: 291.1 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/3.24, allocations: 0 / 1.008 GB, free: 291.1 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.364e-05/3.24, allocations: 4 kB / 1.008 GB, free: 291.1 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/3.24, allocations: 0 / 1.008 GB, free: 291.1 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008596/3.241, allocations: 192 kB / 1.008 GB, free: 290.9 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/3.241, allocations: 0 / 1.008 GB, free: 290.9 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/3.241, allocations: 0 / 1.008 GB, free: 290.9 MB / 0.6984 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006284/3.247, allocations: 3.183 MB / 1.011 GB, free: 287.7 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005175/3.252, allocations: 1.983 MB / 1.013 GB, free: 285.6 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002804/3.255, allocations: 18.28 kB / 1.013 GB, free: 285.6 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002458/3.257, allocations: 7.703 kB / 1.013 GB, free: 285.6 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/3.257, allocations: 0 / 1.013 GB, free: 285.6 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005498/3.258, allocations: 0.8594 MB / 1.014 GB, free: 284.8 MB / 0.6984 GB Notification: Performance of sort global known variables: time 0.03775/3.296, allocations: 15.83 MB / 1.03 GB, free: 271.5 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.003835/3.3, allocations: 0.5212 MB / 1.03 GB, free: 271 MB / 0.6984 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) * 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 (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.000424/3.3, allocations: 131.8 kB / 1.03 GB, free: 270.9 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.0009011/3.301, allocations: 449.7 kB / 1.031 GB, free: 270.4 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/3.301, allocations: 0.5625 kB / 1.031 GB, free: 270.4 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.0004801/3.302, allocations: 270.5 kB / 1.031 GB, free: 270.1 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005762/3.307, allocations: 1.574 MB / 1.032 GB, free: 268.6 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2068/3.514, allocations: 28.59 MB / 1.06 GB, free: 242.7 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01789/3.532, allocations: 10.27 MB / 1.07 GB, free: 234.5 MB / 0.6984 GB Notification: Performance of SimCode: time 1.683e-06/3.532, allocations: 0 / 1.07 GB, free: 234.5 MB / 0.6984 GB Notification: Performance of Templates: time 0.207/3.739, allocations: 74.76 MB / 1.143 GB, free: 161.1 MB / 0.6984 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