Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001135/0.001135, allocations: 186.5 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.145/1.145, 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.0009061/0.0009061, allocations: 98.33 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7646/0.7646, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 8.907e-06/8.917e-06, allocations: 4 kB / 0.5282 GB, free: 52.44 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1717, allocations: 82.84 MB / 0.6091 GB, free: 3.582 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7919/0.9636, allocations: 125.9 MB / 0.7321 GB, free: 4.219 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001718/0.9638, allocations: 48.7 kB / 0.7321 GB, free: 4.203 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.2638/1.228, allocations: 66.96 MB / 0.7975 GB, free: 4.375 MB / 0.5578 GB Notification: Performance of Transformations before backend: time 0.0009476/1.229, allocations: 128 kB / 0.7976 GB, free: 4.25 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.0152/1.244, allocations: 6.461 MB / 0.8039 GB, free: 14.2 MB / 0.5734 GB Notification: Performance of prepare preOptimizeDAE: time 7.446e-05/1.244, allocations: 8.031 kB / 0.8039 GB, free: 14.19 MB / 0.5734 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00415/1.248, allocations: 1.103 MB / 0.805 GB, free: 13.07 MB / 0.5734 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2408/1.489, allocations: 11.56 MB / 0.8163 GB, free: 2.746 MB / 0.5734 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/1.489, allocations: 4 kB / 0.8163 GB, free: 2.742 MB / 0.5734 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/1.489, allocations: 3.984 kB / 0.8163 GB, free: 2.738 MB / 0.5734 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00045/1.49, allocations: 203.9 kB / 0.8165 GB, free: 2.543 MB / 0.5734 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005232/1.49, allocations: 329.1 kB / 0.8168 GB, free: 2.223 MB / 0.5734 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/1.49, allocations: 4 kB / 0.8168 GB, free: 2.219 MB / 0.5734 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.56e-05/1.49, allocations: 3.984 kB / 0.8168 GB, free: 2.215 MB / 0.5734 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/1.49, allocations: 0 / 0.8168 GB, free: 2.215 MB / 0.5734 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/1.5, allocations: 3.459 MB / 0.8202 GB, free: 15.7 MB / 0.589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/1.501, allocations: 132.3 kB / 0.8203 GB, free: 15.57 MB / 0.589 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/1.501, allocations: 118.9 kB / 0.8204 GB, free: 15.46 MB / 0.589 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/1.501, allocations: 0 / 0.8204 GB, free: 15.46 MB / 0.589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006363/1.502, allocations: 375.3 kB / 0.8208 GB, free: 15.09 MB / 0.589 GB Notification: Performance of pre-optimization done (n=8): time 3.467e-06/1.502, allocations: 0 / 0.8208 GB, free: 15.09 MB / 0.589 GB Notification: Performance of matching and sorting (n=8): time 0.003058/1.505, allocations: 1.536 MB / 0.8223 GB, free: 13.54 MB / 0.589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/1.505, allocations: 85.05 kB / 0.8224 GB, free: 13.44 MB / 0.589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02288/1.528, allocations: 10.04 MB / 0.8322 GB, free: 5.469 MB / 0.589 GB Notification: Performance of collectPreVariables (initialization): time 0.0003552/1.528, allocations: 29.7 kB / 0.8322 GB, free: 5.434 MB / 0.589 GB Notification: Performance of collectInitialEqns (initialization): time 0.002544/1.531, allocations: 1.551 MB / 0.8337 GB, free: 4.367 MB / 0.589 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003229/1.531, allocations: 15.66 kB / 0.8337 GB, free: 4.355 MB / 0.589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/1.531, allocations: 8 kB / 0.8338 GB, free: 4.348 MB / 0.589 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.532, allocations: 310 kB / 0.834 GB, free: 4.039 MB / 0.589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/1.532, allocations: 111.8 kB / 0.8342 GB, free: 3.938 MB / 0.589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/1.532, allocations: 103.9 kB / 0.8343 GB, free: 3.84 MB / 0.589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/1.532, allocations: 115.5 kB / 0.8344 GB, free: 3.734 MB / 0.589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.532, allocations: 0 / 0.8344 GB, free: 3.734 MB / 0.589 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002822/1.535, allocations: 1.545 MB / 0.8359 GB, free: 2.18 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.535, allocations: 4 kB / 0.8359 GB, free: 2.176 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.535, allocations: 0 / 0.8359 GB, free: 2.176 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/1.535, allocations: 4 kB / 0.8359 GB, free: 2.172 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/1.535, allocations: 8 kB / 0.8359 GB, free: 2.164 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/1.535, allocations: 4 kB / 0.8359 GB, free: 2.16 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/1.536, allocations: 7.891 kB / 0.8359 GB, free: 2.152 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003892/1.537, allocations: 437.7 kB / 0.8363 GB, free: 1.785 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.0002208/1.537, allocations: 138.6 kB / 0.8364 GB, free: 1.641 MB / 0.589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/1.538, allocations: 1.11 MB / 0.8375 GB, free: 0.5156 MB / 0.589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004416/1.543, allocations: 1.283 MB / 0.8388 GB, free: 15.47 MB / 0.6046 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/1.543, allocations: 3.984 kB / 0.8388 GB, free: 15.47 MB / 0.6046 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/1.543, allocations: 4 kB / 0.8388 GB, free: 15.46 MB / 0.6046 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/1.543, allocations: 0 / 0.8388 GB, free: 15.46 MB / 0.6046 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005744/1.548, allocations: 3.778 MB / 0.8425 GB, free: 12.64 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.549, allocations: 0 / 0.8425 GB, free: 12.64 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.47e-05/1.549, allocations: 4 kB / 0.8425 GB, free: 12.63 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.451e-05/1.549, allocations: 3.984 kB / 0.8425 GB, free: 12.63 MB / 0.6046 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002421/1.549, allocations: 96 kB / 0.8426 GB, free: 12.54 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/1.549, allocations: 3.938 kB / 0.8426 GB, free: 12.53 MB / 0.6046 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.549, allocations: 0 / 0.8426 GB, free: 12.53 MB / 0.6046 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002567/1.551, allocations: 1.648 MB / 0.8442 GB, free: 10.87 MB / 0.6046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001888/1.553, allocations: 1.037 MB / 0.8452 GB, free: 9.801 MB / 0.6046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005869/1.554, allocations: 4 kB / 0.8452 GB, free: 9.797 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006894/1.555, allocations: 96 / 0.8452 GB, free: 9.797 MB / 0.6046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/1.555, allocations: 15.8 kB / 0.8452 GB, free: 9.785 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003543/1.555, allocations: 437.2 kB / 0.8456 GB, free: 9.418 MB / 0.6046 GB Notification: Performance of sort global known variables: time 0.01616/1.571, allocations: 7.868 MB / 0.8533 GB, free: 3.344 MB / 0.6046 GB Notification: Performance of remove unused functions: time 0.001732/1.573, allocations: 280 kB / 0.8536 GB, free: 3.07 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.0003405/1.573, allocations: 133.7 kB / 0.8537 GB, free: 2.934 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.0005764/1.574, allocations: 272.8 kB / 0.854 GB, free: 2.684 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.574, allocations: 4 kB / 0.854 GB, free: 2.68 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.0002876/1.574, allocations: 172.2 kB / 0.8541 GB, free: 2.531 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/1.577, allocations: 0.7898 MB / 0.8549 GB, free: 2.23 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06677/1.643, allocations: 13.97 MB / 0.8686 GB, free: 4.754 MB / 0.6203 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009009/1.652, allocations: 5.476 MB / 0.8739 GB, free: 15.49 MB / 0.6359 GB Notification: Performance of SimCode: time 1.833e-06/1.652, allocations: 0 / 0.8739 GB, free: 15.49 MB / 0.6359 GB Notification: Performance of Templates: time 0.1162/1.769, allocations: 37.66 MB / 0.9107 GB, free: 9.699 MB / 0.6671 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches