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.001623/0.001623, allocations: 190.8 kB / 8.137 MB, free: 2.211 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.139/1.139, allocations: 221.4 MB / 229.9 MB, free: 3.008 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.0009122/0.0009122, allocations: 97.06 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7008/0.7008, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.589e-06/4.618e-06, allocations: 0 / 0.5282 GB, free: 52.41 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 82.85 MB / 0.6091 GB, free: 3.574 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4997/0.6162, allocations: 128.4 MB / 0.7345 GB, free: 1.871 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001341/0.6164, allocations: 44.98 kB / 0.7345 GB, free: 1.852 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01005/0.6265, allocations: 3.721 MB / 0.7382 GB, free: 14.8 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.6265, allocations: 4 kB / 0.7382 GB, free: 14.8 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.0004614/0.627, allocations: 446.8 kB / 0.7386 GB, free: 14.33 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.627, allocations: 11.97 kB / 0.7386 GB, free: 14.32 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.6271, allocations: 19.81 kB / 0.7386 GB, free: 14.3 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/0.6275, allocations: 325.5 kB / 0.7389 GB, free: 13.96 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.6276, allocations: 0 / 0.7389 GB, free: 13.96 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.6276, allocations: 0 / 0.7389 GB, free: 13.96 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.036e-05/0.6277, allocations: 11.31 kB / 0.739 GB, free: 13.96 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.823e-05/0.6278, allocations: 48.98 kB / 0.739 GB, free: 13.91 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.6278, allocations: 0 / 0.739 GB, free: 13.91 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.6278, allocations: 7.906 kB / 0.739 GB, free: 13.9 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.6278, allocations: 3.938 kB / 0.739 GB, free: 13.89 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.628, allocations: 195 kB / 0.7392 GB, free: 13.69 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 8.506e-05/0.6281, allocations: 45.48 kB / 0.7392 GB, free: 13.64 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.6281, allocations: 19.73 kB / 0.7393 GB, free: 13.62 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.6282, allocations: 0 / 0.7393 GB, free: 13.62 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.011e-05/0.6282, allocations: 66.44 kB / 0.7393 GB, free: 13.55 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.6283, allocations: 0 / 0.7393 GB, free: 13.55 MB / 0.5109 GB Notification: Performance of matching and sorting (n=5): time 0.0001673/0.6284, allocations: 84.08 kB / 0.7394 GB, free: 13.47 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.6285, allocations: 51.41 kB / 0.7395 GB, free: 13.41 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.6287, allocations: 239.9 kB / 0.7397 GB, free: 13.2 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.6287, allocations: 25.7 kB / 0.7397 GB, free: 13.17 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.6287, allocations: 103 kB / 0.7398 GB, free: 13.07 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.6288, allocations: 11.75 kB / 0.7398 GB, free: 13.06 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/0.6288, allocations: 8 kB / 0.7398 GB, free: 13.05 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.6289, allocations: 333.4 kB / 0.7401 GB, free: 12.73 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.621e-05/0.6289, allocations: 11.19 kB / 0.7402 GB, free: 12.72 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.29e-05/0.629, allocations: 29.58 kB / 0.7402 GB, free: 12.7 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.116e-05/0.629, allocations: 15.88 kB / 0.7402 GB, free: 12.68 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.629, allocations: 0 / 0.7402 GB, free: 12.68 MB / 0.5109 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001209/0.6291, allocations: 87.41 kB / 0.7403 GB, free: 12.6 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.6292, allocations: 12.03 kB / 0.7403 GB, free: 12.59 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6292, allocations: 7.922 kB / 0.7403 GB, free: 12.58 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.6292, allocations: 0 / 0.7403 GB, free: 12.58 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.376e-05/0.6293, allocations: 8 kB / 0.7403 GB, free: 12.57 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.6293, allocations: 0 / 0.7403 GB, free: 12.57 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.313e-05/0.6293, allocations: 7.906 kB / 0.7403 GB, free: 12.57 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.6293, allocations: 4 kB / 0.7403 GB, free: 12.56 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 5.838e-05/0.6294, allocations: 105 kB / 0.7404 GB, free: 12.45 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.6294, allocations: 23.72 kB / 0.7404 GB, free: 12.43 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.6296, allocations: 93.58 kB / 0.7405 GB, free: 12.35 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.6296, allocations: 0 / 0.7405 GB, free: 12.35 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.6296, allocations: 0 / 0.7405 GB, free: 12.35 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6296, allocations: 0 / 0.7405 GB, free: 12.35 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.6298, allocations: 200.3 kB / 0.7407 GB, free: 12.14 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6298, allocations: 0 / 0.7407 GB, free: 12.14 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.932e-05/0.6298, allocations: 7.984 kB / 0.7407 GB, free: 12.13 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.6298, allocations: 0 / 0.7407 GB, free: 12.13 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.6298, allocations: 4.188 kB / 0.7407 GB, free: 12.12 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.6299, allocations: 4 kB / 0.7407 GB, free: 12.12 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6299, allocations: 4 kB / 0.7407 GB, free: 12.12 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001224/0.63, allocations: 111.3 kB / 0.7408 GB, free: 12 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.6301, allocations: 100.1 kB / 0.7409 GB, free: 11.89 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.6301, allocations: 3.984 kB / 0.7409 GB, free: 11.88 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.374e-05/0.6302, allocations: 7.906 kB / 0.741 GB, free: 11.88 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.6302, allocations: 3.25 kB / 0.741 GB, free: 11.88 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.6302, allocations: 4 kB / 0.741 GB, free: 11.87 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0001504/0.6304, allocations: 200.7 kB / 0.7412 GB, free: 11.7 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.000209/0.6306, allocations: 23.38 kB / 0.7412 GB, free: 11.68 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.0005714/0.6312, allocations: 303.5 kB / 0.7415 GB, free: 11.45 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 9.86e-05/0.6313, allocations: 41.5 kB / 0.7415 GB, free: 11.42 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.6313, allocations: 0 / 0.7415 GB, free: 11.42 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 4.035e-05/0.6313, allocations: 27.92 kB / 0.7415 GB, free: 11.4 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.6315, allocations: 28.03 kB / 0.7416 GB, free: 11.38 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.632, allocations: 237.2 kB / 0.7418 GB, free: 11.13 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003211/0.6323, allocations: 0.7776 MB / 0.7425 GB, free: 10.33 MB / 0.5109 GB Notification: Performance of SimCode: time 2.71e-07/0.6324, allocations: 0 / 0.7425 GB, free: 10.33 MB / 0.5109 GB Notification: Performance of Templates: time 0.004326/0.6367, allocations: 1.603 MB / 0.7441 GB, free: 8.75 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/jenkins/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