Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 93.11 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3012/0.3012, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.791e-05/1.803e-05, allocations: 4 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.399, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2008/0.5998, allocations: 108.4 MB / 0.5717 GB, free: 6.914 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.6002, allocations: 83.45 kB / 0.5718 GB, free: 6.836 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7164/1.317, allocations: 97.14 MB / 0.6667 GB, free: 109.4 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.275e-06/1.317, allocations: 0 / 0.6667 GB, free: 109.4 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002517/1.317, allocations: 94.14 kB / 0.6667 GB, free: 109.4 MB / 475.1 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.02347/1.34, allocations: 4.681 MB / 0.6713 GB, free: 107.5 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/1.34, allocations: 13.47 kB / 0.6713 GB, free: 107.5 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02656/1.367, allocations: 3.632 MB / 0.6749 GB, free: 107.1 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01873/1.386, allocations: 4.914 MB / 0.6797 GB, free: 106.4 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002929/1.386, allocations: 163.9 kB / 0.6798 GB, free: 106.4 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002917/1.389, allocations: 299 kB / 0.6801 GB, free: 106.4 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0197/1.409, allocations: 8.507 MB / 0.6884 GB, free: 104.8 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03076/1.44, allocations: 11.21 MB / 0.6994 GB, free: 100 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002792/1.44, allocations: 31.53 kB / 0.6994 GB, free: 100 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002764/1.443, allocations: 18.19 kB / 0.6994 GB, free: 100 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002857/1.446, allocations: 1.342 MB / 0.7007 GB, free: 99.77 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07946/1.525, allocations: 39.82 MB / 0.7396 GB, free: 66.64 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00724/1.532, allocations: 4.342 MB / 0.7439 GB, free: 62.06 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00443/1.537, allocations: 2.315 MB / 0.7461 GB, free: 59.74 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001831/1.539, allocations: 1.646 MB / 0.7477 GB, free: 57.83 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/1.539, allocations: 60.55 kB / 0.7478 GB, free: 57.76 MB / 475.1 MB Notification: Performance of pre-optimization done (n=269): time 6.662e-06/1.539, allocations: 0 / 0.7478 GB, free: 57.76 MB / 475.1 MB Notification: Performance of matching and sorting (n=278): time 0.04562/1.585, allocations: 14.48 MB / 0.7619 GB, free: 43.05 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/1.585, allocations: 99.11 kB / 0.762 GB, free: 42.94 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005233/1.59, allocations: 2.61 MB / 0.7646 GB, free: 40.32 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005749/1.591, allocations: 25.7 kB / 0.7646 GB, free: 40.29 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002412/1.593, allocations: 3.311 MB / 0.7678 GB, free: 36.93 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001467/1.594, allocations: 1.002 MB / 0.7688 GB, free: 35.91 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007372/1.595, allocations: 0 / 0.7688 GB, free: 35.91 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0004878/1.596, allocations: 0.5918 MB / 0.7694 GB, free: 35.31 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005414/1.601, allocations: 2.356 MB / 0.7717 GB, free: 32.95 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007923/1.609, allocations: 5.977 MB / 0.7775 GB, free: 25.17 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00802/1.617, allocations: 3.783 MB / 0.7812 GB, free: 21.38 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001163/1.617, allocations: 36 kB / 0.7813 GB, free: 21.34 MB / 475.1 MB Notification: Performance of matching and sorting (n=871) (initialization): time 0.02371/1.641, allocations: 8.43 MB / 0.7895 GB, free: 12.91 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.265e-05/1.641, allocations: 64.06 kB / 0.7895 GB, free: 12.84 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001554/1.641, allocations: 128 kB / 0.7897 GB, free: 12.72 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005775/1.647, allocations: 1.148 MB / 0.7908 GB, free: 11.57 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009016/1.656, allocations: 1.497 MB / 0.7923 GB, free: 10.07 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008218/1.665, allocations: 4.462 MB / 0.7966 GB, free: 5.461 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006413/1.671, allocations: 223.7 kB / 0.7968 GB, free: 5.242 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001517/1.673, allocations: 387.9 kB / 0.7972 GB, free: 4.867 MB / 475.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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] 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.f:VARIABLE(unit = "N" ) "Line force acting on frame_a and on frame_b (positive, if acting on frame_b and directed from frame_a to frame_b)" type: Real 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.00181/1.674, allocations: 437.4 kB / 0.7976 GB, free: 4.434 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007267/1.675, allocations: 316.2 kB / 0.7979 GB, free: 4.121 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/1.688, allocations: 4.791 MB / 0.8026 GB, free: 15.26 MB / 491.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001446/1.688, allocations: 51.97 kB / 0.8026 GB, free: 15.21 MB / 491.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.688, allocations: 32 / 0.8026 GB, free: 15.21 MB / 491.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.027e-05/1.689, allocations: 15.95 kB / 0.8027 GB, free: 15.2 MB / 491.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03386/1.722, allocations: 10.87 MB / 0.8133 GB, free: 4.195 MB / 491.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.065e-05/1.723, allocations: 12.03 kB / 0.8133 GB, free: 4.184 MB / 491.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004234/1.727, allocations: 455.3 kB / 0.8137 GB, free: 3.734 MB / 491.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003746/1.731, allocations: 0.654 MB / 0.8144 GB, free: 3.07 MB / 491.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006348/1.731, allocations: 31.98 kB / 0.8144 GB, free: 3.039 MB / 491.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004396/1.736, allocations: 2.337 MB / 0.8167 GB, free: 0.5859 MB / 491.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.143e-05/1.736, allocations: 11.94 kB / 0.8167 GB, free: 0.5742 MB / 491.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01955/1.755, allocations: 8.152 MB / 0.8246 GB, free: 7.895 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/1.756, allocations: 351.8 kB / 0.825 GB, free: 7.531 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001124/1.758, allocations: 16 kB / 0.825 GB, free: 7.516 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00316/1.761, allocations: 111.8 kB / 0.8251 GB, free: 7.406 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007981/1.762, allocations: 169.6 kB / 0.8253 GB, free: 7.242 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003222/1.762, allocations: 82.97 kB / 0.8253 GB, free: 7.164 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.004786/1.767, allocations: 1.708 MB / 0.827 GB, free: 5.457 MB / 0.4952 GB Notification: Performance of sort global known variables: time 8.31e-07/1.767, allocations: 0 / 0.827 GB, free: 5.457 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.007911/1.775, allocations: 0.957 MB / 0.8279 GB, free: 4.5 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (228): * Single equations (assignments): 219 * 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.001067/1.776, allocations: 174.6 kB / 0.8281 GB, free: 4.32 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.3504/2.126, allocations: 5.835 MB / 0.8338 GB, free: 124.4 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/2.126, allocations: 1.312 kB / 0.8338 GB, free: 124.4 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.007005/2.133, allocations: 2.536 MB / 0.8363 GB, free: 124.1 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002898/2.136, allocations: 312.9 kB / 0.8366 GB, free: 124.1 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03066/2.167, allocations: 10.47 MB / 0.8468 GB, free: 122 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01025/2.177, allocations: 3.881 MB / 0.8506 GB, free: 121.2 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002064/2.179, allocations: 302.2 kB / 0.8509 GB, free: 121.2 MB / 0.4952 GB Notification: Performance of SimCode: time 2.285e-06/2.179, allocations: 0 / 0.8509 GB, free: 121.2 MB / 0.4952 GB Notification: Performance of Templates: time 0.1922/2.372, allocations: 112.1 MB / 0.9604 GB, free: 52.64 MB / 0.4952 GB 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)