Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72") [: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.003169/0.003169, allocations: 178.6 kB / 7.454 MB, free: 2.488 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.255/1.255, 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.001906/0.001906, allocations: 125 kB / 217.7 MB, free: 8.227 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.1473/0.1473, allocations: 37.97 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.232e-05/1.246e-05, allocations: 7.344 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09271/0.09274, allocations: 48.71 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3091/0.4019, allocations: 74.89 MB / 473.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.4023, allocations: 68.45 kB / 473.2 MB, free: 13.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02384/0.4261, allocations: 5.069 MB / 478.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.62e-05/0.4262, allocations: 7.844 kB / 478.3 MB, free: 13.3 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.000914/0.4272, allocations: 0.6494 MB / 478.9 MB, free: 12.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.4272, allocations: 7.875 kB / 478.9 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.4274, allocations: 46.62 kB / 479 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009538/0.4283, allocations: 450.2 kB / 479.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.4284, allocations: 3.781 kB / 479.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.4284, allocations: 3.875 kB / 479.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001118/0.4285, allocations: 18.77 kB / 479.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.4287, allocations: 66.12 kB / 479.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4287, allocations: 0 / 479.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.4287, allocations: 0 / 479.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.4288, allocations: 3.906 kB / 479.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.4292, allocations: 359.7 kB / 479.8 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.4294, allocations: 54.11 kB / 479.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.391e-05/0.4294, allocations: 25.25 kB / 479.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.4295, allocations: 14.84 kB / 479.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.4297, allocations: 85.78 kB / 480 MB, free: 12.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.4297, allocations: 0 / 480 MB, free: 12.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003827/0.4301, allocations: 111 kB / 480.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.4301, allocations: 88.83 kB / 480.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.4319, allocations: 0.8789 MB / 481.1 MB, free: 11.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.432, allocations: 29.58 kB / 481.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.4321, allocations: 138.5 kB / 481.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.4321, allocations: 17.75 kB / 481.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/0.4321, allocations: 0 / 481.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4323, allocations: 368.3 kB / 481.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.4324, allocations: 31.72 kB / 481.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.4325, allocations: 51.95 kB / 481.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.4327, allocations: 33.75 kB / 481.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4327, allocations: 0 / 481.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004482/0.4332, allocations: 167.6 kB / 481.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4332, allocations: 7.812 kB / 481.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.4332, allocations: 0 / 481.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.4333, allocations: 7.891 kB / 481.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.4334, allocations: 9.859 kB / 481.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.4334, allocations: 0 / 481.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.4337, allocations: 21.55 kB / 482 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.4337, allocations: 11.59 kB / 482 MB, free: 11.29 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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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 0.0001035/0.4338, allocations: 108.5 kB / 482.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.434, allocations: 47.92 kB / 482.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004432/0.4344, allocations: 140.6 kB / 482.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4345, allocations: 0 / 482.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4345, allocations: 0 / 482.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.4345, allocations: 2.578 kB / 482.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.435, allocations: 351.1 kB / 482.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.435, allocations: 0 / 482.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.478e-05/0.4351, allocations: 7.438 kB / 482.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4351, allocations: 0 / 482.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.4352, allocations: 6.641 kB / 482.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.4352, allocations: 7.875 kB / 482.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.4352, allocations: 0 / 482.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003716/0.4356, allocations: 167.5 kB / 482.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.436, allocations: 186 kB / 483 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.4361, allocations: 0 / 483 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.4363, allocations: 7.719 kB / 483 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.382e-05/0.4364, allocations: 10.98 kB / 483 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.4364, allocations: 7.016 kB / 483 MB, free: 10.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.001226/0.4376, allocations: 0.6946 MB / 483.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006077/0.4383, allocations: 88.06 kB / 483.8 MB, free: 10.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009849/0.4393, allocations: 357.9 kB / 484.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.4395, allocations: 126.1 kB / 484.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4395, allocations: 0 / 484.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.286e-05/0.4396, allocations: 22.62 kB / 484.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.4401, allocations: 53.22 kB / 484.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.4418, allocations: 0.7258 MB / 485 MB, free: 10.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006618/0.4425, allocations: 0.8732 MB / 485.9 MB, free: 25.42 MB / 346.7 MB Notification: Performance of SimCode: time 4e-07/0.4425, allocations: 0 / 485.9 MB, free: 25.42 MB / 346.7 MB Notification: Performance of Templates: time 0.008568/0.4511, allocations: 3.594 MB / 489.5 MB, free: 25.02 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)