Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4") [: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.006089/0.006089, allocations: 178.9 kB / 7.451 MB, free: 2.512 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.301/1.301, 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.001805/0.001805, allocations: 111.8 kB / 217.7 MB, free: 8.215 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.1658/0.1658, allocations: 37.97 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.466e-06/8.506e-06, allocations: 3.594 kB / 349.5 MB, free: 37.13 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08469/0.08471, allocations: 48.71 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2913/0.3761, allocations: 75.02 MB / 473.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/0.3763, allocations: 71.39 kB / 473.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01008/0.3864, allocations: 3.761 MB / 477.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.3865, allocations: 0 / 477.1 MB, free: 13.41 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.0004445/0.3869, allocations: 426.7 kB / 477.5 MB, free: 12.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.387, allocations: 11.69 kB / 477.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.517e-05/0.3871, allocations: 11.75 kB / 477.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.3873, allocations: 205.9 kB / 477.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.3874, allocations: 4 kB / 477.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.3874, allocations: 7.75 kB / 477.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.244e-05/0.3875, allocations: 14.47 kB / 477.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.068e-05/0.3876, allocations: 43.91 kB / 477.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3876, allocations: 0 / 477.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3876, allocations: 0 / 477.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3876, allocations: 0 / 477.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.388, allocations: 281.6 kB / 478.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.3882, allocations: 37.78 kB / 478.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.3882, allocations: 15.69 kB / 478.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.3883, allocations: 0 / 478.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.231e-05/0.3884, allocations: 61.19 kB / 478.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3884, allocations: 0 / 478.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003861/0.3888, allocations: 93.86 kB / 478.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.3888, allocations: 57.94 kB / 478.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.389, allocations: 182.9 kB / 478.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.389, allocations: 25.7 kB / 478.5 MB, free: 12.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.389, allocations: 89.78 kB / 478.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.3891, allocations: 17.95 kB / 478.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.3891, allocations: 0 / 478.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.415e-05/0.3892, allocations: 320.7 kB / 478.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.049e-05/0.3892, allocations: 20.97 kB / 479 MB, free: 11.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.3893, allocations: 21.69 kB / 479 MB, free: 11.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.544e-05/0.3893, allocations: 25.55 kB / 479 MB, free: 11.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.3893, allocations: 0 / 479 MB, free: 11.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001507/0.3895, allocations: 100.5 kB / 479.1 MB, free: 11.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3895, allocations: 3.969 kB / 479.1 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3895, allocations: 3.938 kB / 479.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3895, allocations: 0 / 479.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.855e-05/0.3896, allocations: 14.97 kB / 479.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3896, allocations: 3.938 kB / 479.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.3896, allocations: 3.969 kB / 479.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3897, allocations: 3.75 kB / 479.1 MB, free: 11.71 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.455e-05/0.3897, allocations: 108.9 kB / 479.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.3898, allocations: 7.812 kB / 479.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.3899, allocations: 91.89 kB / 479.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.39, allocations: 0 / 479.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.39, allocations: 0 / 479.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.39, allocations: 0 / 479.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.3902, allocations: 334.4 kB / 479.7 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3902, allocations: 4 kB / 479.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.3903, allocations: 7.781 kB / 479.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3903, allocations: 4 kB / 479.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3903, allocations: 0 / 479.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3903, allocations: 0 / 479.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3903, allocations: 7.844 kB / 479.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001147/0.3904, allocations: 166.5 kB / 479.9 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.3905, allocations: 95.19 kB / 479.9 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.3905, allocations: 7.875 kB / 480 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.3906, allocations: 0 / 480 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.3906, allocations: 7.109 kB / 480 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.3906, allocations: 0 / 480 MB, free: 11.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.172e-05/0.3907, allocations: 141.6 kB / 480.1 MB, free: 10.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003019/0.391, allocations: 34.39 kB / 480.1 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.0004967/0.3915, allocations: 268.8 kB / 480.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.3917, allocations: 73.64 kB / 480.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3917, allocations: 0 / 480.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.088e-05/0.3917, allocations: 25 kB / 480.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.392, allocations: 10.45 kB / 480.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.3923, allocations: 158.9 kB / 480.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/0.3926, allocations: 0.7262 MB / 481.4 MB, free: 25.92 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3927, allocations: 0 / 481.4 MB, free: 25.92 MB / 346.7 MB Notification: Performance of Templates: time 0.003576/0.3962, allocations: 1.485 MB / 482.9 MB, free: 25.74 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1)