Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") [: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.002482/0.002482, allocations: 173.2 kB / 7.449 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.052/1.052, 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.001659/0.001659, allocations: 109.1 kB / 217.7 MB, free: 8.176 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.1499/0.1499, allocations: 37.98 MB / 294.8 MB, free: 9.637 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.003e-05/1.014e-05, allocations: 3.406 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 48.71 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3169/0.4226, allocations: 75.03 MB / 473.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.4229, allocations: 68.8 kB / 473.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01121/0.4341, allocations: 3.649 MB / 477 MB, free: 13.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.4342, allocations: 0 / 477 MB, free: 13.48 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.0006359/0.4349, allocations: 406 kB / 477.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.435, allocations: 11.69 kB / 477.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.342e-05/0.4351, allocations: 7.781 kB / 477.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.4354, allocations: 206.7 kB / 477.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.4355, allocations: 3.141 kB / 477.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.4355, allocations: 4.5 kB / 477.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.444e-05/0.4356, allocations: 11.25 kB / 477.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.912e-05/0.4357, allocations: 43.16 kB / 477.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4358, allocations: 3.875 kB / 477.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.4358, allocations: 3.906 kB / 477.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.4358, allocations: 0 / 477.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.4362, allocations: 272.8 kB / 477.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.4364, allocations: 39.84 kB / 478 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.964e-05/0.4365, allocations: 11.83 kB / 478 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.4365, allocations: 0 / 478 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.873e-05/0.4366, allocations: 56.94 kB / 478 MB, free: 12.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.4366, allocations: 0 / 478 MB, free: 12.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003892/0.437, allocations: 105.9 kB / 478.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.4371, allocations: 51.41 kB / 478.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.4372, allocations: 155.4 kB / 478.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.4372, allocations: 25.7 kB / 478.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.4373, allocations: 94.56 kB / 478.4 MB, free: 12.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.4373, allocations: 14.89 kB / 478.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.4373, allocations: 0 / 478.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.396e-05/0.4374, allocations: 323.6 kB / 478.8 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.141e-05/0.4374, allocations: 17.25 kB / 478.8 MB, free: 11.85 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.281e-05/0.4375, allocations: 24.72 kB / 478.8 MB, free: 11.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.855e-05/0.4375, allocations: 24.83 kB / 478.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.4375, allocations: 0 / 478.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001477/0.4377, allocations: 98.05 kB / 478.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.4377, allocations: 3.938 kB / 478.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4377, allocations: 0 / 478.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.4377, allocations: 0 / 478.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.695e-05/0.4378, allocations: 10.48 kB / 479 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.4378, allocations: 4 kB / 479 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.4378, allocations: 8 kB / 479 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.4378, allocations: 3.844 kB / 479 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 5.876e-05/0.4379, allocations: 112.8 kB / 479.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.4379, allocations: 14.2 kB / 479.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.4381, allocations: 83.12 kB / 479.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4381, allocations: 0 / 479.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4381, allocations: 0 / 479.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4382, allocations: 2.953 kB / 479.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.4384, allocations: 334.1 kB / 479.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4384, allocations: 0 / 479.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/0.4385, allocations: 3.781 kB / 479.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4385, allocations: 3.938 kB / 479.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.4385, allocations: 0 / 479.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4385, allocations: 0 / 479.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4385, allocations: 0 / 479.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001292/0.4386, allocations: 169.9 kB / 479.7 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.4387, allocations: 94.5 kB / 479.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.4387, allocations: 0 / 479.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.4388, allocations: 0 / 479.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.4388, allocations: 6.75 kB / 479.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.4388, allocations: 3.906 kB / 479.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.395e-05/0.4389, allocations: 123.2 kB / 479.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002785/0.4392, allocations: 37.59 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.0005622/0.4398, allocations: 277.6 kB / 480.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.4399, allocations: 72.95 kB / 480.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4399, allocations: 0 / 480.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.99e-05/0.44, allocations: 26.75 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.000239/0.4402, allocations: 10.41 kB / 480.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.4406, allocations: 134.7 kB / 480.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/0.4409, allocations: 0.7139 MB / 481.2 MB, free: 26.03 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4409, allocations: 3.938 kB / 481.2 MB, free: 26.02 MB / 346.7 MB Notification: Performance of Templates: time 0.003928/0.4448, allocations: 1.442 MB / 482.6 MB, free: 25.85 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)