Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001622/0.001622, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3499/0.3499, allocations: 40 MB / 310.4 MB, free: 9.973 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.0005482/0.0005483, allocations: 16 kB / 378.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1321, allocations: 57.95 MB / 436.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.2425/0.3747, allocations: 21.95 MB / 458.7 MB, free: 33.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.3865, allocations: 6.141 MB / 464.8 MB, free: 33.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003516/0.3901, allocations: 108.3 kB / 465 MB, free: 33.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002709/0.3928, allocations: 1.12 MB / 466.1 MB, free: 32.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009795/0.4026, allocations: 3.467 MB / 469.5 MB, free: 32.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.4039, allocations: 456.2 kB / 470 MB, free: 32.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003212/0.4071, allocations: 2.11 MB / 472.1 MB, free: 32.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003832/0.411, allocations: 2.142 MB / 474.2 MB, free: 32.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.4126, allocations: 0.8503 MB / 475.1 MB, free: 32.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.4145, allocations: 1.185 MB / 476.3 MB, free: 31.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007541/0.4153, allocations: 128 kB / 476.4 MB, free: 31.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.4178, allocations: 1.028 MB / 477.4 MB, free: 31.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001891/0.4197, allocations: 1.385 MB / 478.8 MB, free: 31.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001213/0.4209, allocations: 0.7341 MB / 479.5 MB, free: 31.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005665/0.4266, allocations: 4.715 MB / 484.3 MB, free: 31.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4266, allocations: 0 / 484.3 MB, free: 31.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4266, allocations: 0 / 484.3 MB, free: 31.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002635/0.4269, allocations: 0 / 484.3 MB, free: 31.25 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.007886/0.4348, allocations: 3.475 MB / 487.7 MB, free: 29.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.4348, allocations: 9.5 kB / 487.7 MB, free: 29.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02194/0.4568, allocations: 6.413 MB / 494.2 MB, free: 28.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007041/0.4639, allocations: 2.511 MB / 496.7 MB, free: 26.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002387/0.4641, allocations: 182.4 kB / 496.8 MB, free: 26.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001721/0.4659, allocations: 314.7 kB / 497.2 MB, free: 26.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01912/0.485, allocations: 10.79 MB / 0.496 GB, free: 21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-05/0.4852, allocations: 26.39 kB / 0.4961 GB, free: 20.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004117/0.4856, allocations: 110.7 kB / 0.4962 GB, free: 20.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003779/0.4894, allocations: 2.46 MB / 0.4986 GB, free: 19.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01901/0.5084, allocations: 10.23 MB / 0.5086 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04869/0.5571, allocations: 35.82 MB / 0.5435 GB, free: 8.586 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/0.569, allocations: 5.605 MB / 0.549 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001896/0.5709, allocations: 1.882 MB / 0.5509 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.571, allocations: 52.56 kB / 0.5509 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=224): time 5.21e-06/0.571, allocations: 0 / 0.5509 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of matching and sorting (n=231): time 0.03679/0.6078, allocations: 15.54 MB / 0.5661 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001526/0.6094, allocations: 1.527 MB / 0.5676 GB, free: 15.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004498/0.6139, allocations: 3.03 MB / 0.5705 GB, free: 12.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005505/0.6144, allocations: 52.2 kB / 0.5706 GB, free: 11.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001955/0.6164, allocations: 2.69 MB / 0.5732 GB, free: 9.262 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001281/0.6177, allocations: 0.8479 MB / 0.574 GB, free: 8.422 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.618, allocations: 106.4 kB / 0.5741 GB, free: 8.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003578/0.6184, allocations: 0.5492 MB / 0.5747 GB, free: 7.766 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003853/0.6222, allocations: 2.607 MB / 0.5772 GB, free: 5.152 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005509/0.6277, allocations: 5.588 MB / 0.5827 GB, free: 14.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005127/0.6329, allocations: 3.798 MB / 0.5864 GB, free: 10.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-05/0.633, allocations: 32 kB / 0.5864 GB, free: 10.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06386/0.6968, allocations: 18.96 MB / 0.6049 GB, free: 7.258 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.416e-05/0.6969, allocations: 48 kB / 0.605 GB, free: 7.211 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04591/0.7429, allocations: 12.01 MB / 0.6167 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04784/0.7907, allocations: 10.29 MB / 0.6268 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2467/1.037, allocations: 1.308 MB / 0.628 GB, free: 142.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02763/1.065, allocations: 17.27 MB / 0.6449 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005075/1.07, allocations: 439.6 kB / 0.6453 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008076/1.071, allocations: 323.9 kB / 0.6456 GB, free: 138.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (653): * Single equations (assignments): 642 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.003838/1.075, allocations: 2.018 MB / 0.6476 GB, free: 137.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005155/1.075, allocations: 274.3 kB / 0.6479 GB, free: 137.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008638/1.084, allocations: 5.107 MB / 0.6529 GB, free: 136 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007378/1.092, allocations: 4.387 MB / 0.6571 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/1.092, allocations: 6.625 kB / 0.6572 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/1.092, allocations: 16.64 kB / 0.6572 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02309/1.115, allocations: 12.93 MB / 0.6698 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/1.115, allocations: 7.812 kB / 0.6698 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002156/1.117, allocations: 461.1 kB / 0.6702 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002938/1.12, allocations: 0.9382 MB / 0.6712 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000348/1.12, allocations: 53.2 kB / 0.6712 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005923/1.126, allocations: 5.581 MB / 0.6767 GB, free: 126.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007494/1.127, allocations: 1.469 MB / 0.6781 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/1.138, allocations: 8.354 MB / 0.6862 GB, free: 121.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009431/1.139, allocations: 338.8 kB / 0.6866 GB, free: 121 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006948/1.139, allocations: 47.3 kB / 0.6866 GB, free: 120.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/1.141, allocations: 202.5 kB / 0.6868 GB, free: 120.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003796/1.142, allocations: 150.4 kB / 0.687 GB, free: 120.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002093/1.142, allocations: 59.11 kB / 0.687 GB, free: 120.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003197/1.145, allocations: 1.891 MB / 0.6889 GB, free: 119.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.145, allocations: 0 / 0.6889 GB, free: 119.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005395/1.151, allocations: 1.128 MB / 0.69 GB, free: 118.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[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 (170): * Single equations (assignments): 161 * 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): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007042/1.151, allocations: 202 kB / 0.6902 GB, free: 118.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0102/1.162, allocations: 6.553 MB / 0.6966 GB, free: 112.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/1.162, allocations: 0 / 0.6966 GB, free: 112.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003401/1.165, allocations: 2.528 MB / 0.699 GB, free: 109.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/1.167, allocations: 339.8 kB / 0.6993 GB, free: 109.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01893/1.186, allocations: 11.58 MB / 0.7107 GB, free: 97.64 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004438/1.191, allocations: 3.251 MB / 0.7138 GB, free: 94.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005194/1.196, allocations: 2.066 MB / 0.7158 GB, free: 92.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.197, allocations: 211.4 kB / 0.716 GB, free: 92.08 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/1.197, allocations: 0 / 0.716 GB, free: 92.08 MB / 494.1 MB Notification: Performance of Templates: time 0.0623/1.259, allocations: 43.92 MB / 0.7589 GB, free: 48.16 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) Environment - environmentSimulation: