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.0008692/0.0008695, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009614/0.0009618, allocations: 168.7 kB / 15.95 MB, free: 204 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.615/1.615, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.3348/0.3348, allocations: 40.01 MB / 310.4 MB, free: 10.15 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.0005996/0.0006, allocations: 15.98 kB / 378.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1441, allocations: 57.96 MB / 436.8 MB, free: 2.875 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.2897/0.4339, allocations: 23.17 MB / 460 MB, free: 33.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.4471, allocations: 5.96 MB / 465.9 MB, free: 33.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004967/0.4521, allocations: 103.1 kB / 466 MB, free: 33.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003977/0.4561, allocations: 1.088 MB / 467.1 MB, free: 32.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01058/0.4667, allocations: 3.503 MB / 470.6 MB, free: 32.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.4687, allocations: 464.8 kB / 471.1 MB, free: 32.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005707/0.4745, allocations: 4.16 MB / 475.2 MB, free: 31.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004023/0.4785, allocations: 2.152 MB / 477.4 MB, free: 31.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002402/0.481, allocations: 1.01 MB / 478.4 MB, free: 31.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002987/0.484, allocations: 1.666 MB / 480.1 MB, free: 31.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006588/0.4847, allocations: 125.4 kB / 480.2 MB, free: 31.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00297/0.4877, allocations: 1.055 MB / 481.2 MB, free: 31.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001996/0.4897, allocations: 1.49 MB / 482.7 MB, free: 30.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009103/0.4906, allocations: 0.7289 MB / 483.5 MB, free: 30.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006597/0.4972, allocations: 4.702 MB / 488.2 MB, free: 30.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.4973, allocations: 0 / 488.2 MB, free: 30.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.4973, allocations: 3.062 kB / 488.2 MB, free: 30.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003099/0.4976, allocations: 0 / 488.2 MB, free: 30.22 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.01065/0.5082, allocations: 3.436 MB / 491.6 MB, free: 28.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.5083, allocations: 10.5 kB / 491.6 MB, free: 28.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02128/0.5296, allocations: 5.775 MB / 497.4 MB, free: 26.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007994/0.5377, allocations: 2.22 MB / 499.6 MB, free: 25.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005504/0.5383, allocations: 178 kB / 499.8 MB, free: 25.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00297/0.5413, allocations: 310.3 kB / 0.4884 GB, free: 25.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02866/0.57, allocations: 10.72 MB / 0.4988 GB, free: 19.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002142/0.5703, allocations: 26.06 kB / 0.4989 GB, free: 19.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001696/0.572, allocations: 118.6 kB / 0.499 GB, free: 19.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004522/0.5765, allocations: 2.459 MB / 0.5014 GB, free: 18.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02319/0.5997, allocations: 10.14 MB / 0.5113 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06813/0.6679, allocations: 35.67 MB / 0.5461 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01266/0.6807, allocations: 5.58 MB / 0.5516 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003951/0.6847, allocations: 2.331 MB / 0.5538 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00195/0.6867, allocations: 1.88 MB / 0.5557 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.533e-05/0.6867, allocations: 44.56 kB / 0.5557 GB, free: 11.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=224): time 6.462e-06/0.6868, allocations: 0 / 0.5557 GB, free: 11.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=231): time 0.04182/0.7286, allocations: 14.96 MB / 0.5703 GB, free: 12.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001671/0.7303, allocations: 1.519 MB / 0.5718 GB, free: 11.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006444/0.7368, allocations: 2.791 MB / 0.5745 GB, free: 8.203 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008777/0.7377, allocations: 53.7 kB / 0.5746 GB, free: 8.145 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002591/0.7403, allocations: 2.682 MB / 0.5772 GB, free: 5.461 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001735/0.7421, allocations: 0.8473 MB / 0.578 GB, free: 4.621 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008989/0.743, allocations: 104 kB / 0.5781 GB, free: 4.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0007174/0.7438, allocations: 0.5494 MB / 0.5787 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00532/0.7491, allocations: 2.615 MB / 0.5812 GB, free: 1.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007879/0.757, allocations: 5.62 MB / 0.5867 GB, free: 10.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007555/0.7646, allocations: 3.81 MB / 0.5904 GB, free: 6.438 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001334/0.7648, allocations: 32 kB / 0.5905 GB, free: 6.406 MB / 462.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.06164/0.8264, allocations: 18.99 MB / 0.609 GB, free: 3.383 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.8266, allocations: 55.92 kB / 0.6091 GB, free: 3.328 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04119/0.8678, allocations: 12 MB / 0.6208 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3481/1.216, allocations: 10.29 MB / 0.6308 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004741/1.221, allocations: 1.31 MB / 0.6321 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02409/1.245, allocations: 16.02 MB / 0.6478 GB, free: 138.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004561/1.25, allocations: 441 kB / 0.6482 GB, free: 138 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/1.251, allocations: 317.4 kB / 0.6485 GB, free: 138 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 (661): * Single equations (assignments): 650 * 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.004257/1.255, allocations: 2.025 MB / 0.6505 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005773/1.256, allocations: 269.6 kB / 0.6507 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009112/1.265, allocations: 5.102 MB / 0.6557 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008285/1.273, allocations: 4.392 MB / 0.66 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-05/1.273, allocations: 6.703 kB / 0.66 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/1.273, allocations: 7.641 kB / 0.66 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02505/1.298, allocations: 12.91 MB / 0.6726 GB, free: 129.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.241e-05/1.298, allocations: 14.17 kB / 0.6726 GB, free: 129.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/1.3, allocations: 461.2 kB / 0.6731 GB, free: 129.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002583/1.303, allocations: 0.939 MB / 0.674 GB, free: 129.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002384/1.303, allocations: 43.61 kB / 0.674 GB, free: 129.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005311/1.308, allocations: 5.463 MB / 0.6793 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007388/1.309, allocations: 1.46 MB / 0.6808 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.319, allocations: 7.705 MB / 0.6883 GB, free: 121.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/1.321, allocations: 332.7 kB / 0.6886 GB, free: 121.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003888/1.321, allocations: 46.72 kB / 0.6887 GB, free: 121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/1.322, allocations: 195.6 kB / 0.6888 GB, free: 120.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003928/1.323, allocations: 144.9 kB / 0.689 GB, free: 120.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002016/1.323, allocations: 67.34 kB / 0.689 GB, free: 120.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003524/1.327, allocations: 1.704 MB / 0.6907 GB, free: 118.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/1.327, allocations: 0 / 0.6907 GB, free: 118.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00534/1.332, allocations: 1.113 MB / 0.6918 GB, free: 117.8 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.0005385/1.332, allocations: 173.4 kB / 0.692 GB, free: 117.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01011/1.343, allocations: 6.599 MB / 0.6984 GB, free: 111.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.343, allocations: 0 / 0.6984 GB, free: 111.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003245/1.346, allocations: 2.531 MB / 0.7009 GB, free: 108.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/1.348, allocations: 368.4 kB / 0.7012 GB, free: 108.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/1.365, allocations: 11.62 MB / 0.7126 GB, free: 96.47 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002799/1.368, allocations: 3.171 MB / 0.7157 GB, free: 93.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004208/1.372, allocations: 2.06 MB / 0.7177 GB, free: 91.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006556/1.372, allocations: 207.4 kB / 0.7179 GB, free: 91 MB / 494.1 MB Notification: Performance of SimCode: time 1.563e-06/1.372, allocations: 4 kB / 0.7179 GB, free: 91 MB / 494.1 MB Notification: Performance of Templates: time 0.06404/1.436, allocations: 43.16 MB / 0.76 GB, free: 47.84 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: