Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") [: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.001551/0.001556, allocations: 185 kB / 8.134 MB, free: 2.223 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.192/1.192, allocations: 221.4 MB / 229.9 MB, free: 3.098 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.001058/0.001058, allocations: 110.7 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7834/0.7834, allocations: 120.4 MB / 452 MB, free: 13.03 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.51e-06/5.54e-06, allocations: 0 / 0.5282 GB, free: 52.46 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1453, allocations: 82.84 MB / 0.6091 GB, free: 3.625 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6028/0.7482, allocations: 128.4 MB / 0.7345 GB, free: 1.742 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001533/0.7484, allocations: 49.53 kB / 0.7345 GB, free: 1.719 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01006/0.7585, allocations: 3.717 MB / 0.7382 GB, free: 14.68 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.61e-05/0.7585, allocations: 4 kB / 0.7382 GB, free: 14.67 MB / 0.5109 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.000464/0.759, allocations: 439 kB / 0.7386 GB, free: 14.21 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.759, allocations: 11.97 kB / 0.7386 GB, free: 14.2 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.998e-05/0.7591, allocations: 23.81 kB / 0.7386 GB, free: 14.17 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/0.7596, allocations: 322.6 kB / 0.7389 GB, free: 13.84 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.7597, allocations: 3.984 kB / 0.7389 GB, free: 13.83 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.7597, allocations: 0 / 0.7389 GB, free: 13.83 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.473e-05/0.7598, allocations: 14.44 kB / 0.739 GB, free: 13.82 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.201e-05/0.7599, allocations: 52.03 kB / 0.739 GB, free: 13.77 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.7599, allocations: 0 / 0.739 GB, free: 13.77 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.7599, allocations: 3.906 kB / 0.739 GB, free: 13.77 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.7599, allocations: 0 / 0.739 GB, free: 13.77 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.7601, allocations: 194.2 kB / 0.7392 GB, free: 13.56 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 9.874e-05/0.7602, allocations: 44.2 kB / 0.7392 GB, free: 13.52 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.7603, allocations: 20.12 kB / 0.7393 GB, free: 13.5 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.7603, allocations: 0 / 0.7393 GB, free: 13.5 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.381e-05/0.7604, allocations: 64.53 kB / 0.7393 GB, free: 13.43 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.7604, allocations: 0 / 0.7393 GB, free: 13.43 MB / 0.5109 GB Notification: Performance of matching and sorting (n=5): time 0.0002003/0.7606, allocations: 79.59 kB / 0.7394 GB, free: 13.35 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.7607, allocations: 54.97 kB / 0.7394 GB, free: 13.29 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.7609, allocations: 239.1 kB / 0.7397 GB, free: 13.08 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.7609, allocations: 29.64 kB / 0.7397 GB, free: 13.04 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.761, allocations: 104.5 kB / 0.7398 GB, free: 12.95 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.761, allocations: 11.75 kB / 0.7398 GB, free: 12.93 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.761, allocations: 0 / 0.7398 GB, free: 12.93 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.7612, allocations: 337.6 kB / 0.7401 GB, free: 12.61 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.773e-05/0.7612, allocations: 15.44 kB / 0.7402 GB, free: 12.59 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/0.7613, allocations: 24.41 kB / 0.7402 GB, free: 12.57 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.636e-05/0.7613, allocations: 15.05 kB / 0.7402 GB, free: 12.56 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.7613, allocations: 0 / 0.7402 GB, free: 12.56 MB / 0.5109 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001323/0.7614, allocations: 87.28 kB / 0.7403 GB, free: 12.48 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7615, allocations: 7.938 kB / 0.7403 GB, free: 12.47 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.7615, allocations: 7.938 kB / 0.7403 GB, free: 12.46 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.7615, allocations: 0 / 0.7403 GB, free: 12.46 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.927e-05/0.7616, allocations: 16.02 kB / 0.7403 GB, free: 12.45 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.7616, allocations: 0 / 0.7403 GB, free: 12.45 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.468e-05/0.7617, allocations: 7.906 kB / 0.7403 GB, free: 12.44 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.7617, allocations: 7.25 kB / 0.7403 GB, free: 12.43 MB / 0.5109 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 7.658e-05/0.7618, allocations: 103.9 kB / 0.7404 GB, free: 12.33 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.7618, allocations: 19.72 kB / 0.7404 GB, free: 12.31 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/0.762, allocations: 96.88 kB / 0.7405 GB, free: 12.22 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.762, allocations: 0 / 0.7405 GB, free: 12.22 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.762, allocations: 4 kB / 0.7405 GB, free: 12.22 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.762, allocations: 0 / 0.7405 GB, free: 12.22 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.7622, allocations: 203.9 kB / 0.7407 GB, free: 12 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7622, allocations: 0 / 0.7407 GB, free: 12 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-05/0.7622, allocations: 4 kB / 0.7407 GB, free: 12 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7622, allocations: 0 / 0.7407 GB, free: 12 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.7622, allocations: 4.172 kB / 0.7407 GB, free: 12 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.7622, allocations: 8 kB / 0.7407 GB, free: 11.99 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7623, allocations: 0 / 0.7407 GB, free: 11.99 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001465/0.7624, allocations: 112.1 kB / 0.7408 GB, free: 11.87 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 7.74e-05/0.7625, allocations: 100.1 kB / 0.7409 GB, free: 11.76 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.7625, allocations: 0 / 0.7409 GB, free: 11.76 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.536e-05/0.7626, allocations: 11.89 kB / 0.741 GB, free: 11.75 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.7626, allocations: 0 / 0.741 GB, free: 11.75 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.7626, allocations: 7.438 kB / 0.741 GB, free: 11.74 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0001868/0.7628, allocations: 198.6 kB / 0.7412 GB, free: 11.58 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002138/0.7631, allocations: 23.92 kB / 0.7412 GB, free: 11.55 MB / 0.5109 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.0006349/0.7637, allocations: 307.7 kB / 0.7415 GB, free: 11.32 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.7638, allocations: 38.88 kB / 0.7415 GB, free: 11.3 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.7638, allocations: 0 / 0.7415 GB, free: 11.3 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 4.518e-05/0.7639, allocations: 27.12 kB / 0.7415 GB, free: 11.28 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.7641, allocations: 27.83 kB / 0.7416 GB, free: 11.25 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.7646, allocations: 240.8 kB / 0.7418 GB, free: 11.01 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/0.765, allocations: 0.7686 MB / 0.7425 GB, free: 10.22 MB / 0.5109 GB Notification: Performance of SimCode: time 2.4e-07/0.765, allocations: 0 / 0.7425 GB, free: 10.22 MB / 0.5109 GB Notification: Performance of Templates: time 0.004547/0.7695, allocations: 1.612 MB / 0.7441 GB, free: 8.625 MB / 0.5109 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches