Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46") [: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.002244/0.002244, allocations: 178.4 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.196/1.196, allocations: 170.6 MB / 178.4 MB, free: 15.79 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.001833/0.001833, allocations: 107.9 kB / 217.7 MB, free: 8.582 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.2418/0.2418, allocations: 37.98 MB / 294.8 MB, free: 9.695 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.077e-05/1.08e-05, allocations: 2.188 kB / 349.5 MB, free: 37.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1052, allocations: 48.71 MB / 398.2 MB, free: 5.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.297/0.4023, allocations: 75.03 MB / 473.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.4026, allocations: 65.06 kB / 473.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01078/0.4134, allocations: 3.938 MB / 477.3 MB, free: 13.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.4135, allocations: 7.844 kB / 477.3 MB, free: 13.54 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.00039/0.4139, allocations: 429.8 kB / 477.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.4139, allocations: 7.906 kB / 477.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.414, allocations: 19.5 kB / 477.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.4142, allocations: 210.9 kB / 477.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.4143, allocations: 0 / 477.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.4143, allocations: 11.78 kB / 477.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.963e-05/0.4143, allocations: 11.72 kB / 477.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.177e-05/0.4144, allocations: 51.09 kB / 478 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4144, allocations: 0 / 478 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.4145, allocations: 3.938 kB / 478 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4145, allocations: 0 / 478 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.4148, allocations: 284.7 kB / 478.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.415, allocations: 34.11 kB / 478.3 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.415, allocations: 8.734 kB / 478.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.415, allocations: 7.141 kB / 478.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.371e-05/0.4151, allocations: 57.11 kB / 478.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4151, allocations: 0 / 478.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003251/0.4154, allocations: 111.8 kB / 478.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.4155, allocations: 51.41 kB / 478.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.4157, allocations: 218.2 kB / 478.7 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.4157, allocations: 25.7 kB / 478.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.4158, allocations: 101.4 kB / 478.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.4158, allocations: 7.812 kB / 478.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-06/0.4158, allocations: 0 / 478.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.4159, allocations: 331.4 kB / 479.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.699e-05/0.4159, allocations: 16.59 kB / 479.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.072e-05/0.4159, allocations: 17.97 kB / 479.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.6e-05/0.416, allocations: 24.78 kB / 479.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.92e-07/0.416, allocations: 3.875 kB / 479.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000208/0.4162, allocations: 94.78 kB / 479.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.4162, allocations: 11.75 kB / 479.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4163, allocations: 3 kB / 479.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.4163, allocations: 0 / 479.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.446e-05/0.4163, allocations: 7.844 kB / 479.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4163, allocations: 8.031 kB / 479.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.4164, allocations: 7.812 kB / 479.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.4164, allocations: 13.78 kB / 479.4 MB, free: 11.81 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 4.883e-05/0.4165, allocations: 104.9 kB / 479.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.4165, allocations: 11.75 kB / 479.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.4167, allocations: 94.8 kB / 479.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4167, allocations: 0 / 479.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4167, allocations: 0 / 479.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.4167, allocations: 3.875 kB / 479.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.4169, allocations: 350.4 kB / 480 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.417, allocations: 4 kB / 480 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.25e-05/0.417, allocations: 3.781 kB / 480 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.417, allocations: 0 / 480 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.417, allocations: 7.781 kB / 480 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.417, allocations: 0 / 480 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.417, allocations: 0 / 480 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001185/0.4172, allocations: 171.2 kB / 480.1 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.4172, allocations: 98.97 kB / 480.2 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.4172, allocations: 3.938 kB / 480.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.4173, allocations: 3.875 kB / 480.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.4174, allocations: 10.14 kB / 480.3 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.4174, allocations: 3.875 kB / 480.3 MB, free: 11.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001158/0.4175, allocations: 173.6 kB / 480.4 MB, free: 11.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000264/0.4178, allocations: 40.88 kB / 480.5 MB, free: 11.05 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.0005002/0.4183, allocations: 273.3 kB / 480.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.4184, allocations: 70.14 kB / 480.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4184, allocations: 3.938 kB / 480.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/0.4185, allocations: 25.81 kB / 480.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.4187, allocations: 22.06 kB / 480.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.4191, allocations: 181.9 kB / 481 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/0.4194, allocations: 0.7421 MB / 481.8 MB, free: 26.03 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4194, allocations: 0 / 481.8 MB, free: 26.03 MB / 346.7 MB Notification: Performance of Templates: time 0.00363/0.423, allocations: 1.551 MB / 483.3 MB, free: 25.84 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1)