Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001007/0.001007, allocations: 183.8 kB / 8.134 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.133/1.133, 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.0009274/0.0009274, allocations: 97.67 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7031/0.7031, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.543e-06/6.573e-06, allocations: 0 / 0.5282 GB, free: 52.45 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1348, allocations: 82.84 MB / 0.6091 GB, free: 3.582 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5489/0.6838, allocations: 128.4 MB / 0.7345 GB, free: 1.801 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001392/0.6839, allocations: 47.58 kB / 0.7345 GB, free: 1.781 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01001/0.694, allocations: 3.721 MB / 0.7382 GB, free: 14.73 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.694, allocations: 4 kB / 0.7382 GB, free: 14.73 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.0004535/0.6945, allocations: 440 kB / 0.7386 GB, free: 14.26 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.6945, allocations: 15.97 kB / 0.7386 GB, free: 14.25 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/0.6946, allocations: 15.81 kB / 0.7386 GB, free: 14.23 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.695, allocations: 323.4 kB / 0.7389 GB, free: 13.89 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.6951, allocations: 0 / 0.7389 GB, free: 13.89 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.6951, allocations: 4 kB / 0.7389 GB, free: 13.89 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.626e-05/0.6951, allocations: 19.55 kB / 0.739 GB, free: 13.88 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.853e-05/0.6952, allocations: 41.44 kB / 0.739 GB, free: 13.83 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.6952, allocations: 0 / 0.739 GB, free: 13.83 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.6953, allocations: 3.906 kB / 0.739 GB, free: 13.83 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.6953, allocations: 3.984 kB / 0.739 GB, free: 13.82 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.6955, allocations: 196.5 kB / 0.7392 GB, free: 13.62 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 8.904e-05/0.6956, allocations: 45.19 kB / 0.7392 GB, free: 13.57 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.565e-05/0.6956, allocations: 20.17 kB / 0.7393 GB, free: 13.55 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.6956, allocations: 0 / 0.7393 GB, free: 13.55 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.231e-05/0.6957, allocations: 67.3 kB / 0.7393 GB, free: 13.48 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.6957, allocations: 0 / 0.7393 GB, free: 13.48 MB / 0.5109 GB Notification: Performance of matching and sorting (n=5): time 0.000194/0.6959, allocations: 77.16 kB / 0.7394 GB, free: 13.41 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.696, allocations: 51.41 kB / 0.7394 GB, free: 13.34 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.6962, allocations: 244 kB / 0.7397 GB, free: 13.13 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.6962, allocations: 26.45 kB / 0.7397 GB, free: 13.1 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.6963, allocations: 102.1 kB / 0.7398 GB, free: 13 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.6963, allocations: 19.73 kB / 0.7398 GB, free: 12.98 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.6963, allocations: 0 / 0.7398 GB, free: 12.98 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.6964, allocations: 332.2 kB / 0.7401 GB, free: 12.66 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.011e-05/0.6965, allocations: 18.67 kB / 0.7402 GB, free: 12.65 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.24e-05/0.6965, allocations: 21.16 kB / 0.7402 GB, free: 12.62 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.208e-05/0.6966, allocations: 19.12 kB / 0.7402 GB, free: 12.61 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6966, allocations: 7.922 kB / 0.7402 GB, free: 12.61 MB / 0.5109 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001141/0.6967, allocations: 82.97 kB / 0.7403 GB, free: 12.53 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.6967, allocations: 8 kB / 0.7403 GB, free: 12.52 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.6967, allocations: 3.938 kB / 0.7403 GB, free: 12.52 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.6967, allocations: 0 / 0.7403 GB, free: 12.52 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.813e-05/0.6968, allocations: 11.94 kB / 0.7403 GB, free: 12.5 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.6968, allocations: 4 kB / 0.7403 GB, free: 12.5 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.6969, allocations: 3.938 kB / 0.7403 GB, free: 12.5 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.6969, allocations: 11.98 kB / 0.7403 GB, free: 12.48 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 6.203e-05/0.697, allocations: 103.9 kB / 0.7404 GB, free: 12.38 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.697, allocations: 23.72 kB / 0.7404 GB, free: 12.36 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.6972, allocations: 88.14 kB / 0.7405 GB, free: 12.28 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.6972, allocations: 3.938 kB / 0.7405 GB, free: 12.28 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.6972, allocations: 0 / 0.7405 GB, free: 12.28 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.6972, allocations: 3.984 kB / 0.7405 GB, free: 12.27 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.6973, allocations: 195.6 kB / 0.7407 GB, free: 12.06 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6973, allocations: 4 kB / 0.7407 GB, free: 12.06 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.714e-05/0.6974, allocations: 4 kB / 0.7407 GB, free: 12.05 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6974, allocations: 0 / 0.7407 GB, free: 12.05 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.6974, allocations: 4 kB / 0.7407 GB, free: 12.05 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6974, allocations: 192 / 0.7407 GB, free: 12.05 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6974, allocations: 0 / 0.7407 GB, free: 12.05 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001257/0.6975, allocations: 118.7 kB / 0.7408 GB, free: 11.93 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/0.6976, allocations: 99.97 kB / 0.7409 GB, free: 11.82 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.6976, allocations: 0 / 0.7409 GB, free: 11.82 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.163e-05/0.6977, allocations: 11.91 kB / 0.741 GB, free: 11.8 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.6977, allocations: 0 / 0.741 GB, free: 11.8 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.6978, allocations: 7.984 kB / 0.741 GB, free: 11.8 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.000145/0.6979, allocations: 195.8 kB / 0.7411 GB, free: 11.64 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002084/0.6981, allocations: 19.94 kB / 0.7412 GB, free: 11.62 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.0006391/0.6988, allocations: 313 kB / 0.7415 GB, free: 11.38 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 9.592e-05/0.6989, allocations: 37.67 kB / 0.7415 GB, free: 11.35 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.6989, allocations: 4 kB / 0.7415 GB, free: 11.35 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.6989, allocations: 23.06 kB / 0.7415 GB, free: 11.33 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.6992, allocations: 28.59 kB / 0.7416 GB, free: 11.31 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.6996, allocations: 237.8 kB / 0.7418 GB, free: 11.06 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/0.7, allocations: 0.7781 MB / 0.7425 GB, free: 10.27 MB / 0.5109 GB Notification: Performance of SimCode: time 2.8e-07/0.7, allocations: 0 / 0.7425 GB, free: 10.27 MB / 0.5109 GB Notification: Performance of Templates: time 0.004475/0.7044, allocations: 1.605 MB / 0.7441 GB, free: 8.684 MB / 0.5109 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches