Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10") [: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.00241/0.002409, allocations: 176.3 kB / 7.452 MB, free: 2.504 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.207/1.207, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001753/0.001754, allocations: 115.8 kB / 217.7 MB, free: 8.156 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.1614/0.1614, allocations: 37.97 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.226e-05/1.228e-05, allocations: 2.594 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 48.71 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3129/0.4157, allocations: 75.79 MB / 474 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.416, allocations: 69.97 kB / 474.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.008345/0.4243, allocations: 2.88 MB / 477 MB, free: 13.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.4244, allocations: 3.938 kB / 477 MB, free: 13.48 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005252/0.4249, allocations: 467.2 kB / 477.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.425, allocations: 11.75 kB / 477.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.052e-05/0.4251, allocations: 11.69 kB / 477.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.4253, allocations: 199.4 kB / 477.6 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.4253, allocations: 4.469 kB / 477.6 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.4254, allocations: 6.969 kB / 477.6 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.892e-05/0.4255, allocations: 29.78 kB / 477.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.4256, allocations: 60.67 kB / 477.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.4256, allocations: 0 / 477.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.4256, allocations: 0 / 477.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4256, allocations: 4 kB / 477.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.4261, allocations: 330 kB / 478.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.4264, allocations: 68.48 kB / 478.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.4264, allocations: 26.02 kB / 478.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.4265, allocations: 2.875 kB / 478.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.431e-05/0.4266, allocations: 62.44 kB / 478.2 MB, free: 12.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.4266, allocations: 0 / 478.2 MB, free: 12.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002224/0.4268, allocations: 82.78 kB / 478.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.4268, allocations: 62.48 kB / 478.4 MB, free: 12.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.427, allocations: 141.7 kB / 478.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.427, allocations: 29.64 kB / 478.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.427, allocations: 97.03 kB / 478.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.4271, allocations: 25.83 kB / 478.6 MB, free: 12.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-06/0.4271, allocations: 0 / 478.6 MB, free: 12.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.115e-05/0.4271, allocations: 320.8 kB / 479 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.865e-05/0.4272, allocations: 21.25 kB / 479 MB, free: 11.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.474e-05/0.4273, allocations: 43.06 kB / 479 MB, free: 11.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.574e-05/0.4273, allocations: 30.03 kB / 479 MB, free: 11.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4273, allocations: 0 / 479 MB, free: 11.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001669/0.4275, allocations: 110 kB / 479.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4275, allocations: 3.781 kB / 479.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4275, allocations: 10.98 kB / 479.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4276, allocations: 0 / 479.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.262e-05/0.4276, allocations: 11.56 kB / 479.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.4277, allocations: 7.875 kB / 479.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.228e-05/0.4277, allocations: 10.89 kB / 479.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.4277, allocations: 3.875 kB / 479.2 MB, free: 11.71 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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.249e-05/0.4278, allocations: 115.5 kB / 479.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.4278, allocations: 7.75 kB / 479.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.428, allocations: 85.7 kB / 479.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.428, allocations: 7.859 kB / 479.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.428, allocations: 4 kB / 479.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4281, allocations: 3.906 kB / 479.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.4282, allocations: 170.2 kB / 479.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4282, allocations: 0 / 479.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.404e-05/0.4283, allocations: 18.27 kB / 479.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.4283, allocations: 0 / 479.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.4283, allocations: 2.562 kB / 479.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4283, allocations: 2.906 kB / 479.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4283, allocations: 7.844 kB / 479.6 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001944/0.4285, allocations: 143.6 kB / 479.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.4286, allocations: 99.22 kB / 479.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.4286, allocations: 0 / 479.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.305e-05/0.4287, allocations: 10.83 kB / 479.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.4287, allocations: 0 / 479.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.4287, allocations: 6.734 kB / 479.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.343e-05/0.4288, allocations: 121 kB / 480 MB, free: 11.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000363/0.4292, allocations: 31.06 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: 1 (err1.y) * 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 (8): * Single equations (assignments): 7 * 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.0005599/0.4298, allocations: 242.9 kB / 480.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.4299, allocations: 82.66 kB / 480.3 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.43, allocations: 4.062 kB / 480.3 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.045e-05/0.43, allocations: 25.78 kB / 480.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.4303, allocations: 32.41 kB / 480.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.4307, allocations: 155.9 kB / 480.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/0.431, allocations: 0.7201 MB / 481.3 MB, free: 26.11 MB / 346.7 MB Notification: Performance of SimCode: time 5.41e-07/0.431, allocations: 4 kB / 481.3 MB, free: 26.1 MB / 346.7 MB Notification: Performance of Templates: time 0.004293/0.4353, allocations: 1.582 MB / 482.9 MB, free: 25.92 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1)