Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23") [: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.00366/0.00366, allocations: 175.5 kB / 7.451 MB, free: 2.504 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.125/1.125, allocations: 170.6 MB / 178.4 MB, free: 15.44 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.001739/0.001739, allocations: 107.9 kB / 217.7 MB, free: 8.207 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.1893/0.1893, allocations: 37.97 MB / 294.8 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.919e-06/1.029e-05, allocations: 2.688 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1083, allocations: 48.71 MB / 398.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.313/0.4214, allocations: 75 MB / 473.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.4217, allocations: 69.22 kB / 473.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.009833/0.4315, allocations: 3.583 MB / 476.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.4316, allocations: 0 / 476.9 MB, free: 13.5 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.0004161/0.432, allocations: 424.9 kB / 477.3 MB, free: 13.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.432, allocations: 11.69 kB / 477.3 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.4321, allocations: 10.12 kB / 477.3 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.4324, allocations: 199.4 kB / 477.5 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.4324, allocations: 3.969 kB / 477.5 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.4325, allocations: 3.984 kB / 477.5 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.088e-05/0.4325, allocations: 13.72 kB / 477.5 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.099e-05/0.4326, allocations: 47.55 kB / 477.6 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.4326, allocations: 0 / 477.6 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.4327, allocations: 7.188 kB / 477.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-06/0.4327, allocations: 3.938 kB / 477.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.433, allocations: 273 kB / 477.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.4332, allocations: 35.34 kB / 477.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.4333, allocations: 12.52 kB / 477.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.4333, allocations: 0 / 477.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.388e-05/0.4334, allocations: 60.89 kB / 478 MB, free: 12.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.4334, allocations: 0 / 478 MB, free: 12.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003373/0.4337, allocations: 100.6 kB / 478.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.4338, allocations: 51.41 kB / 478.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.4339, allocations: 169.2 kB / 478.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.434, allocations: 25.7 kB / 478.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.434, allocations: 90.17 kB / 478.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.434, allocations: 17.58 kB / 478.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-06/0.434, allocations: 4 kB / 478.4 MB, free: 12.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.4341, allocations: 321.3 kB / 478.7 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.353e-05/0.4342, allocations: 22 kB / 478.7 MB, free: 11.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.287e-05/0.4342, allocations: 18.31 kB / 478.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.042e-05/0.4343, allocations: 24.39 kB / 478.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.4343, allocations: 0 / 478.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001488/0.4345, allocations: 92.56 kB / 478.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/0.4345, allocations: 11.56 kB / 478.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.4345, allocations: 0 / 478.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.183e-06/0.4345, allocations: 4 kB / 478.9 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.741e-05/0.4345, allocations: 10.92 kB / 478.9 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.4346, allocations: 3.906 kB / 478.9 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.4346, allocations: 11.66 kB / 478.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.4346, allocations: 3.781 kB / 478.9 MB, free: 11.8 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.322e-05/0.4347, allocations: 105.1 kB / 479 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.4347, allocations: 7.656 kB / 479 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.4349, allocations: 95.22 kB / 479.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4349, allocations: 3.906 kB / 479.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4349, allocations: 0 / 479.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.4349, allocations: 0 / 479.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.4352, allocations: 329.8 kB / 479.4 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4352, allocations: 3.906 kB / 479.4 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.361e-05/0.4353, allocations: 7.719 kB / 479.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4353, allocations: 0 / 479.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.4353, allocations: 0 / 479.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4353, allocations: 0 / 479.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4353, allocations: 4 kB / 479.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001307/0.4355, allocations: 169.3 kB / 479.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.4355, allocations: 91.16 kB / 479.7 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.4355, allocations: 0 / 479.7 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.4356, allocations: 7.844 kB / 479.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.4356, allocations: 2.953 kB / 479.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.4357, allocations: 3.875 kB / 479.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001016/0.4358, allocations: 135.4 kB / 479.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002914/0.4361, allocations: 34.3 kB / 479.9 MB, free: 11.04 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.000589/0.4367, allocations: 273.8 kB / 480.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.4368, allocations: 74.62 kB / 480.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4368, allocations: 0 / 480.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.943e-05/0.4369, allocations: 22.94 kB / 480.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.4371, allocations: 19.23 kB / 480.3 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.4374, allocations: 140.5 kB / 480.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000367/0.4378, allocations: 0.7245 MB / 481.1 MB, free: 26.02 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4378, allocations: 3.938 kB / 481.1 MB, free: 26.02 MB / 346.7 MB Notification: Performance of Templates: time 0.003593/0.4414, allocations: 1.447 MB / 482.6 MB, free: 25.85 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)