Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") [: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.004241/0.00424, allocations: 183.6 kB / 7.459 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.297/1.297, allocations: 194.2 MB / 202.1 MB, free: 8.719 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.001747/0.001747, allocations: 119.6 kB / 247.1 MB, free: 6.355 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.1643/0.1643, allocations: 39.95 MB / 331.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.127e-06/9.147e-06, allocations: 4 kB / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08647/0.08649, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2681/0.3546, allocations: 97.15 MB / 0.532 GB, free: 3.352 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.3549, allocations: 78.77 kB / 0.5321 GB, free: 3.312 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2213/0.5762, allocations: 87.9 MB / 0.6179 GB, free: 3.285 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002078/0.5764, allocations: 76 kB / 0.618 GB, free: 3.211 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: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.01565/0.5921, allocations: 4.145 MB / 0.6221 GB, free: 15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5921, allocations: 8.031 kB / 0.6221 GB, free: 14.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01453/0.6067, allocations: 2.845 MB / 0.6249 GB, free: 12.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01356/0.6202, allocations: 4.706 MB / 0.6294 GB, free: 7.379 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003327/0.6206, allocations: 144 kB / 0.6296 GB, free: 7.238 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002578/0.6232, allocations: 259.9 kB / 0.6298 GB, free: 6.984 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01632/0.6396, allocations: 7.96 MB / 0.6376 GB, free: 15.01 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02515/0.6648, allocations: 10.37 MB / 0.6477 GB, free: 4.168 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002527/0.6651, allocations: 31.72 kB / 0.6478 GB, free: 4.137 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002676/0.6677, allocations: 12 kB / 0.6478 GB, free: 4.125 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00212/0.6699, allocations: 1.301 MB / 0.649 GB, free: 2.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2442/0.9141, allocations: 35.15 MB / 0.6834 GB, free: 63.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003367/0.9175, allocations: 2.67 MB / 0.686 GB, free: 63.12 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002459/0.92, allocations: 2.207 MB / 0.6881 GB, free: 63.11 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01234/0.9324, allocations: 9.478 MB / 0.6974 GB, free: 59.97 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.9325, allocations: 50.06 kB / 0.6974 GB, free: 59.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=213): time 5.401e-06/0.9325, allocations: 0 / 0.6974 GB, free: 59.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=240): time 0.02239/0.9549, allocations: 10.38 MB / 0.7076 GB, free: 59.02 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.9549, allocations: 78.28 kB / 0.7077 GB, free: 58.96 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003513/0.9585, allocations: 2.637 MB / 0.7102 GB, free: 58.65 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003493/0.9588, allocations: 29.2 kB / 0.7103 GB, free: 58.62 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.9602, allocations: 3.001 MB / 0.7132 GB, free: 56.92 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00087/0.961, allocations: 0.8803 MB / 0.714 GB, free: 56.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/0.9613, allocations: 3.562 kB / 0.714 GB, free: 56.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002926/0.9616, allocations: 0.5714 MB / 0.7146 GB, free: 56.08 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002726/0.9643, allocations: 2.402 MB / 0.717 GB, free: 56.07 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003967/0.9683, allocations: 5.783 MB / 0.7226 GB, free: 51.71 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004419/0.9727, allocations: 3.815 MB / 0.7263 GB, free: 51.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-05/0.9728, allocations: 34.25 kB / 0.7264 GB, free: 51.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=825) (initialization): time 0.01214/0.9849, allocations: 8.233 MB / 0.7344 GB, free: 51.15 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.985, allocations: 6.406 kB / 0.7344 GB, free: 51.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-05/0.9851, allocations: 119.5 kB / 0.7345 GB, free: 51.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003389/0.9885, allocations: 0.9427 MB / 0.7354 GB, free: 51.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004323/0.9928, allocations: 1.412 MB / 0.7368 GB, free: 50.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.9949, allocations: 2.356 MB / 0.7391 GB, free: 49.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004213/0.9992, allocations: 180.3 kB / 0.7393 GB, free: 49.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007031/0.9999, allocations: 368.2 kB / 0.7396 GB, free: 49.37 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 (772): * Single equations (assignments): 763 * 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 prepare postOptimizeDAE: time 0.0007552/1.001, allocations: 409.1 kB / 0.74 GB, free: 49.03 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004794/1.001, allocations: 284.6 kB / 0.7403 GB, free: 48.87 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007715/1.009, allocations: 4.697 MB / 0.7449 GB, free: 47.41 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.586e-05/1.009, allocations: 39.98 kB / 0.7449 GB, free: 47.41 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/1.009, allocations: 3.781 kB / 0.7449 GB, free: 47.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-05/1.009, allocations: 10.22 kB / 0.7449 GB, free: 47.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/1.024, allocations: 9.108 MB / 0.7538 GB, free: 44.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/1.024, allocations: 3.062 kB / 0.7538 GB, free: 44.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/1.026, allocations: 353.2 kB / 0.7542 GB, free: 44.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003034/1.029, allocations: 0.7628 MB / 0.7549 GB, free: 44.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002128/1.029, allocations: 30.06 kB / 0.7549 GB, free: 44.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/1.031, allocations: 2.145 MB / 0.757 GB, free: 42.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.031, allocations: 3.812 kB / 0.757 GB, free: 42.89 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00885/1.04, allocations: 7.083 MB / 0.764 GB, free: 40.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007026/1.04, allocations: 333.8 kB / 0.7643 GB, free: 40.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004806/1.041, allocations: 11.81 kB / 0.7643 GB, free: 40.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/1.042, allocations: 61.48 kB / 0.7644 GB, free: 40.14 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/1.043, allocations: 105 kB / 0.7645 GB, free: 40.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001901/1.043, allocations: 66.41 kB / 0.7645 GB, free: 40.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002611/1.045, allocations: 1.745 MB / 0.7662 GB, free: 39.48 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004046/1.049, allocations: 0.8942 MB / 0.7671 GB, free: 39.48 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 184 * 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.000374/1.05, allocations: 143.8 kB / 0.7672 GB, free: 39.37 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009203/1.059, allocations: 6.069 MB / 0.7732 GB, free: 37.28 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.059, allocations: 3.406 kB / 0.7732 GB, free: 37.28 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004387/1.063, allocations: 2.446 MB / 0.7755 GB, free: 36.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/1.066, allocations: 264.2 kB / 0.7758 GB, free: 36.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/1.085, allocations: 9.015 MB / 0.7846 GB, free: 32.17 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005039/1.09, allocations: 3.883 MB / 0.7884 GB, free: 29.14 MB / 474.7 MB Notification: Performance of SimCode: time 7.71e-07/1.09, allocations: 0 / 0.7884 GB, free: 29.14 MB / 474.7 MB Notification: Performance of Templates: time 0.0682/1.158, allocations: 37.5 MB / 0.825 GB, free: 1.34 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1)