Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") [: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.002444/0.002444, allocations: 176.9 kB / 7.45 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.128/1.128, 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.001888/0.001888, allocations: 115.8 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.1819/0.1819, allocations: 37.97 MB / 294.8 MB, free: 9.641 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.217e-06/9.237e-06, allocations: 1.469 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 48.71 MB / 398.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3938/0.5039, allocations: 75.02 MB / 473.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.5042, allocations: 65.95 kB / 473.3 MB, free: 13.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01564/0.5199, allocations: 3.849 MB / 477.2 MB, free: 13.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.5199, allocations: 0 / 477.2 MB, free: 13.5 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.0004713/0.5204, allocations: 430.8 kB / 477.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5205, allocations: 7.812 kB / 477.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.5206, allocations: 7.812 kB / 477.6 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.5209, allocations: 209 kB / 477.8 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.5209, allocations: 0 / 477.8 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.521, allocations: 3.844 kB / 477.8 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.844e-05/0.5211, allocations: 13.84 kB / 477.8 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.672e-05/0.5212, allocations: 43.44 kB / 477.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.5212, allocations: 3.875 kB / 477.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.5212, allocations: 0 / 477.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.5212, allocations: 0 / 477.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.5217, allocations: 278.9 kB / 478.1 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.5219, allocations: 44.59 kB / 478.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.522, allocations: 12.61 kB / 478.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.522, allocations: 3.984 kB / 478.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.773e-05/0.5221, allocations: 53.06 kB / 478.2 MB, free: 12.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.5221, allocations: 0 / 478.2 MB, free: 12.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000414/0.5226, allocations: 107.8 kB / 478.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.5226, allocations: 55.41 kB / 478.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.5228, allocations: 192.6 kB / 478.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.5229, allocations: 29.52 kB / 478.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.5229, allocations: 94.16 kB / 478.7 MB, free: 12.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.523, allocations: 14.98 kB / 478.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-06/0.523, allocations: 3.875 kB / 478.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.613e-05/0.5231, allocations: 324 kB / 479.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.189e-05/0.5231, allocations: 17.91 kB / 479.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.257e-05/0.5232, allocations: 20.25 kB / 479.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.228e-05/0.5233, allocations: 21.91 kB / 479.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5233, allocations: 3.906 kB / 479.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002357/0.5235, allocations: 93.34 kB / 479.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.5236, allocations: 7.719 kB / 479.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5236, allocations: 0 / 479.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.5236, allocations: 3.906 kB / 479.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.863e-05/0.5237, allocations: 14.89 kB / 479.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.5237, allocations: 0 / 479.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.797e-05/0.5238, allocations: 4.031 kB / 479.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.5238, allocations: 11.06 kB / 479.2 MB, free: 11.79 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.52e-05/0.5239, allocations: 105.1 kB / 479.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.5239, allocations: 15.02 kB / 479.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.5242, allocations: 87.61 kB / 479.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5242, allocations: 3.906 kB / 479.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5242, allocations: 0 / 479.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.5242, allocations: 0 / 479.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.5246, allocations: 337.6 kB / 479.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5246, allocations: 0 / 479.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.414e-05/0.5247, allocations: 11.66 kB / 479.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.5247, allocations: 96 / 479.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.5247, allocations: 7.219 kB / 479.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.5247, allocations: 0 / 479.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5248, allocations: 3.875 kB / 479.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001849/0.5249, allocations: 164.1 kB / 480 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.525, allocations: 99.89 kB / 480.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.5251, allocations: 3.906 kB / 480.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.5252, allocations: 3.906 kB / 480.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.5253, allocations: 3.188 kB / 480.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.5253, allocations: 3.875 kB / 480.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001618/0.5255, allocations: 148.4 kB / 480.2 MB, free: 11.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005125/0.526, allocations: 35.19 kB / 480.3 MB, free: 11.02 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.0009553/0.527, allocations: 277 kB / 480.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.5272, allocations: 74.06 kB / 480.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5272, allocations: 3.562 kB / 480.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.607e-05/0.5273, allocations: 19.25 kB / 480.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.5277, allocations: 18.28 kB / 480.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.5282, allocations: 160.1 kB / 480.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/0.5286, allocations: 0.7234 MB / 481.5 MB, free: 26.01 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5286, allocations: 0 / 481.5 MB, free: 26.01 MB / 346.7 MB Notification: Performance of Templates: time 0.00621/0.5348, allocations: 1.48 MB / 483 MB, free: 25.84 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1)