Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27") [: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.002585/0.002585, allocations: 173.5 kB / 7.449 MB, free: 2.5 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.188/1.188, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001737/0.001737, allocations: 113.1 kB / 217.7 MB, free: 8.148 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.1475/0.1475, allocations: 37.98 MB / 294.8 MB, free: 9.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.162e-05/1.165e-05, allocations: 2.906 kB / 349.5 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08657/0.0866, allocations: 48.71 MB / 398.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2793/0.3659, allocations: 75 MB / 473.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.3662, allocations: 64.8 kB / 473.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.009882/0.3761, allocations: 3.556 MB / 476.8 MB, free: 13.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.3762, allocations: 7.938 kB / 476.8 MB, free: 13.62 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.0003365/0.3765, allocations: 406.7 kB / 477.2 MB, free: 13.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3765, allocations: 8.594 kB / 477.3 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.3766, allocations: 10.64 kB / 477.3 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.3768, allocations: 198.7 kB / 477.5 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3768, allocations: 0 / 477.5 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3769, allocations: 9.625 kB / 477.5 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.685e-05/0.3769, allocations: 10.88 kB / 477.5 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.322e-05/0.377, allocations: 46.31 kB / 477.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.377, allocations: 0 / 477.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.377, allocations: 7.844 kB / 477.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.377, allocations: 3.969 kB / 477.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.3773, allocations: 265.3 kB / 477.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.3775, allocations: 41.06 kB / 477.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.3775, allocations: 20.23 kB / 477.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.3775, allocations: 0 / 477.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.928e-05/0.3776, allocations: 52.19 kB / 477.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3776, allocations: 0 / 477.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003082/0.3779, allocations: 95.58 kB / 478 MB, free: 12.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.378, allocations: 58.97 kB / 478.1 MB, free: 12.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.3781, allocations: 153.9 kB / 478.2 MB, free: 12.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.3781, allocations: 25.7 kB / 478.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.3781, allocations: 98 kB / 478.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.3782, allocations: 14.41 kB / 478.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.3782, allocations: 0 / 478.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.623e-05/0.3782, allocations: 321.4 kB / 478.7 MB, free: 12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.772e-05/0.3783, allocations: 18.62 kB / 478.7 MB, free: 12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.3783, allocations: 18.02 kB / 478.7 MB, free: 12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.558e-05/0.3784, allocations: 27.86 kB / 478.7 MB, free: 12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.3784, allocations: 3.875 kB / 478.7 MB, free: 12 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001334/0.3785, allocations: 93.38 kB / 478.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.3785, allocations: 7.875 kB / 478.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3786, allocations: 0 / 478.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3786, allocations: 3.875 kB / 478.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.482e-05/0.3786, allocations: 11.81 kB / 478.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3786, allocations: 0 / 478.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.988e-05/0.3787, allocations: 3.438 kB / 478.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.3787, allocations: 6.969 kB / 478.8 MB, free: 11.95 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.191e-05/0.3788, allocations: 120.7 kB / 479 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.3788, allocations: 7.781 kB / 479 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.379, allocations: 88.75 kB / 479.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.379, allocations: 0 / 479.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.379, allocations: 0 / 479.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.379, allocations: 0 / 479.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.3792, allocations: 324.5 kB / 479.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3792, allocations: 0 / 479.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.3793, allocations: 7.062 kB / 479.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3793, allocations: 8.016 kB / 479.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.3793, allocations: 0 / 479.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3793, allocations: 0 / 479.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3793, allocations: 0 / 479.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001076/0.3794, allocations: 173.8 kB / 479.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.3795, allocations: 88.77 kB / 479.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.3795, allocations: 0 / 479.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-05/0.3796, allocations: 0 / 479.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.3796, allocations: 11.06 kB / 479.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.3796, allocations: 3.375 kB / 479.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.222e-05/0.3797, allocations: 126 kB / 479.8 MB, free: 11.19 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.3799, allocations: 37.75 kB / 479.8 MB, free: 11.18 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.000466/0.3804, allocations: 266.2 kB / 480.1 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.3806, allocations: 74.31 kB / 480.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.3806, allocations: 0 / 480.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.463e-05/0.3806, allocations: 22.42 kB / 480.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.3808, allocations: 25.52 kB / 480.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002725/0.3811, allocations: 128.2 kB / 480.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.3814, allocations: 0.7172 MB / 481 MB, free: 26.17 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3814, allocations: 3.938 kB / 481 MB, free: 26.17 MB / 346.7 MB Notification: Performance of Templates: time 0.003803/0.3852, allocations: 1.441 MB / 482.5 MB, free: 25.99 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1)