Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25") [: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.003985/0.003985, allocations: 178.5 kB / 7.454 MB, free: 2.484 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.16/1.16, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.001767/0.001767, allocations: 103.9 kB / 217.7 MB, free: 8.164 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.253/0.253, allocations: 37.98 MB / 294.8 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.278e-05/1.288e-05, allocations: 3.219 kB / 349.5 MB, free: 37.12 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1151, allocations: 48.71 MB / 398.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2854/0.4005, allocations: 75.04 MB / 473.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.4008, allocations: 67.34 kB / 473.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0101/0.4109, allocations: 3.685 MB / 477 MB, free: 13.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.4109, allocations: 0 / 477 MB, free: 13.56 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.0003627/0.4113, allocations: 418.3 kB / 477.4 MB, free: 13.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.4114, allocations: 11.66 kB / 477.4 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.4114, allocations: 7.781 kB / 477.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.4117, allocations: 200.2 kB / 477.6 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.4117, allocations: 0 / 477.6 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.4117, allocations: 7.812 kB / 477.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.715e-05/0.4118, allocations: 15.53 kB / 477.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.246e-05/0.4119, allocations: 47.66 kB / 477.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4119, allocations: 0 / 477.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.4119, allocations: 3.984 kB / 477.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.412, allocations: 3.969 kB / 477.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.4123, allocations: 268.1 kB / 478 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.4125, allocations: 38.44 kB / 478 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.341e-05/0.4126, allocations: 22.92 kB / 478 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.4126, allocations: 0 / 478 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.005e-05/0.4127, allocations: 49.2 kB / 478.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.4127, allocations: 3.969 kB / 478.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000389/0.4131, allocations: 98.52 kB / 478.2 MB, free: 12.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.4131, allocations: 55.34 kB / 478.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.4133, allocations: 168.7 kB / 478.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.4133, allocations: 29.7 kB / 478.4 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.4134, allocations: 92.42 kB / 478.5 MB, free: 12.24 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.4134, allocations: 14.64 kB / 478.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-06/0.4134, allocations: 0 / 478.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.096e-05/0.4135, allocations: 323.7 kB / 478.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.233e-05/0.4135, allocations: 18.28 kB / 478.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.24e-05/0.4136, allocations: 18.31 kB / 478.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/0.4136, allocations: 25.12 kB / 478.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.4136, allocations: 0 / 478.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000158/0.4138, allocations: 108.6 kB / 479 MB, free: 11.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4138, allocations: 3.688 kB / 479 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.4138, allocations: 0 / 479 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4139, allocations: 2.766 kB / 479 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.803e-05/0.4139, allocations: 7.781 kB / 479 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.4139, allocations: 11.83 kB / 479 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.325e-05/0.414, allocations: 3.938 kB / 479 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.414, allocations: 6.891 kB / 479.1 MB, free: 11.86 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.678e-05/0.4141, allocations: 104.9 kB / 479.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.4141, allocations: 11.75 kB / 479.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.4143, allocations: 93.91 kB / 479.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4143, allocations: 0 / 479.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4143, allocations: 0 / 479.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4143, allocations: 0 / 479.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.4146, allocations: 317.2 kB / 479.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4146, allocations: 10.83 kB / 479.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.4147, allocations: 7.688 kB / 479.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4147, allocations: 0 / 479.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.4147, allocations: 3.938 kB / 479.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4147, allocations: 3.938 kB / 479.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4147, allocations: 0 / 479.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000129/0.4148, allocations: 173.8 kB / 479.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.4149, allocations: 88.61 kB / 479.8 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.4149, allocations: 2.812 kB / 479.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/0.415, allocations: 4 kB / 479.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.415, allocations: 7.281 kB / 479.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.415, allocations: 5.438 kB / 479.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.495e-05/0.4151, allocations: 129.9 kB / 480 MB, free: 11.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002744/0.4154, allocations: 33.25 kB / 480 MB, free: 11.11 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.0005766/0.416, allocations: 276.5 kB / 480.3 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.4161, allocations: 75.25 kB / 480.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4161, allocations: 0 / 480.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.564e-05/0.4162, allocations: 20.98 kB / 480.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.4164, allocations: 14.05 kB / 480.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.4168, allocations: 149 kB / 480.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/0.4171, allocations: 0.7194 MB / 481.3 MB, free: 26.09 MB / 346.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4171, allocations: 7.719 kB / 481.3 MB, free: 26.09 MB / 346.7 MB Notification: Performance of Templates: time 0.003667/0.4208, allocations: 1.445 MB / 482.7 MB, free: 25.91 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1)