Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") [: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.3+maint.om/package.mo): time 0.0008643/0.0008643, allocations: 191.5 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.065/1.065, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008042/0.0008041, allocations: 92.81 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1537/0.1537, allocations: 43.49 MB / 352.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.849e-06/4.869e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2349, allocations: 58.82 MB / 476.5 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1058/0.3408, allocations: 86.22 MB / 0.5496 GB, free: 12.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.3411, allocations: 71.91 kB / 0.5496 GB, free: 12.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009747/0.3508, allocations: 3.578 MB / 0.5531 GB, free: 9.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3508, allocations: 4 kB / 0.5531 GB, free: 9.086 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004313/0.3513, allocations: 414.1 kB / 0.5535 GB, free: 8.637 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.3513, allocations: 8.031 kB / 0.5535 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.3514, allocations: 7.906 kB / 0.5536 GB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.3516, allocations: 202.2 kB / 0.5537 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.3516, allocations: 0 / 0.5537 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.3516, allocations: 7.172 kB / 0.5538 GB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.2e-05/0.3517, allocations: 24 kB / 0.5538 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.3518, allocations: 67.31 kB / 0.5538 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.3518, allocations: 0 / 0.5538 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.3518, allocations: 3.984 kB / 0.5538 GB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3519, allocations: 0 / 0.5538 GB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.3522, allocations: 285.2 kB / 0.5541 GB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.765e-05/0.3523, allocations: 37.72 kB / 0.5542 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.3523, allocations: 16.98 kB / 0.5542 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.3523, allocations: 0 / 0.5542 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.3523, allocations: 30.56 kB / 0.5542 GB, free: 7.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.3524, allocations: 0 / 0.5542 GB, free: 7.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006771/0.353, allocations: 225.1 kB / 0.5544 GB, free: 7.633 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.3531, allocations: 81.11 kB / 0.5545 GB, free: 7.535 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/0.3532, allocations: 125 kB / 0.5546 GB, free: 7.406 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.3532, allocations: 25.7 kB / 0.5546 GB, free: 7.375 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.3533, allocations: 92.12 kB / 0.5547 GB, free: 7.281 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.3533, allocations: 31.55 kB / 0.5548 GB, free: 7.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.3533, allocations: 0 / 0.5548 GB, free: 7.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.833e-05/0.3534, allocations: 314.8 kB / 0.5551 GB, free: 6.934 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.202e-05/0.3534, allocations: 24 kB / 0.5551 GB, free: 6.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.893e-05/0.3535, allocations: 33.7 kB / 0.5551 GB, free: 6.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.908e-05/0.3535, allocations: 20.16 kB / 0.5551 GB, free: 6.852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-07/0.3535, allocations: 0 / 0.5551 GB, free: 6.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001362/0.3537, allocations: 89.59 kB / 0.5552 GB, free: 6.758 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.3537, allocations: 10.72 kB / 0.5552 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3537, allocations: 4.312 kB / 0.5552 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.3537, allocations: 0 / 0.5552 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.3539, allocations: 51.98 kB / 0.5553 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.354, allocations: 7.938 kB / 0.5553 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.3541, allocations: 40.09 kB / 0.5553 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.3541, allocations: 15.97 kB / 0.5553 GB, free: 6.633 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 5.87e-05/0.3542, allocations: 102.4 kB / 0.5554 GB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.3542, allocations: 11.81 kB / 0.5554 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.3544, allocations: 98.11 kB / 0.5555 GB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3544, allocations: 0 / 0.5555 GB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3545, allocations: 3.984 kB / 0.5555 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3545, allocations: 8 kB / 0.5555 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.3548, allocations: 351 kB / 0.5559 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3548, allocations: 0 / 0.5559 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.355, allocations: 55.89 kB / 0.5559 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.355, allocations: 0 / 0.5559 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.355, allocations: 0 / 0.5559 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.355, allocations: 4 kB / 0.5559 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.355, allocations: 0 / 0.5559 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001587/0.3552, allocations: 183.6 kB / 0.5561 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.3553, allocations: 89 kB / 0.5562 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.3553, allocations: 0 / 0.5562 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.3555, allocations: 39.97 kB / 0.5562 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.3555, allocations: 11.98 kB / 0.5563 GB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3556, allocations: 0 / 0.5563 GB, free: 5.609 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.615e-05/0.3556, allocations: 119 kB / 0.5564 GB, free: 5.496 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.3559, allocations: 39.92 kB / 0.5564 GB, free: 5.457 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006071/0.3565, allocations: 352 kB / 0.5567 GB, free: 5.145 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.3566, allocations: 55.98 kB / 0.5568 GB, free: 5.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3567, allocations: 4 kB / 0.5568 GB, free: 5.086 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.34e-05/0.3567, allocations: 31.94 kB / 0.5568 GB, free: 5.055 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.3569, allocations: 27.75 kB / 0.5569 GB, free: 5.027 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.3572, allocations: 123.3 kB / 0.557 GB, free: 4.883 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.3575, allocations: 0.7309 MB / 0.5577 GB, free: 4.125 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3575, allocations: 0 / 0.5577 GB, free: 4.125 MB / 394.7 MB Notification: Performance of Templates: time 0.003811/0.3613, allocations: 1.972 MB / 0.5596 GB, free: 2.16 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1)