Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001575, allocations: 189.1 kB / 16.67 MB, free: 6.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3677/0.3677, allocations: 37.99 MB / 307.9 MB, free: 9.879 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 71.84 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3646, allocations: 56.46 MB / 489.5 MB, free: 20.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.01581/0.3804, allocations: 14.81 MB / 0.4924 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.393, allocations: 4.555 MB / 0.4969 GB, free: 6.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004699/0.3978, allocations: 86.38 kB / 0.497 GB, free: 6.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007186/0.405, allocations: 2.4 MB / 0.4993 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.416, allocations: 1.912 MB / 0.5012 GB, free: 4.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004369/0.4204, allocations: 0.9029 MB / 0.5021 GB, free: 4.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01267/0.4331, allocations: 4.123 MB / 0.5061 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01017/0.4434, allocations: 3.492 MB / 0.5095 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0063/0.4497, allocations: 1.539 MB / 0.511 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006898/0.4567, allocations: 2.138 MB / 0.5131 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002172/0.4589, allocations: 344.3 kB / 0.5134 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006156/0.4651, allocations: 1.16 MB / 0.5146 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00527/0.4704, allocations: 2.001 MB / 0.5165 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00788/0.4783, allocations: 2.369 MB / 0.5188 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02081/0.4992, allocations: 7.917 MB / 0.5266 GB, free: 1.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.4992, allocations: 0 / 0.5266 GB, free: 1.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4993, allocations: 0 / 0.5266 GB, free: 1.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003557/0.4996, allocations: 0 / 0.5266 GB, free: 1.809 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.02293/0.5226, allocations: 5.356 MB / 0.5318 GB, free: 12.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.5227, allocations: 11.89 kB / 0.5318 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/0.5348, allocations: 3.199 MB / 0.5349 GB, free: 9.152 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006465/0.5413, allocations: 2.357 MB / 0.5372 GB, free: 6.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003156/0.5417, allocations: 250.7 kB / 0.5375 GB, free: 6.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00192/0.5436, allocations: 335.9 kB / 0.5378 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02576/0.5694, allocations: 11.89 MB / 0.5494 GB, free: 9.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002815/0.5698, allocations: 27.77 kB / 0.5494 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002389/0.5722, allocations: 147.8 kB / 0.5496 GB, free: 9.664 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005172/0.5774, allocations: 2.652 MB / 0.5522 GB, free: 7.008 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02674/0.6041, allocations: 10.99 MB / 0.5629 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06111/0.6653, allocations: 37.41 MB / 0.5994 GB, free: 5.746 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008936/0.6743, allocations: 4.418 MB / 0.6037 GB, free: 1.094 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003213/0.6775, allocations: 2.158 MB / 0.6058 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001293/0.6788, allocations: 1.315 MB / 0.6071 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/0.6789, allocations: 56.5 kB / 0.6072 GB, free: 13.33 MB / 494.1 MB Notification: Performance of pre-optimization done (n=244): time 5.12e-06/0.6789, allocations: 4 kB / 0.6072 GB, free: 13.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.04455/0.7235, allocations: 13.93 MB / 0.6208 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.7236, allocations: 73.41 kB / 0.6209 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007168/0.7307, allocations: 2.994 MB / 0.6238 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005857/0.7314, allocations: 65.69 kB / 0.6238 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002808/0.7342, allocations: 3.244 MB / 0.627 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001649/0.7358, allocations: 1.023 MB / 0.628 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003668/0.7395, allocations: 1.207 MB / 0.6292 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.7397, allocations: 301.1 kB / 0.6295 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00461/0.7443, allocations: 2.401 MB / 0.6318 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.267/1.011, allocations: 5.702 MB / 0.6374 GB, free: 120 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01477/1.026, allocations: 8.892 MB / 0.6461 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003859/1.027, allocations: 33.78 kB / 0.6461 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.03288/1.06, allocations: 8.831 MB / 0.6547 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003184/1.06, allocations: 55.55 kB / 0.6548 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000353/1.06, allocations: 114.3 kB / 0.6549 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007129/1.067, allocations: 1.045 MB / 0.6559 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008856/1.076, allocations: 1.383 MB / 0.6573 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004871/1.081, allocations: 2.616 MB / 0.6598 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00748/1.089, allocations: 321.5 kB / 0.6601 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001615/1.09, allocations: 346 kB / 0.6604 GB, free: 108.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 523 * Number of states: 0 () * Number of discrete variables: 27 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (748): * Single equations (assignments): 739 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009082/1.1, allocations: 2.37 MB / 0.6628 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001569/1.101, allocations: 318.5 kB / 0.6631 GB, free: 107.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01778/1.119, allocations: 5.101 MB / 0.668 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001276/1.119, allocations: 46.84 kB / 0.6681 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.321e-05/1.119, allocations: 1.125 kB / 0.6681 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.871e-05/1.119, allocations: 11.88 kB / 0.6681 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03665/1.156, allocations: 11.75 MB / 0.6796 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.089e-05/1.156, allocations: 7.594 kB / 0.6796 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003078/1.159, allocations: 426.2 kB / 0.68 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005736/1.165, allocations: 0.9051 MB / 0.6809 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003954/1.165, allocations: 57.27 kB / 0.6809 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003232/1.169, allocations: 2.413 MB / 0.6833 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/1.169, allocations: 19.75 kB / 0.6833 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01716/1.186, allocations: 7.571 MB / 0.6907 GB, free: 94.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.187, allocations: 360 kB / 0.691 GB, free: 94.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008976/1.188, allocations: 51.94 kB / 0.6911 GB, free: 94.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002422/1.19, allocations: 135.8 kB / 0.6912 GB, free: 94.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000495/1.191, allocations: 157.7 kB / 0.6914 GB, free: 93.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002807/1.191, allocations: 83.41 kB / 0.6915 GB, free: 93.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004705/1.196, allocations: 1.832 MB / 0.6932 GB, free: 92.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.82e-07/1.196, allocations: 0 / 0.6932 GB, free: 92.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01002/1.206, allocations: 1.039 MB / 0.6943 GB, free: 91.04 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 207 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009851/1.207, allocations: 200.4 kB / 0.6944 GB, free: 90.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01538/1.222, allocations: 6.331 MB / 0.7006 GB, free: 84.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/1.222, allocations: 0 / 0.7006 GB, free: 84.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006978/1.229, allocations: 2.619 MB / 0.7032 GB, free: 81.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00434/1.234, allocations: 0.5355 MB / 0.7037 GB, free: 81.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02625/1.26, allocations: 11.42 MB / 0.7149 GB, free: 69.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007357/1.267, allocations: 3.659 MB / 0.7184 GB, free: 66.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008448/1.276, allocations: 2.149 MB / 0.7205 GB, free: 63.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/1.278, allocations: 247.4 kB / 0.7208 GB, free: 63.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.433e-06/1.278, allocations: 0 / 0.7208 GB, free: 63.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.06191/1.339, allocations: 33.34 MB / 0.7533 GB, free: 30.43 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1)