Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") [: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.001565/0.001565, allocations: 184.2 kB / 8.136 MB, free: 2.207 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.149/1.149, allocations: 221.4 MB / 229.9 MB, free: 3.016 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.0008996/0.0008997, allocations: 100.2 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.6696/0.6696, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 7.364e-06/7.584e-06, allocations: 0 / 0.5282 GB, free: 52.48 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1177, allocations: 82.85 MB / 0.6091 GB, free: 3.566 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5324/0.6501, allocations: 125.9 MB / 0.7321 GB, free: 4.055 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001493/0.6503, allocations: 51.31 kB / 0.7321 GB, free: 4.039 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.2486/0.899, allocations: 66.96 MB / 0.7975 GB, free: 4.23 MB / 0.5578 GB Notification: Performance of Transformations before backend: time 0.000444/0.8994, allocations: 124 kB / 0.7976 GB, free: 4.109 MB / 0.5578 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.01023/0.9097, allocations: 6.455 MB / 0.8039 GB, free: 14.06 MB / 0.5734 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.9097, allocations: 8.031 kB / 0.8039 GB, free: 14.05 MB / 0.5734 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.9116, allocations: 1.103 MB / 0.805 GB, free: 12.94 MB / 0.5734 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2406/1.152, allocations: 11.57 MB / 0.8163 GB, free: 2.609 MB / 0.5734 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/1.152, allocations: 4 kB / 0.8163 GB, free: 2.605 MB / 0.5734 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.061e-05/1.152, allocations: 0 / 0.8163 GB, free: 2.605 MB / 0.5734 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003897/1.153, allocations: 205.6 kB / 0.8165 GB, free: 2.41 MB / 0.5734 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/1.153, allocations: 325.2 kB / 0.8168 GB, free: 2.09 MB / 0.5734 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/1.153, allocations: 3.938 kB / 0.8168 GB, free: 2.086 MB / 0.5734 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.349e-05/1.153, allocations: 0 / 0.8168 GB, free: 2.086 MB / 0.5734 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/1.153, allocations: 3.938 kB / 0.8168 GB, free: 2.082 MB / 0.5734 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005027/1.158, allocations: 3.46 MB / 0.8202 GB, free: 15.57 MB / 0.589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/1.159, allocations: 137.9 kB / 0.8203 GB, free: 15.44 MB / 0.589 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/1.159, allocations: 119.8 kB / 0.8204 GB, free: 15.33 MB / 0.589 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/1.159, allocations: 0 / 0.8204 GB, free: 15.33 MB / 0.589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003575/1.159, allocations: 372.2 kB / 0.8208 GB, free: 14.96 MB / 0.589 GB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/1.159, allocations: 0 / 0.8208 GB, free: 14.96 MB / 0.589 GB Notification: Performance of matching and sorting (n=8): time 0.002146/1.161, allocations: 1.541 MB / 0.8223 GB, free: 13.4 MB / 0.589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/1.161, allocations: 88.97 kB / 0.8224 GB, free: 13.3 MB / 0.589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01527/1.177, allocations: 10.04 MB / 0.8322 GB, free: 5.324 MB / 0.589 GB Notification: Performance of collectPreVariables (initialization): time 0.0001926/1.177, allocations: 25.7 kB / 0.8322 GB, free: 5.293 MB / 0.589 GB Notification: Performance of collectInitialEqns (initialization): time 0.001266/1.178, allocations: 1.554 MB / 0.8337 GB, free: 4.227 MB / 0.589 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/1.178, allocations: 23.64 kB / 0.8338 GB, free: 4.203 MB / 0.589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.368e-05/1.178, allocations: 0 / 0.8338 GB, free: 4.203 MB / 0.589 GB Notification: Performance of setup shared object (initialization): time 8.228e-05/1.178, allocations: 309.9 kB / 0.8341 GB, free: 3.898 MB / 0.589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/1.179, allocations: 103.8 kB / 0.8342 GB, free: 3.801 MB / 0.589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/1.179, allocations: 111.9 kB / 0.8343 GB, free: 3.699 MB / 0.589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/1.179, allocations: 107.9 kB / 0.8344 GB, free: 3.598 MB / 0.589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.179, allocations: 8 kB / 0.8344 GB, free: 3.59 MB / 0.589 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001988/1.181, allocations: 1.541 MB / 0.8359 GB, free: 2.039 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.181, allocations: 4 kB / 0.8359 GB, free: 2.035 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.181, allocations: 4 kB / 0.8359 GB, free: 2.031 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/1.181, allocations: 0 / 0.8359 GB, free: 2.031 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.585e-05/1.181, allocations: 7.984 kB / 0.8359 GB, free: 2.023 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/1.181, allocations: 0 / 0.8359 GB, free: 2.023 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008972/1.182, allocations: 7.906 kB / 0.8359 GB, free: 2.016 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003323/1.182, allocations: 441.2 kB / 0.8363 GB, free: 1.648 MB / 0.589 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.0001871/1.183, allocations: 142.8 kB / 0.8365 GB, free: 1.496 MB / 0.589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009384/1.184, allocations: 1.11 MB / 0.8375 GB, free: 380 kB / 0.589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/1.186, allocations: 1.282 MB / 0.8388 GB, free: 15.33 MB / 0.6046 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/1.186, allocations: 0 / 0.8388 GB, free: 15.33 MB / 0.6046 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.186, allocations: 4 kB / 0.8388 GB, free: 15.33 MB / 0.6046 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/1.186, allocations: 3.938 kB / 0.8388 GB, free: 15.32 MB / 0.6046 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004208/1.19, allocations: 3.77 MB / 0.8425 GB, free: 12.5 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/1.19, allocations: 0 / 0.8425 GB, free: 12.5 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.625e-05/1.19, allocations: 7.938 kB / 0.8425 GB, free: 12.5 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/1.19, allocations: 0 / 0.8425 GB, free: 12.5 MB / 0.6046 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002108/1.191, allocations: 100 kB / 0.8426 GB, free: 12.4 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/1.191, allocations: 0 / 0.8426 GB, free: 12.4 MB / 0.6046 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/1.191, allocations: 0 / 0.8426 GB, free: 12.4 MB / 0.6046 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002009/1.193, allocations: 1.652 MB / 0.8442 GB, free: 10.73 MB / 0.6046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/1.194, allocations: 1.033 MB / 0.8452 GB, free: 9.668 MB / 0.6046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005938/1.195, allocations: 7.875 kB / 0.8452 GB, free: 9.664 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000681/1.195, allocations: 7.984 kB / 0.8452 GB, free: 9.656 MB / 0.6046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/1.195, allocations: 4 kB / 0.8452 GB, free: 9.652 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003058/1.196, allocations: 444.9 kB / 0.8456 GB, free: 9.277 MB / 0.6046 GB Notification: Performance of sort global known variables: time 0.01379/1.209, allocations: 7.865 MB / 0.8533 GB, free: 3.207 MB / 0.6046 GB Notification: Performance of remove unused functions: time 0.001336/1.211, allocations: 280 kB / 0.8536 GB, free: 2.934 MB / 0.6046 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.0002823/1.211, allocations: 133.7 kB / 0.8537 GB, free: 2.797 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.0005028/1.212, allocations: 272.8 kB / 0.854 GB, free: 2.547 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/1.212, allocations: 0 / 0.854 GB, free: 2.547 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.0002633/1.212, allocations: 168.1 kB / 0.8541 GB, free: 2.402 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/1.214, allocations: 0.7946 MB / 0.8549 GB, free: 2.094 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06213/1.276, allocations: 13.97 MB / 0.8686 GB, free: 4.609 MB / 0.6203 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007105/1.283, allocations: 5.472 MB / 0.8739 GB, free: 15.36 MB / 0.6359 GB Notification: Performance of SimCode: time 8.41e-07/1.283, allocations: 0 / 0.8739 GB, free: 15.36 MB / 0.6359 GB Notification: Performance of Templates: time 0.1097/1.393, allocations: 37.67 MB / 0.9107 GB, free: 9.559 MB / 0.6671 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches