Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.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.CombiTimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250") [: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.001642/0.001642, allocations: 182.5 kB / 8.132 MB, free: 2.191 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.136/1.136, allocations: 221.4 MB / 229.9 MB, free: 3.082 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.0009184/0.0009185, allocations: 102.1 kB / 280.8 MB, free: 1.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7748/0.7748, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 8.356e-06/8.376e-06, allocations: 8 kB / 0.5282 GB, free: 52.45 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1598, allocations: 82.84 MB / 0.6091 GB, free: 3.594 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6204/0.7802, allocations: 128.4 MB / 0.7345 GB, free: 1.914 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000143/0.7804, allocations: 54.47 kB / 0.7346 GB, free: 1.887 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.0365/0.817, allocations: 13.82 MB / 0.7481 GB, free: 5.355 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 9.46e-05/0.8171, allocations: 32 kB / 0.7481 GB, free: 5.324 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.00177/0.8189, allocations: 1.895 MB / 0.7499 GB, free: 3.508 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.8189, allocations: 8.031 kB / 0.75 GB, free: 3.5 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003198/0.8192, allocations: 288.2 kB / 0.7502 GB, free: 3.215 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00431/0.8236, allocations: 2.948 MB / 0.7531 GB, free: 0.5586 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.8236, allocations: 0 / 0.7531 GB, free: 0.5586 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.8236, allocations: 4 kB / 0.7531 GB, free: 0.5547 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.538e-05/0.8237, allocations: 19.55 kB / 0.7531 GB, free: 0.5391 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.91e-05/0.8238, allocations: 43.31 kB / 0.7532 GB, free: 0.4961 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.8238, allocations: 0 / 0.7532 GB, free: 0.4961 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.8238, allocations: 4 kB / 0.7532 GB, free: 0.4922 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.8238, allocations: 4 kB / 0.7532 GB, free: 500 kB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009101/0.8248, allocations: 0.9734 MB / 0.7541 GB, free: 15.73 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.8249, allocations: 49.62 kB / 0.7542 GB, free: 15.68 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.8249, allocations: 23.36 kB / 0.7542 GB, free: 15.66 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.8249, allocations: 4.922 kB / 0.7542 GB, free: 15.66 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.815e-05/0.825, allocations: 58.67 kB / 0.7543 GB, free: 15.6 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.8251, allocations: 4 kB / 0.7543 GB, free: 15.59 MB / 0.5265 GB Notification: Performance of matching and sorting (n=5): time 0.0003983/0.8255, allocations: 340.4 kB / 0.7546 GB, free: 15.26 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.8255, allocations: 55.41 kB / 0.7546 GB, free: 15.19 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002706/0.8282, allocations: 2.656 MB / 0.7572 GB, free: 13.06 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.8282, allocations: 29.7 kB / 0.7573 GB, free: 13.03 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.8285, allocations: 462.8 kB / 0.7577 GB, free: 12.7 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.8286, allocations: 15.56 kB / 0.7577 GB, free: 12.69 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.8286, allocations: 0 / 0.7577 GB, free: 12.69 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.8287, allocations: 313.9 kB / 0.758 GB, free: 12.38 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.81e-05/0.8287, allocations: 14.98 kB / 0.758 GB, free: 12.36 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.587e-05/0.8287, allocations: 24.72 kB / 0.7581 GB, free: 12.34 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.428e-05/0.8288, allocations: 19.67 kB / 0.7581 GB, free: 12.32 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.8288, allocations: 0 / 0.7581 GB, free: 12.32 MB / 0.5265 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003329/0.8292, allocations: 360.2 kB / 0.7584 GB, free: 11.97 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.8292, allocations: 4 kB / 0.7584 GB, free: 11.97 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.8292, allocations: 4 kB / 0.7584 GB, free: 11.96 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.8292, allocations: 0 / 0.7584 GB, free: 11.96 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.312e-05/0.8293, allocations: 11.94 kB / 0.7584 GB, free: 11.95 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.8293, allocations: 0 / 0.7584 GB, free: 11.95 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.8295, allocations: 11.92 kB / 0.7585 GB, free: 11.94 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.8295, allocations: 8.031 kB / 0.7585 GB, free: 11.93 MB / 0.5265 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.978e-05/0.8296, allocations: 108.8 kB / 0.7586 GB, free: 11.82 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.8298, allocations: 292.2 kB / 0.7588 GB, free: 11.54 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005038/0.8304, allocations: 400.3 kB / 0.7592 GB, free: 11.2 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.8304, allocations: 3.938 kB / 0.7592 GB, free: 11.2 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8304, allocations: 0 / 0.7592 GB, free: 11.2 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8304, allocations: 0 / 0.7592 GB, free: 11.2 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008947/0.8313, allocations: 1.056 MB / 0.7603 GB, free: 10.36 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.8313, allocations: 192 / 0.7603 GB, free: 10.36 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.8313, allocations: 12 kB / 0.7603 GB, free: 10.35 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.8313, allocations: 0 / 0.7603 GB, free: 10.35 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.8314, allocations: 3.984 kB / 0.7603 GB, free: 10.35 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8314, allocations: 0 / 0.7603 GB, free: 10.35 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.8314, allocations: 4 kB / 0.7603 GB, free: 10.34 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003445/0.8317, allocations: 393.1 kB / 0.7607 GB, free: 9.953 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.8321, allocations: 337 kB / 0.761 GB, free: 9.605 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.8322, allocations: 0 / 0.761 GB, free: 9.605 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.8324, allocations: 11.98 kB / 0.761 GB, free: 9.594 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.8325, allocations: 0 / 0.761 GB, free: 9.594 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.8325, allocations: 4 kB / 0.761 GB, free: 9.59 MB / 0.5265 GB Notification: Performance of sort global known variables: time 0.002101/0.8346, allocations: 2.082 MB / 0.763 GB, free: 7.969 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0003444/0.835, allocations: 76 kB / 0.7631 GB, free: 7.895 MB / 0.5265 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.0006653/0.8356, allocations: 315.3 kB / 0.7634 GB, free: 7.66 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.8357, allocations: 37.5 kB / 0.7634 GB, free: 7.633 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8357, allocations: 0 / 0.7634 GB, free: 7.633 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 4.429e-05/0.8358, allocations: 26.61 kB / 0.7635 GB, free: 7.613 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.8363, allocations: 234.5 kB / 0.7637 GB, free: 7.504 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006675/0.843, allocations: 3.381 MB / 0.767 GB, free: 4.223 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002161/0.8452, allocations: 2.161 MB / 0.7691 GB, free: 2.164 MB / 0.5265 GB Notification: Performance of SimCode: time 4.61e-07/0.8452, allocations: 0 / 0.7691 GB, free: 2.164 MB / 0.5265 GB Notification: Performance of Templates: time 0.02392/0.8692, allocations: 7.629 MB / 0.7765 GB, free: 10.55 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches