Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test21.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.CombiTable1D.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test21") [: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.001068/0.001068, allocations: 174.2 kB / 7.454 MB, free: 484 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.093/1.093, allocations: 170.6 MB / 178.4 MB, free: 4.141 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001771/0.001771, allocations: 115.9 kB / 217.7 MB, free: 13.02 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1701/0.1701, allocations: 37.99 MB / 294.8 MB, free: 13.54 MB / 222.1 MB Notification: Performance of FrontEnd - loaded program: time 1.008e-05/1.03e-05, allocations: 4 kB / 349.5 MB, free: 6.746 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2917, allocations: 48.7 MB / 398.2 MB, free: 16.88 MB / 270.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.406, allocations: 73.98 MB / 472.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/0.4064, allocations: 67.97 kB / 472.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0163/0.4228, allocations: 4.836 MB / 477.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.4228, allocations: 4 kB / 477.1 MB, free: 1.875 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005535/0.4234, allocations: 415.9 kB / 477.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.4235, allocations: 12.03 kB / 477.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/0.4235, allocations: 7.906 kB / 477.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.4239, allocations: 186.9 kB / 477.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.4239, allocations: 0 / 477.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.4239, allocations: 3.938 kB / 477.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001205/0.4241, allocations: 19.94 kB / 477.7 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.4243, allocations: 55.41 kB / 477.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.4243, allocations: 0 / 477.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.4243, allocations: 0 / 477.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.4244, allocations: 8 kB / 477.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006435/0.425, allocations: 249.4 kB / 478 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.4253, allocations: 37.69 kB / 478.1 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.746e-05/0.4254, allocations: 20.7 kB / 478.1 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.116e-05/0.4254, allocations: 8 kB / 478.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.4255, allocations: 34.56 kB / 478.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 2.495e-06/0.4255, allocations: 0 / 478.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006813/0.4262, allocations: 105.5 kB / 478.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.4263, allocations: 81.11 kB / 478.3 MB, free: 484 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.4264, allocations: 113 kB / 478.4 MB, free: 364 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.057e-05/0.4265, allocations: 25.7 kB / 478.4 MB, free: 332 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.4266, allocations: 84.14 kB / 478.5 MB, free: 244 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.4267, allocations: 19.73 kB / 478.5 MB, free: 224 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-06/0.4267, allocations: 3.938 kB / 478.6 MB, free: 220 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002377/0.4269, allocations: 318.8 kB / 478.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.69e-05/0.427, allocations: 19.98 kB / 478.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.845e-05/0.427, allocations: 25.72 kB / 478.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.604e-05/0.4271, allocations: 20.02 kB / 478.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4271, allocations: 0 / 478.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001952/0.4273, allocations: 73.59 kB / 479 MB, free: 15.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.4274, allocations: 4 kB / 479 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4274, allocations: 0 / 479 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4274, allocations: 0 / 479 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.652e-05/0.4275, allocations: 15.98 kB / 479 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4275, allocations: 0 / 479 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.4276, allocations: 12 kB / 479 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.4276, allocations: 3.938 kB / 479 MB, free: 15.71 MB / 350.1 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 (6): * Single equations (assignments): 5 * 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 0.0001146/0.4277, allocations: 104.9 kB / 479.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.4278, allocations: 11.91 kB / 479.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.428, allocations: 85.7 kB / 479.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.428, allocations: 0 / 479.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.4281, allocations: 0 / 479.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.4281, allocations: 11.89 kB / 479.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.4286, allocations: 299.1 kB / 479.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4286, allocations: 0 / 479.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.586e-05/0.4287, allocations: 20.3 kB / 479.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.4287, allocations: 0 / 479.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.4287, allocations: 0 / 479.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.4287, allocations: 7.906 kB / 479.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4287, allocations: 4 kB / 479.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002355/0.429, allocations: 163.4 kB / 479.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.683e-05/0.4291, allocations: 89.02 kB / 479.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.4291, allocations: 0 / 479.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.4292, allocations: 11.98 kB / 479.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.4293, allocations: 0 / 479.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.4293, allocations: 7.938 kB / 479.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.659e-05/0.4294, allocations: 95.7 kB / 479.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003475/0.4297, allocations: 24 kB / 479.9 MB, free: 14.7 MB / 350.1 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 (5): * Single equations (assignments): 5 * 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.0007638/0.4305, allocations: 265.7 kB / 480.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.4307, allocations: 61.69 kB / 480.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4307, allocations: 4 kB / 480.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.879e-05/0.4307, allocations: 19.94 kB / 480.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.4309, allocations: 4 kB / 480.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.4313, allocations: 95.81 kB / 480.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/0.4317, allocations: 0.7075 MB / 481.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4317, allocations: 0 / 481.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of Templates: time 0.004858/0.4365, allocations: 1.241 MB / 482.3 MB, free: 12.28 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test21.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1)