Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001135/0.001135, allocations: 187.6 kB / 8.138 MB, free: 2.219 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.184/1.184, 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.001088/0.001088, allocations: 104.1 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.6866/0.6866, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.029e-06/5.049e-06, allocations: 0 / 0.5282 GB, free: 52.46 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1267, allocations: 82.84 MB / 0.6091 GB, free: 3.594 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5306/0.6573, allocations: 128.4 MB / 0.7345 GB, free: 1.777 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001217/0.6575, allocations: 46.67 kB / 0.7346 GB, free: 1.758 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.09156/0.7491, allocations: 28.06 MB / 0.762 GB, free: 7.641 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0004499/0.7496, allocations: 64 kB / 0.762 GB, free: 7.578 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.004635/0.7542, allocations: 3.412 MB / 0.7654 GB, free: 4.355 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.7543, allocations: 8.031 kB / 0.7654 GB, free: 4.348 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008372/0.7551, allocations: 0.559 MB / 0.7659 GB, free: 3.781 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/0.7665, allocations: 5.745 MB / 0.7715 GB, free: 14.64 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.7665, allocations: 0 / 0.7715 GB, free: 14.64 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.7666, allocations: 8 kB / 0.7715 GB, free: 14.63 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.488e-05/0.7666, allocations: 18.56 kB / 0.7715 GB, free: 14.62 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.751e-05/0.7667, allocations: 45.17 kB / 0.7716 GB, free: 14.57 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.7667, allocations: 0 / 0.7716 GB, free: 14.57 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.7668, allocations: 0 / 0.7716 GB, free: 14.57 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.7668, allocations: 0 / 0.7716 GB, free: 14.57 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.7684, allocations: 1.809 MB / 0.7734 GB, free: 13.22 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 9.582e-05/0.7685, allocations: 43.38 kB / 0.7734 GB, free: 13.18 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.7685, allocations: 20.61 kB / 0.7734 GB, free: 13.16 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.7686, allocations: 3.25 kB / 0.7734 GB, free: 13.16 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/0.7687, allocations: 64.86 kB / 0.7735 GB, free: 13.09 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.7687, allocations: 0 / 0.7735 GB, free: 13.09 MB / 0.5421 GB Notification: Performance of matching and sorting (n=5): time 0.0006102/0.7693, allocations: 0.6136 MB / 0.7741 GB, free: 12.47 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.7693, allocations: 51.41 kB / 0.7741 GB, free: 12.41 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005373/0.7747, allocations: 5.192 MB / 0.7792 GB, free: 8.254 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.7747, allocations: 25.7 kB / 0.7792 GB, free: 8.223 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005097/0.7753, allocations: 0.819 MB / 0.78 GB, free: 7.648 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.7753, allocations: 15.3 kB / 0.78 GB, free: 7.637 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.7753, allocations: 3.938 kB / 0.78 GB, free: 7.633 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.7754, allocations: 310 kB / 0.7803 GB, free: 7.324 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.778e-05/0.7754, allocations: 11.38 kB / 0.7804 GB, free: 7.316 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.734e-05/0.7755, allocations: 28.52 kB / 0.7804 GB, free: 7.289 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.654e-05/0.7755, allocations: 22.56 kB / 0.7804 GB, free: 7.273 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7755, allocations: 0 / 0.7804 GB, free: 7.273 MB / 0.5421 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005237/0.7761, allocations: 0.6214 MB / 0.781 GB, free: 6.645 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.7761, allocations: 4 kB / 0.781 GB, free: 6.641 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7761, allocations: 128 / 0.781 GB, free: 6.641 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.7761, allocations: 4 kB / 0.781 GB, free: 6.637 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.158e-05/0.7762, allocations: 15.98 kB / 0.781 GB, free: 6.621 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.7762, allocations: 0 / 0.781 GB, free: 6.621 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.7766, allocations: 14.94 kB / 0.781 GB, free: 6.609 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.7766, allocations: 4.031 kB / 0.781 GB, free: 6.605 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 6.454e-05/0.7767, allocations: 108.9 kB / 0.7812 GB, free: 6.492 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000446/0.7772, allocations: 0.5629 MB / 0.7817 GB, free: 5.922 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008698/0.778, allocations: 0.7118 MB / 0.7824 GB, free: 5.332 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.778, allocations: 0 / 0.7824 GB, free: 5.332 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.7781, allocations: 0 / 0.7824 GB, free: 5.332 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.7781, allocations: 0 / 0.7824 GB, free: 5.332 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.7797, allocations: 1.967 MB / 0.7843 GB, free: 3.824 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7798, allocations: 0 / 0.7843 GB, free: 3.824 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.7798, allocations: 8 kB / 0.7843 GB, free: 3.816 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.7798, allocations: 3.984 kB / 0.7843 GB, free: 3.812 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.7798, allocations: 3.938 kB / 0.7843 GB, free: 3.809 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.7798, allocations: 4 kB / 0.7843 GB, free: 3.805 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7798, allocations: 0 / 0.7843 GB, free: 3.805 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005672/0.7804, allocations: 0.681 MB / 0.785 GB, free: 3.113 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006663/0.7811, allocations: 0.5601 MB / 0.7855 GB, free: 2.527 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/0.7814, allocations: 3.938 kB / 0.7856 GB, free: 2.527 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.7818, allocations: 8 kB / 0.7856 GB, free: 2.52 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.7818, allocations: 0 / 0.7856 GB, free: 2.52 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.7818, allocations: 8.109 kB / 0.7856 GB, free: 2.512 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.004359/0.7862, allocations: 4.046 MB / 0.7895 GB, free: 15.37 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.000498/0.7867, allocations: 151.4 kB / 0.7897 GB, free: 15.23 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.0006381/0.7873, allocations: 307.5 kB / 0.79 GB, free: 14.99 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.7875, allocations: 39.56 kB / 0.79 GB, free: 14.96 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7875, allocations: 0 / 0.79 GB, free: 14.96 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 4.444e-05/0.7875, allocations: 23.86 kB / 0.79 GB, free: 14.95 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008336/0.7884, allocations: 427.6 kB / 0.7904 GB, free: 14.77 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01953/0.8079, allocations: 6.86 MB / 0.7971 GB, free: 8.145 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003999/0.8119, allocations: 3.628 MB / 0.8007 GB, free: 4.766 MB / 0.5578 GB Notification: Performance of SimCode: time 9.22e-07/0.812, allocations: 0 / 0.8007 GB, free: 4.766 MB / 0.5578 GB Notification: Performance of Templates: time 0.04521/0.8572, allocations: 13.97 MB / 0.8143 GB, free: 6.797 MB / 0.5734 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches