Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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 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.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001608/0.001608, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002201/0.002201, allocations: 190.7 kB / 16.25 MB, free: 6.617 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.669/1.669, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4452/0.4452, allocations: 39.94 MB / 309.4 MB, free: 9.375 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.2. 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.001942/0.001942, allocations: 67.89 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1614, allocations: 56.88 MB / 434 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.3491/0.5105, allocations: 46.18 MB / 480.2 MB, free: 26.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02455/0.5351, allocations: 9.794 MB / 490 MB, free: 20.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01361/0.5488, allocations: 192.9 kB / 490.2 MB, free: 20.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004929/0.5539, allocations: 2.285 MB / 492.4 MB, free: 19.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006782/0.5607, allocations: 1.794 MB / 494.2 MB, free: 18.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002475/0.5632, allocations: 0.8571 MB / 495.1 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006957/0.5702, allocations: 4.136 MB / 499.2 MB, free: 16.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008335/0.5785, allocations: 3.664 MB / 0.4911 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004572/0.5832, allocations: 1.543 MB / 0.4926 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005134/0.5883, allocations: 2.331 MB / 0.4949 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002001/0.5903, allocations: 344.8 kB / 0.4952 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004549/0.5949, allocations: 1.184 MB / 0.4964 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004413/0.5994, allocations: 2.018 MB / 0.4983 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007803/0.6072, allocations: 2.389 MB / 0.5007 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01637/0.6236, allocations: 7.601 MB / 0.5081 GB, free: 7.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.6236, allocations: 0 / 0.5081 GB, free: 7.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6237, allocations: 3.938 kB / 0.5081 GB, free: 7.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004553/0.6241, allocations: 0 / 0.5081 GB, free: 7.883 MB / 382.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.02381/0.6479, allocations: 5.224 MB / 0.5132 GB, free: 4.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.172e-05/0.648, allocations: 13.45 kB / 0.5132 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0131/0.6611, allocations: 3.166 MB / 0.5163 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00837/0.6696, allocations: 2.327 MB / 0.5186 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003393/0.67, allocations: 248.1 kB / 0.5188 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002501/0.6725, allocations: 331.2 kB / 0.5191 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03464/0.7071, allocations: 11.89 MB / 0.5307 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003512/0.7075, allocations: 35.73 kB / 0.5308 GB, free: 5.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002808/0.7104, allocations: 147.8 kB / 0.5309 GB, free: 5.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00694/0.7173, allocations: 2.645 MB / 0.5335 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03662/0.754, allocations: 11 MB / 0.5442 GB, free: 7.453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08228/0.8363, allocations: 37.56 MB / 0.5809 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.013/0.8494, allocations: 4.42 MB / 0.5852 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005019/0.8545, allocations: 2.16 MB / 0.5873 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00234/0.8568, allocations: 1.315 MB / 0.5886 GB, free: 8.719 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.442e-05/0.8569, allocations: 60.5 kB / 0.5887 GB, free: 8.652 MB / 462.1 MB Notification: Performance of pre-optimization done (n=244): time 8.175e-06/0.857, allocations: 0 / 0.5887 GB, free: 8.652 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.04343/0.9004, allocations: 13.84 MB / 0.6022 GB, free: 10.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/0.9005, allocations: 77.41 kB / 0.6023 GB, free: 10.64 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006552/0.9071, allocations: 2.989 MB / 0.6052 GB, free: 7.637 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006039/0.9077, allocations: 57.7 kB / 0.6053 GB, free: 7.574 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002485/0.9102, allocations: 3.116 MB / 0.6083 GB, free: 4.414 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001619/0.9118, allocations: 0.9752 MB / 0.6092 GB, free: 3.426 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003247/0.9151, allocations: 1.195 MB / 0.6104 GB, free: 2.219 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.9152, allocations: 309.1 kB / 0.6107 GB, free: 1.914 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003859/0.9191, allocations: 2.401 MB / 0.6131 GB, free: 15.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006276/0.9254, allocations: 5.709 MB / 0.6186 GB, free: 8.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2897/1.215, allocations: 8.89 MB / 0.6273 GB, free: 143 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001193/1.215, allocations: 37 kB / 0.6273 GB, free: 143 MB / 494.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01667/1.232, allocations: 8.812 MB / 0.636 GB, free: 141.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.877e-05/1.232, allocations: 57.56 kB / 0.636 GB, free: 141.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001414/1.232, allocations: 117.3 kB / 0.6361 GB, free: 141.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003379/1.236, allocations: 1.048 MB / 0.6371 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004959/1.241, allocations: 1.38 MB / 0.6385 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/1.244, allocations: 2.613 MB / 0.641 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004855/1.248, allocations: 320.7 kB / 0.6413 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/1.25, allocations: 351 kB / 0.6417 GB, free: 139.1 MB / 494.1 MB 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.006448/1.256, allocations: 2.367 MB / 0.644 GB, free: 138.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008361/1.257, allocations: 304.3 kB / 0.6443 GB, free: 138.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/1.267, allocations: 5.1 MB / 0.6493 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.276e-05/1.267, allocations: 42.38 kB / 0.6493 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/1.267, allocations: 3.094 kB / 0.6493 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/1.267, allocations: 12.34 kB / 0.6493 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02283/1.29, allocations: 11.79 MB / 0.6608 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/1.29, allocations: 8.094 kB / 0.6608 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/1.292, allocations: 425 kB / 0.6612 GB, free: 132.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003558/1.296, allocations: 0.907 MB / 0.6621 GB, free: 132.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000389/1.296, allocations: 64.69 kB / 0.6622 GB, free: 132.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002816/1.299, allocations: 2.419 MB / 0.6646 GB, free: 130.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/1.299, allocations: 15.66 kB / 0.6646 GB, free: 130.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/1.311, allocations: 7.555 MB / 0.6719 GB, free: 127.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/1.312, allocations: 345.1 kB / 0.6723 GB, free: 127.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006179/1.313, allocations: 53.12 kB / 0.6723 GB, free: 127.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.314, allocations: 143.2 kB / 0.6725 GB, free: 127.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/1.315, allocations: 155.7 kB / 0.6726 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001728/1.315, allocations: 80.56 kB / 0.6727 GB, free: 127.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003313/1.318, allocations: 1.832 MB / 0.6745 GB, free: 126.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.71e-07/1.318, allocations: 0 / 0.6745 GB, free: 126.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007148/1.325, allocations: 1.048 MB / 0.6755 GB, free: 126.7 MB / 494.1 MB 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.0006744/1.326, allocations: 197.1 kB / 0.6757 GB, free: 126.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02106/1.347, allocations: 10.52 MB / 0.686 GB, free: 118.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.585e-05/1.347, allocations: 320 / 0.686 GB, free: 118.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004381/1.352, allocations: 2.616 MB / 0.6885 GB, free: 116.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003406/1.355, allocations: 0.5229 MB / 0.689 GB, free: 115.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02166/1.377, allocations: 13.84 MB / 0.7025 GB, free: 102.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004856/1.382, allocations: 3.653 MB / 0.7061 GB, free: 100 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005154/1.387, allocations: 2.155 MB / 0.7082 GB, free: 98.03 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008363/1.388, allocations: 255.2 kB / 0.7085 GB, free: 97.78 MB / 494.1 MB Notification: Performance of SimCode: time 1.954e-06/1.388, allocations: 4 kB / 0.7085 GB, free: 97.78 MB / 494.1 MB Notification: Performance of Templates: time 0.0641/1.452, allocations: 35.9 MB / 0.7435 GB, free: 61.98 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1)