Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") [: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.003079/0.003079, allocations: 187.9 kB / 7.457 MB, free: 2.312 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.228/1.228, allocations: 194.2 MB / 202.1 MB, free: 8.754 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.00172/0.00172, allocations: 112.8 kB / 247.1 MB, free: 6.227 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.1535/0.1535, allocations: 39.94 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.742e-06/6.772e-06, allocations: 4 kB / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08334/0.08336, allocations: 54.87 MB / 447.6 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2731/0.3565, allocations: 100.9 MB / 0.5356 GB, free: 15.87 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.3567, allocations: 74.77 kB / 0.5357 GB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2389/0.5956, allocations: 94.49 MB / 0.628 GB, free: 8.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002244/0.5959, allocations: 99.92 kB / 0.6281 GB, free: 8.883 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.01732/0.6132, allocations: 4.534 MB / 0.6325 GB, free: 4.281 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.6133, allocations: 8.031 kB / 0.6325 GB, free: 4.273 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01513/0.6284, allocations: 2.906 MB / 0.6354 GB, free: 1.355 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01406/0.6425, allocations: 4.925 MB / 0.6402 GB, free: 12.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000363/0.643, allocations: 164 kB / 0.6403 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002922/0.6459, allocations: 287.9 kB / 0.6406 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01984/0.6657, allocations: 8.626 MB / 0.649 GB, free: 3.297 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0279/0.6937, allocations: 11.3 MB / 0.6601 GB, free: 7.465 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003555/0.6941, allocations: 39.66 kB / 0.6601 GB, free: 7.426 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002506/0.6967, allocations: 16 kB / 0.6601 GB, free: 7.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002275/0.6989, allocations: 1.392 MB / 0.6615 GB, free: 6.016 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2028/0.9017, allocations: 39.9 MB / 0.7004 GB, free: 148.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/0.9053, allocations: 2.915 MB / 0.7033 GB, free: 148 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002495/0.9078, allocations: 2.423 MB / 0.7056 GB, free: 148 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01364/0.9215, allocations: 10.01 MB / 0.7154 GB, free: 144.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.9216, allocations: 46.56 kB / 0.7155 GB, free: 144.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=227): time 4.869e-06/0.9216, allocations: 3.828 kB / 0.7155 GB, free: 144.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=236): time 0.02291/0.9445, allocations: 12.6 MB / 0.7278 GB, free: 141 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.9446, allocations: 75.03 kB / 0.7279 GB, free: 140.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003516/0.9481, allocations: 2.832 MB / 0.7306 GB, free: 139.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002514/0.9483, allocations: 25.7 kB / 0.7306 GB, free: 139.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001406/0.9498, allocations: 3.267 MB / 0.7338 GB, free: 137.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007798/0.9506, allocations: 0.8733 MB / 0.7347 GB, free: 137 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/0.9508, allocations: 0 / 0.7347 GB, free: 137 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002778/0.9511, allocations: 0.5875 MB / 0.7353 GB, free: 136.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002642/0.9537, allocations: 2.422 MB / 0.7376 GB, free: 135.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00451/0.9582, allocations: 6.021 MB / 0.7435 GB, free: 130.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004905/0.9632, allocations: 3.898 MB / 0.7473 GB, free: 129 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.427e-05/0.9632, allocations: 36.44 kB / 0.7473 GB, free: 129 MB / 474.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.01335/0.9766, allocations: 8.539 MB / 0.7557 GB, free: 122.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.9767, allocations: 7.188 kB / 0.7557 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.613e-05/0.9768, allocations: 131.9 kB / 0.7558 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/0.9799, allocations: 1.058 MB / 0.7568 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004879/0.9848, allocations: 1.453 MB / 0.7583 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005243/0.9901, allocations: 4.472 MB / 0.7626 GB, free: 116 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005892/0.996, allocations: 172 kB / 0.7628 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009169/0.9969, allocations: 379.6 kB / 0.7632 GB, free: 115.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],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 (801): * Single equations (assignments): 793 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.0009239/0.9978, allocations: 439.7 kB / 0.7636 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003734/0.9982, allocations: 304 kB / 0.7639 GB, free: 114.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006254/1.004, allocations: 4.4 MB / 0.7682 GB, free: 111.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-05/1.005, allocations: 39.42 kB / 0.7682 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.005, allocations: 4 kB / 0.7682 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/1.005, allocations: 10.08 kB / 0.7682 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/1.018, allocations: 8.856 MB / 0.7769 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.018, allocations: 4.188 kB / 0.7769 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/1.02, allocations: 354.9 kB / 0.7772 GB, free: 103.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/1.021, allocations: 0.5969 MB / 0.7778 GB, free: 102.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/1.022, allocations: 23.12 kB / 0.7778 GB, free: 102.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/1.024, allocations: 2.3 MB / 0.7801 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.024, allocations: 3.938 kB / 0.7801 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007723/1.031, allocations: 6.822 MB / 0.7867 GB, free: 94.63 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008374/1.032, allocations: 348 kB / 0.7871 GB, free: 94.28 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004795/1.033, allocations: 8 kB / 0.7871 GB, free: 94.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/1.034, allocations: 75.41 kB / 0.7871 GB, free: 94.23 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/1.034, allocations: 97.89 kB / 0.7872 GB, free: 94.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/1.034, allocations: 59.23 kB / 0.7873 GB, free: 94.12 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002434/1.037, allocations: 1.855 MB / 0.7891 GB, free: 92.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004899/1.042, allocations: 0.9484 MB / 0.79 GB, free: 91.56 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 181 * 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.0004816/1.042, allocations: 152.5 kB / 0.7902 GB, free: 91.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00893/1.051, allocations: 5.775 MB / 0.7958 GB, free: 86.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.051, allocations: 4 kB / 0.7958 GB, free: 86.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003249/1.054, allocations: 2.334 MB / 0.7981 GB, free: 84.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/1.056, allocations: 293.9 kB / 0.7984 GB, free: 83.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/1.073, allocations: 9.458 MB / 0.8076 GB, free: 75.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004407/1.077, allocations: 4.112 MB / 0.8116 GB, free: 72.14 MB / 474.7 MB Notification: Performance of SimCode: time 7.91e-07/1.077, allocations: 0 / 0.8116 GB, free: 72.14 MB / 474.7 MB Notification: Performance of Templates: time 0.06481/1.142, allocations: 38.38 MB / 0.8491 GB, free: 36.07 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1)