Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24") [:1:1-1:32: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 3.2.1+maint.om/package.mo): time 0.002601/0.002601, allocations: 171.7 kB / 7.445 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.078/1.078, allocations: 170.6 MB / 178.4 MB, free: 15.41 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001746/0.001746, allocations: 123.8 kB / 217.7 MB, free: 8.172 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1754/0.1754, allocations: 37.97 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.658e-06/9.688e-06, allocations: 2.75 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 48.71 MB / 398.2 MB, free: 5.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3122/0.4193, allocations: 75 MB / 473.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001697/0.4195, allocations: 63.73 kB / 473.3 MB, free: 13.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.009327/0.4288, allocations: 3.595 MB / 476.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.4289, allocations: 4.5 kB / 476.9 MB, free: 13.37 MB / 330.7 MB 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.0003099/0.4292, allocations: 416.8 kB / 477.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.4292, allocations: 11.25 kB / 477.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.4293, allocations: 10.03 kB / 477.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.4295, allocations: 198.1 kB / 477.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.4296, allocations: 0 / 477.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.4296, allocations: 3.875 kB / 477.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.628e-05/0.4297, allocations: 21.16 kB / 477.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.915e-05/0.4297, allocations: 53.73 kB / 477.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4298, allocations: 0 / 477.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.4298, allocations: 0 / 477.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.4298, allocations: 0 / 477.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.4302, allocations: 265.7 kB / 477.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.4304, allocations: 40.11 kB / 477.9 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.746e-05/0.4304, allocations: 16.02 kB / 477.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.4304, allocations: 0 / 477.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.262e-05/0.4305, allocations: 57.61 kB / 477.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.4305, allocations: 0 / 477.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003391/0.4308, allocations: 94.36 kB / 478 MB, free: 12.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.4309, allocations: 57.73 kB / 478.1 MB, free: 12.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.431, allocations: 170.3 kB / 478.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.4311, allocations: 32.94 kB / 478.3 MB, free: 12.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.4311, allocations: 90.23 kB / 478.4 MB, free: 12.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.4312, allocations: 14.94 kB / 478.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.4312, allocations: 0 / 478.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4313, allocations: 324.1 kB / 478.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.645e-05/0.4313, allocations: 20.5 kB / 478.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.18e-05/0.4314, allocations: 17.81 kB / 478.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.893e-05/0.4314, allocations: 21.75 kB / 478.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.4314, allocations: 0 / 478.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001407/0.4316, allocations: 103.9 kB / 478.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.4316, allocations: 3.875 kB / 478.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.4316, allocations: 0 / 478.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.4316, allocations: 0 / 478.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.921e-05/0.4317, allocations: 10.2 kB / 478.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.4317, allocations: 4.062 kB / 478.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.096e-05/0.4317, allocations: 7.781 kB / 478.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.4318, allocations: 7.562 kB / 478.9 MB, free: 11.68 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 6.448e-05/0.4318, allocations: 111.2 kB / 479 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.4319, allocations: 15.47 kB / 479 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.432, allocations: 90.92 kB / 479.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4321, allocations: 4 kB / 479.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4321, allocations: 0 / 479.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4321, allocations: 3.281 kB / 479.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.4323, allocations: 316.1 kB / 479.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4324, allocations: 3.906 kB / 479.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.4324, allocations: 14.52 kB / 479.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4324, allocations: 144 / 479.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.4324, allocations: 0 / 479.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4324, allocations: 3.969 kB / 479.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4324, allocations: 7.922 kB / 479.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001232/0.4326, allocations: 165.3 kB / 479.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.4326, allocations: 90.75 kB / 479.7 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.4326, allocations: 3.906 kB / 479.7 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.4327, allocations: 4 kB / 479.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.4328, allocations: 6.516 kB / 479.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.4328, allocations: 0 / 479.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.899e-05/0.4329, allocations: 134.2 kB / 479.9 MB, free: 10.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002842/0.4332, allocations: 33.86 kB / 479.9 MB, free: 10.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006129/0.4338, allocations: 274.7 kB / 480.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.4339, allocations: 75.73 kB / 480.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.434, allocations: 0 / 480.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.434, allocations: 15.12 kB / 480.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.4342, allocations: 24.89 kB / 480.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.4346, allocations: 140.7 kB / 480.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.4348, allocations: 0.7236 MB / 481.1 MB, free: 9.895 MB / 330.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4348, allocations: 3.938 kB / 481.1 MB, free: 9.891 MB / 330.7 MB Notification: Performance of Templates: time 0.003759/0.4386, allocations: 1.452 MB / 482.6 MB, free: 9.723 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1)