Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") [: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.2+maint.om/package.mo): time 0.003233/0.003233, allocations: 184.1 kB / 7.457 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.248/1.248, allocations: 194.2 MB / 202.1 MB, free: 8.82 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001665/0.001665, allocations: 123.8 kB / 247.1 MB, free: 6.258 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.156/0.156, allocations: 39.95 MB / 331.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.833e-06/6.953e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08527/0.08529, allocations: 54.86 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.272/0.3573, allocations: 97.15 MB / 0.532 GB, free: 3.344 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.3576, allocations: 78.48 kB / 0.5321 GB, free: 3.305 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2274/0.585, allocations: 88.26 MB / 0.6183 GB, free: 2.926 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002128/0.5852, allocations: 84 kB / 0.6184 GB, free: 2.844 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1717 * Number of variables: 1717 Notification: Performance of Generate backend data structure: time 0.01481/0.6001, allocations: 4.18 MB / 0.6225 GB, free: 14.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.6001, allocations: 8.031 kB / 0.6225 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01454/0.6147, allocations: 2.864 MB / 0.6253 GB, free: 11.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0133/0.628, allocations: 4.733 MB / 0.6299 GB, free: 6.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/0.6283, allocations: 143.9 kB / 0.63 GB, free: 6.789 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00265/0.631, allocations: 256 kB / 0.6303 GB, free: 6.539 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01531/0.6463, allocations: 8.128 MB / 0.6382 GB, free: 14.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02475/0.6711, allocations: 10.55 MB / 0.6485 GB, free: 3.387 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002255/0.6714, allocations: 23.81 kB / 0.6485 GB, free: 3.363 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001973/0.6734, allocations: 12 kB / 0.6485 GB, free: 3.352 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001892/0.6753, allocations: 1.329 MB / 0.6498 GB, free: 2.02 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2162/0.8915, allocations: 35.84 MB / 0.6848 GB, free: 151.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003737/0.8953, allocations: 2.742 MB / 0.6875 GB, free: 151.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002454/0.8978, allocations: 2.301 MB / 0.6898 GB, free: 151.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01234/0.9102, allocations: 9.74 MB / 0.6993 GB, free: 148.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.9102, allocations: 46.16 kB / 0.6993 GB, free: 148.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=213): time 5.09e-06/0.9102, allocations: 0 / 0.6993 GB, free: 148.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=234): time 0.02498/0.9352, allocations: 11.16 MB / 0.7102 GB, free: 147.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.9354, allocations: 83.5 kB / 0.7103 GB, free: 147.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004594/0.94, allocations: 2.641 MB / 0.7129 GB, free: 147.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003841/0.9404, allocations: 25.7 kB / 0.7129 GB, free: 147.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001736/0.9421, allocations: 3.023 MB / 0.7158 GB, free: 145.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001016/0.9432, allocations: 0.8608 MB / 0.7167 GB, free: 144.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005611/0.9437, allocations: 3.688 kB / 0.7167 GB, free: 144.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005006/0.9443, allocations: 0.5775 MB / 0.7173 GB, free: 144.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00314/0.9474, allocations: 2.359 MB / 0.7196 GB, free: 144.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004905/0.9523, allocations: 5.735 MB / 0.7252 GB, free: 139.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005541/0.9579, allocations: 3.771 MB / 0.7288 GB, free: 138.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001346/0.958, allocations: 38.38 kB / 0.7289 GB, free: 138.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01442/0.9725, allocations: 8.107 MB / 0.7368 GB, free: 136.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.9725, allocations: 4.812 kB / 0.7368 GB, free: 136.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003444/0.9729, allocations: 122.5 kB / 0.7369 GB, free: 136.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003741/0.9766, allocations: 0.9055 MB / 0.7378 GB, free: 136 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005956/0.9826, allocations: 1.398 MB / 0.7392 GB, free: 135.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/0.985, allocations: 2.353 MB / 0.7415 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004238/0.9893, allocations: 168.5 kB / 0.7416 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/0.9904, allocations: 371.2 kB / 0.742 GB, free: 134.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 545 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (766): * Single equations (assignments): 757 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00135/0.9918, allocations: 405.1 kB / 0.7424 GB, free: 134 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005478/0.9923, allocations: 286.4 kB / 0.7426 GB, free: 133.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00808/1, allocations: 4.568 MB / 0.7471 GB, free: 131.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.465e-05/1.001, allocations: 39.42 kB / 0.7471 GB, free: 131.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/1.001, allocations: 0 / 0.7471 GB, free: 131.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.006e-05/1.001, allocations: 14.36 kB / 0.7472 GB, free: 131.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/1.018, allocations: 8.85 MB / 0.7558 GB, free: 124.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/1.018, allocations: 0 / 0.7558 GB, free: 124.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/1.02, allocations: 353.8 kB / 0.7561 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002802/1.023, allocations: 0.5369 MB / 0.7567 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003368/1.023, allocations: 27.33 kB / 0.7567 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/1.025, allocations: 1.939 MB / 0.7586 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/1.025, allocations: 7.938 kB / 0.7586 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009438/1.035, allocations: 6.779 MB / 0.7652 GB, free: 115.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007795/1.036, allocations: 336.4 kB / 0.7655 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007196/1.036, allocations: 15.94 kB / 0.7655 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/1.038, allocations: 53.84 kB / 0.7656 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/1.038, allocations: 117 kB / 0.7657 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/1.038, allocations: 66.25 kB / 0.7658 GB, free: 115.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002817/1.041, allocations: 1.737 MB / 0.7675 GB, free: 113.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00518/1.046, allocations: 0.888 MB / 0.7683 GB, free: 112.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.w_rel_b_1,freeMotionScalarInit.w_rel_b_2,freeMotionScalarInit.w_rel_b_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (187): * Single equations (assignments): 178 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005515/1.047, allocations: 151.7 kB / 0.7685 GB, free: 112.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01045/1.057, allocations: 5.908 MB / 0.7742 GB, free: 107.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.057, allocations: 0 / 0.7742 GB, free: 107.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003721/1.061, allocations: 2.264 MB / 0.7765 GB, free: 105.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/1.063, allocations: 279 kB / 0.7767 GB, free: 104.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01821/1.081, allocations: 8.973 MB / 0.7855 GB, free: 96.85 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005765/1.087, allocations: 3.904 MB / 0.7893 GB, free: 93.81 MB / 474.7 MB Notification: Performance of SimCode: time 1.283e-06/1.087, allocations: 0 / 0.7893 GB, free: 93.81 MB / 474.7 MB Notification: Performance of Templates: time 0.06563/1.153, allocations: 36.68 MB / 0.8251 GB, free: 61.68 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe 2>&1)