Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|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",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|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",fileNamePrefix="ModelicaTest_3.2.3_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002554/0.002554, allocations: 186.1 kB / 8.148 MB, free: 0.8633 MB / 6.77 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.2 MB / 213.7 MB, free: 8.676 MB / 178.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 96.7 kB / 261.8 MB, free: 5.102 MB / 210.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2547/0.2547, allocations: 43.49 MB / 353.2 MB, free: 11.43 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 1.104e-05/1.122e-05, allocations: 4 kB / 417.7 MB, free: 68.58 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 58.85 MB / 476.6 MB, free: 9.68 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3576/0.4619, allocations: 108.3 MB / 0.5711 GB, free: 4.848 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.4622, allocations: 72.09 kB / 0.5712 GB, free: 4.812 MB / 386.8 MB Notification: Performance of FrontEnd: time 0.3826/0.8448, allocations: 95.98 MB / 0.6649 GB, free: 12.41 MB / 482.8 MB Notification: Performance of Transformations before backend: time 0.0002339/0.8451, allocations: 92 kB / 0.665 GB, free: 12.32 MB / 482.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02369/0.8688, allocations: 4.585 MB / 0.6695 GB, free: 7.676 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.8689, allocations: 8.031 kB / 0.6695 GB, free: 7.668 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0268/0.8957, allocations: 2.914 MB / 0.6723 GB, free: 4.742 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02146/0.9172, allocations: 4.952 MB / 0.6772 GB, free: 15.74 MB / 498.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003658/0.9176, allocations: 160 kB / 0.6773 GB, free: 15.58 MB / 498.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003054/0.9207, allocations: 295.8 kB / 0.6776 GB, free: 15.29 MB / 498.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02522/0.946, allocations: 8.709 MB / 0.6861 GB, free: 6.578 MB / 498.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2229/1.169, allocations: 11.41 MB / 0.6972 GB, free: 167.5 MB / 498.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002693/1.169, allocations: 33.03 kB / 0.6973 GB, free: 167.5 MB / 498.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001905/1.171, allocations: 15.53 kB / 0.6973 GB, free: 167.5 MB / 498.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003265/1.174, allocations: 1.417 MB / 0.6987 GB, free: 167.5 MB / 498.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09596/1.27, allocations: 40.33 MB / 0.7381 GB, free: 151.9 MB / 498.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006659/1.277, allocations: 2.951 MB / 0.7409 GB, free: 151.9 MB / 498.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005311/1.283, allocations: 2.44 MB / 0.7433 GB, free: 151.4 MB / 498.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02485/1.307, allocations: 10.41 MB / 0.7535 GB, free: 145.6 MB / 498.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/1.308, allocations: 51.81 kB / 0.7535 GB, free: 145.5 MB / 498.8 MB Notification: Performance of pre-optimization done (n=234): time 6.983e-06/1.308, allocations: 3.938 kB / 0.7535 GB, free: 145.5 MB / 498.8 MB Notification: Performance of matching and sorting (n=243): time 0.04276/1.35, allocations: 12.63 MB / 0.7659 GB, free: 141.4 MB / 498.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/1.35, allocations: 72.94 kB / 0.766 GB, free: 141.3 MB / 498.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007546/1.358, allocations: 2.861 MB / 0.7687 GB, free: 140.3 MB / 498.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006553/1.359, allocations: 25.7 kB / 0.7688 GB, free: 140.2 MB / 498.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002804/1.362, allocations: 3.278 MB / 0.772 GB, free: 137.7 MB / 498.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00173/1.363, allocations: 0.9021 MB / 0.7729 GB, free: 137 MB / 498.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000779/1.364, allocations: 0 / 0.7729 GB, free: 137 MB / 498.8 MB Notification: Performance of setup shared object (initialization): time 0.0006307/1.365, allocations: 0.591 MB / 0.7734 GB, free: 136.6 MB / 498.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007727/1.372, allocations: 2.437 MB / 0.7758 GB, free: 135.8 MB / 498.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01007/1.383, allocations: 6.06 MB / 0.7817 GB, free: 130.1 MB / 498.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/1.395, allocations: 3.909 MB / 0.7855 GB, free: 129 MB / 498.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001429/1.395, allocations: 37.53 kB / 0.7856 GB, free: 129 MB / 498.8 MB Notification: Performance of matching and sorting (n=871) (initialization): time 0.03326/1.429, allocations: 8.496 MB / 0.7939 GB, free: 122.8 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/1.429, allocations: 4 kB / 0.7939 GB, free: 122.8 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/1.429, allocations: 131.9 kB / 0.794 GB, free: 122.6 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007644/1.437, allocations: 1.079 MB / 0.7951 GB, free: 121.8 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009446/1.446, allocations: 1.463 MB / 0.7965 GB, free: 120.6 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00911/1.455, allocations: 4.608 MB / 0.801 GB, free: 116.4 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005786/1.461, allocations: 172.4 kB / 0.8012 GB, free: 116.2 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001291/1.463, allocations: 383 kB / 0.8015 GB, free: 115.9 MB / 498.8 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring.e_rel_0[2]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.e_rel_0[1]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.e_rel_0[3]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 586 * Number of states: 0 () * Number of discrete variables: 30 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (810): * Single equations (assignments): 802 * 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 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.001368/1.464, allocations: 375.2 kB / 0.8019 GB, free: 115.5 MB / 498.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007373/1.465, allocations: 307.9 kB / 0.8022 GB, free: 115.2 MB / 498.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/1.477, allocations: 4.43 MB / 0.8065 GB, free: 111.5 MB / 498.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001148/1.477, allocations: 39.61 kB / 0.8065 GB, free: 111.4 MB / 498.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/1.477, allocations: 7.906 kB / 0.8065 GB, free: 111.4 MB / 498.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.625e-05/1.477, allocations: 11.02 kB / 0.8066 GB, free: 111.4 MB / 498.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02461/1.502, allocations: 8.952 MB / 0.8153 GB, free: 104 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/1.502, allocations: 4 kB / 0.8153 GB, free: 104 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003756/1.505, allocations: 366.8 kB / 0.8156 GB, free: 103.7 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003656/1.509, allocations: 0.6083 MB / 0.8162 GB, free: 103.3 MB / 498.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004563/1.51, allocations: 19.66 kB / 0.8163 GB, free: 103.3 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003742/1.513, allocations: 2.295 MB / 0.8185 GB, free: 101.1 MB / 498.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.513, allocations: 3.938 kB / 0.8185 GB, free: 101.1 MB / 498.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01528/1.529, allocations: 6.955 MB / 0.8253 GB, free: 94.79 MB / 498.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009468/1.53, allocations: 348.9 kB / 0.8256 GB, free: 94.44 MB / 498.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009116/1.531, allocations: 11.66 kB / 0.8256 GB, free: 94.43 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002542/1.533, allocations: 78.64 kB / 0.8257 GB, free: 94.38 MB / 498.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003884/1.534, allocations: 111.3 kB / 0.8258 GB, free: 94.32 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002596/1.534, allocations: 59.75 kB / 0.8259 GB, free: 94.27 MB / 498.8 MB Notification: Performance of sort global known variables: time 0.003866/1.538, allocations: 1.876 MB / 0.8277 GB, free: 92.64 MB / 498.8 MB Notification: Performance of remove unused functions: time 0.006441/1.544, allocations: 0.9603 MB / 0.8287 GB, free: 91.69 MB / 498.8 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,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 (196): * Single equations (assignments): 187 * 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.0006533/1.545, allocations: 162 kB / 0.8288 GB, free: 91.53 MB / 498.8 MB Notification: Performance of simCode: created initialization part: time 0.01369/1.559, allocations: 5.83 MB / 0.8345 GB, free: 86.24 MB / 498.8 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.559, allocations: 0.5625 kB / 0.8345 GB, free: 86.24 MB / 498.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006719/1.565, allocations: 2.357 MB / 0.8368 GB, free: 84.07 MB / 498.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/1.568, allocations: 298.7 kB / 0.8371 GB, free: 83.82 MB / 498.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0278/1.596, allocations: 10.1 MB / 0.8469 GB, free: 74.26 MB / 498.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009603/1.606, allocations: 4.16 MB / 0.851 GB, free: 70.09 MB / 498.8 MB Notification: Performance of SimCode: time 1.403e-06/1.606, allocations: 0 / 0.851 GB, free: 70.09 MB / 498.8 MB Notification: Performance of Templates: time 0.3622/1.968, allocations: 112.4 MB / 0.9608 GB, free: 155.8 MB / 498.8 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1)