Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16") [: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.003477/0.003478, allocations: 177.5 kB / 7.451 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.321/1.321, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001712/0.001712, allocations: 115.8 kB / 217.7 MB, free: 8.141 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.158/0.158, allocations: 37.97 MB / 294.8 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.111e-05/1.114e-05, allocations: 2.969 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08224/0.08227, allocations: 48.72 MB / 398.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2656/0.3479, allocations: 75 MB / 473.2 MB, free: 13.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.3482, allocations: 66.05 kB / 473.3 MB, free: 13.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.009449/0.3576, allocations: 3.496 MB / 476.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.3577, allocations: 0 / 476.8 MB, free: 13.38 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.0003193/0.358, allocations: 411.8 kB / 477.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.358, allocations: 7.719 kB / 477.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.3581, allocations: 17.72 kB / 477.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.3583, allocations: 191.4 kB / 477.4 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.3584, allocations: 3.906 kB / 477.4 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.3584, allocations: 4 kB / 477.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.998e-05/0.3585, allocations: 17.91 kB / 477.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.603e-05/0.3585, allocations: 42.05 kB / 477.5 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3586, allocations: 3.984 kB / 477.5 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3586, allocations: 0 / 477.5 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3586, allocations: 0 / 477.5 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.3589, allocations: 265.3 kB / 477.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.3591, allocations: 43.44 kB / 477.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.473e-05/0.3591, allocations: 15.08 kB / 477.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.3592, allocations: 0 / 477.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.599e-05/0.3593, allocations: 52.88 kB / 477.8 MB, free: 12.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3593, allocations: 0 / 477.8 MB, free: 12.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003364/0.3596, allocations: 99.3 kB / 477.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.932e-05/0.3596, allocations: 60.95 kB / 478 MB, free: 12.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.3597, allocations: 146.1 kB / 478.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.3598, allocations: 25.7 kB / 478.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.3598, allocations: 89.44 kB / 478.2 MB, free: 12.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.3598, allocations: 11.69 kB / 478.3 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.3599, allocations: 3.938 kB / 478.3 MB, free: 12.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.277e-05/0.3599, allocations: 325 kB / 478.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.812e-05/0.3599, allocations: 21.05 kB / 478.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.044e-05/0.36, allocations: 18.75 kB / 478.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.323e-05/0.36, allocations: 21.98 kB / 478.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.36, allocations: 4 kB / 478.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001305/0.3602, allocations: 93.62 kB / 478.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.3602, allocations: 7.906 kB / 478.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.3602, allocations: 0 / 478.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3602, allocations: 0 / 478.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.616e-05/0.3603, allocations: 11.22 kB / 478.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3603, allocations: 4.062 kB / 478.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.852e-05/0.3603, allocations: 7.781 kB / 478.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3603, allocations: 3.281 kB / 478.8 MB, free: 11.7 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.076e-05/0.3604, allocations: 112.9 kB / 478.9 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.3604, allocations: 7.844 kB / 478.9 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.3606, allocations: 88.03 kB / 479 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3606, allocations: 0 / 479 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3606, allocations: 3.906 kB / 479 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3606, allocations: 3.328 kB / 479 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.3608, allocations: 314.4 kB / 479.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3609, allocations: 4 kB / 479.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/0.3609, allocations: 11.72 kB / 479.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3609, allocations: 0 / 479.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.3609, allocations: 6.484 kB / 479.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3609, allocations: 3.844 kB / 479.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3609, allocations: 0 / 479.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001109/0.361, allocations: 162.5 kB / 479.5 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.3611, allocations: 88.86 kB / 479.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.3611, allocations: 3.328 kB / 479.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.747e-05/0.3612, allocations: 7.906 kB / 479.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.3612, allocations: 7.5 kB / 479.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.3612, allocations: 3.906 kB / 479.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.773e-05/0.3613, allocations: 115.3 kB / 479.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002736/0.3616, allocations: 37.62 kB / 479.7 MB, free: 10.94 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.0004894/0.3621, allocations: 282.6 kB / 480 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.3622, allocations: 73.55 kB / 480.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.3622, allocations: 0 / 480.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.645e-05/0.3623, allocations: 22.23 kB / 480.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.3625, allocations: 13.16 kB / 480.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.3628, allocations: 121.4 kB / 480.2 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.363, allocations: 0.7125 MB / 480.9 MB, free: 25.92 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.363, allocations: 0 / 480.9 MB, free: 25.92 MB / 346.7 MB Notification: Performance of Templates: time 0.003485/0.3665, allocations: 1.416 MB / 482.4 MB, free: 25.75 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1)