Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") [: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.004822/0.004823, allocations: 180.9 kB / 7.451 MB, free: 2.473 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.216/1.216, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.001763/0.001763, allocations: 104.6 kB / 217.7 MB, free: 8.23 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.1584/0.1584, allocations: 37.98 MB / 294.8 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.496e-06/8.526e-06, allocations: 3.125 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08536/0.08538, allocations: 48.71 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2832/0.3687, allocations: 76.74 MB / 475 MB, free: 13.67 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.369, allocations: 67.45 kB / 475 MB, free: 13.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01139/0.3804, allocations: 3.672 MB / 478.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.3804, allocations: 3.938 kB / 478.7 MB, free: 13.46 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007283/0.3812, allocations: 0.5482 MB / 479.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3812, allocations: 7.188 kB / 479.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.965e-05/0.3813, allocations: 19.34 kB / 479.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.3816, allocations: 232.1 kB / 479.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.3817, allocations: 0 / 479.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.3817, allocations: 7.719 kB / 479.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001428/0.3819, allocations: 42.34 kB / 479.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.382, allocations: 75.42 kB / 479.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3821, allocations: 3.875 kB / 479.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.3821, allocations: 0 / 479.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.3821, allocations: 3.984 kB / 479.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007015/0.3828, allocations: 409.9 kB / 480 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.3831, allocations: 81.3 kB / 480.1 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.743e-05/0.3831, allocations: 37.67 kB / 480.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.3832, allocations: 0 / 480.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/0.3833, allocations: 94.22 kB / 480.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.764e-06/0.3833, allocations: 0 / 480.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002765/0.3836, allocations: 94.3 kB / 480.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.3836, allocations: 68.62 kB / 480.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.3838, allocations: 172.8 kB / 480.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.3838, allocations: 25.7 kB / 480.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.3839, allocations: 111.3 kB / 480.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.3839, allocations: 26.14 kB / 480.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.384, allocations: 3.938 kB / 480.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.964e-05/0.3841, allocations: 326.7 kB / 481.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.3841, allocations: 39.88 kB / 481.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.934e-05/0.3842, allocations: 52.23 kB / 481.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.871e-05/0.3843, allocations: 37.92 kB / 481.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3843, allocations: 4 kB / 481.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002416/0.3846, allocations: 147.3 kB / 481.3 MB, free: 11.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3846, allocations: 7.75 kB / 481.3 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3846, allocations: 0 / 481.3 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3846, allocations: 0 / 481.3 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.3848, allocations: 40.19 kB / 481.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3848, allocations: 0 / 481.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.3851, allocations: 42.23 kB / 481.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.3851, allocations: 3.906 kB / 481.4 MB, free: 11.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 2 * 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 8.687e-05/0.3852, allocations: 116.7 kB / 481.5 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.3852, allocations: 11.72 kB / 481.5 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.3855, allocations: 116.8 kB / 481.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.3855, allocations: 0 / 481.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.3855, allocations: 11.47 kB / 481.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3855, allocations: 0 / 481.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.3857, allocations: 201 kB / 481.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3857, allocations: 0 / 481.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.3859, allocations: 32.5 kB / 481.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3859, allocations: 0 / 481.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.3859, allocations: 9.75 kB / 481.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3859, allocations: 0 / 481.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3859, allocations: 0 / 481.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003375/0.3863, allocations: 187.4 kB / 482.1 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.3863, allocations: 92 kB / 482.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.3864, allocations: 3.906 kB / 482.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.3866, allocations: 29.89 kB / 482.2 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.3866, allocations: 20.92 kB / 482.2 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3867, allocations: 3.969 kB / 482.2 MB, free: 11.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.47e-05/0.3868, allocations: 143.4 kB / 482.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002701/0.387, allocations: 50.05 kB / 482.4 MB, free: 11.01 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent) * Number of discrete states: 2 (trapezoid1.count,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005619/0.3876, allocations: 256.2 kB / 482.7 MB, free: 10.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.3879, allocations: 139.9 kB / 482.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3879, allocations: 0 / 482.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.135e-05/0.388, allocations: 52.8 kB / 482.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.3883, allocations: 29.92 kB / 482.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005893/0.3889, allocations: 201.9 kB / 483.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003715/0.3893, allocations: 0.7443 MB / 483.8 MB, free: 25.93 MB / 346.7 MB Notification: Performance of SimCode: time 3.7e-07/0.3893, allocations: 0 / 483.8 MB, free: 25.93 MB / 346.7 MB Notification: Performance of Templates: time 0.005344/0.3946, allocations: 2.441 MB / 486.3 MB, free: 25.71 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)