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.002046/0.002046, allocations: 108 kB / 15.61 MB, free: 152 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.00231/0.00231, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.49/1.49, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.3377/0.3377, allocations: 39.93 MB / 309.7 MB, free: 9.262 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.00223/0.00223, allocations: 79.88 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1431, allocations: 56.88 MB / 434.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01277/0.1559, allocations: 11.81 MB / 446.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009638/0.1656, allocations: 4.054 MB / 450.4 MB, free: 3.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/0.1674, allocations: 59.88 kB / 450.4 MB, free: 3.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002689/0.1701, allocations: 1.187 MB / 451.6 MB, free: 2.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004164/0.1743, allocations: 1.751 MB / 453.4 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.1758, allocations: 0.5535 MB / 453.9 MB, free: 180 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2407/0.4165, allocations: 3.955 MB / 457.9 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.4184, allocations: 1.783 MB / 459.6 MB, free: 36.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.4199, allocations: 1.161 MB / 460.8 MB, free: 36.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.4215, allocations: 1.677 MB / 462.5 MB, free: 36.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003815/0.4219, allocations: 226.4 kB / 462.7 MB, free: 36.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.4239, allocations: 1.293 MB / 464 MB, free: 36.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.4251, allocations: 1.587 MB / 465.6 MB, free: 35.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.4265, allocations: 1.855 MB / 467.4 MB, free: 35.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00501/0.4315, allocations: 5.96 MB / 473.4 MB, free: 33.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4315, allocations: 3.156 kB / 473.4 MB, free: 33.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4315, allocations: 0 / 473.4 MB, free: 33.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.451e-05/0.4316, allocations: 3.516 kB / 473.4 MB, free: 33.33 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.006186/0.4378, allocations: 4.119 MB / 477.5 MB, free: 31.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.4379, allocations: 13.27 kB / 477.5 MB, free: 31.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01955/0.4574, allocations: 5.664 MB / 483.2 MB, free: 30.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008311/0.4658, allocations: 2.251 MB / 485.5 MB, free: 29.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002568/0.4661, allocations: 176.3 kB / 485.6 MB, free: 29.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001739/0.4678, allocations: 312.9 kB / 485.9 MB, free: 29.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/0.4873, allocations: 10.73 MB / 496.7 MB, free: 25.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.338e-05/0.4874, allocations: 25.66 kB / 496.7 MB, free: 25.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003534/0.4878, allocations: 116.5 kB / 496.8 MB, free: 25.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003826/0.4916, allocations: 2.457 MB / 499.3 MB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01735/0.509, allocations: 10.17 MB / 0.4975 GB, free: 20.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04646/0.5555, allocations: 35.69 MB / 0.5323 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/0.5666, allocations: 5.598 MB / 0.5378 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002776/0.5694, allocations: 2.336 MB / 0.5401 GB, free: 8.586 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00158/0.571, allocations: 1.88 MB / 0.5419 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.5711, allocations: 44.56 kB / 0.542 GB, free: 6.328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=224): time 4.018e-06/0.5711, allocations: 0 / 0.542 GB, free: 6.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=231): time 0.03392/0.605, allocations: 14.98 MB / 0.5566 GB, free: 7.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001295/0.6063, allocations: 1.615 MB / 0.5582 GB, free: 5.477 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004643/0.611, allocations: 2.806 MB / 0.5609 GB, free: 2.656 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005807/0.6116, allocations: 53.7 kB / 0.561 GB, free: 2.598 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002746/0.6143, allocations: 2.672 MB / 0.5636 GB, free: 15.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001427/0.6158, allocations: 0.8564 MB / 0.5644 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001726/0.6175, allocations: 1.109 MB / 0.5655 GB, free: 13.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6176, allocations: 305.1 kB / 0.5658 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00404/0.6217, allocations: 2.642 MB / 0.5684 GB, free: 11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006066/0.6278, allocations: 5.635 MB / 0.5739 GB, free: 3.906 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/0.6388, allocations: 8.943 MB / 0.5826 GB, free: 9.516 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001238/0.639, allocations: 32.56 kB / 0.5826 GB, free: 9.484 MB / 462.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.0669/0.7059, allocations: 19.04 MB / 0.6012 GB, free: 6.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.599e-05/0.706, allocations: 52 kB / 0.6013 GB, free: 6.359 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04745/0.7534, allocations: 12.01 MB / 0.613 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04903/0.8025, allocations: 10.3 MB / 0.6231 GB, free: 0 / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2532/1.056, allocations: 1.309 MB / 0.6243 GB, free: 145.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02803/1.084, allocations: 18.22 MB / 0.6421 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00542/1.089, allocations: 437.3 kB / 0.6425 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001356/1.091, allocations: 320.6 kB / 0.6429 GB, free: 140 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,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 {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.00411/1.095, allocations: 2.021 MB / 0.6448 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006867/1.095, allocations: 276.8 kB / 0.6451 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009589/1.105, allocations: 5.102 MB / 0.6501 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007921/1.113, allocations: 4.407 MB / 0.6544 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/1.113, allocations: 4.438 kB / 0.6544 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/1.113, allocations: 8.625 kB / 0.6544 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02381/1.137, allocations: 12.93 MB / 0.667 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/1.137, allocations: 7.781 kB / 0.667 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00204/1.139, allocations: 461.9 kB / 0.6675 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002811/1.142, allocations: 0.9425 MB / 0.6684 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002268/1.142, allocations: 44.97 kB / 0.6684 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005654/1.148, allocations: 5.847 MB / 0.6741 GB, free: 128.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007765/1.149, allocations: 1.554 MB / 0.6757 GB, free: 126.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/1.159, allocations: 7.727 MB / 0.6832 GB, free: 123.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009619/1.16, allocations: 330.2 kB / 0.6835 GB, free: 122.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003727/1.16, allocations: 43.98 kB / 0.6836 GB, free: 122.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/1.162, allocations: 197.7 kB / 0.6837 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004224/1.162, allocations: 142.9 kB / 0.6839 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/1.162, allocations: 69.27 kB / 0.6839 GB, free: 122.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00298/1.165, allocations: 1.733 MB / 0.6856 GB, free: 120.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.165, allocations: 1.219 kB / 0.6856 GB, free: 120.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005732/1.171, allocations: 1.108 MB / 0.6867 GB, free: 119.6 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 (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): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004009/1.172, allocations: 187.3 kB / 0.6869 GB, free: 119.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01588/1.187, allocations: 9.685 MB / 0.6964 GB, free: 109.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/1.188, allocations: 0 / 0.6964 GB, free: 109.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003143/1.191, allocations: 2.531 MB / 0.6988 GB, free: 107.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/1.193, allocations: 380.2 kB / 0.6992 GB, free: 106.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/1.208, allocations: 9.945 MB / 0.7089 GB, free: 96.78 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002888/1.211, allocations: 3.167 MB / 0.712 GB, free: 93.58 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004445/1.216, allocations: 2.06 MB / 0.714 GB, free: 91.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006115/1.216, allocations: 211.4 kB / 0.7142 GB, free: 91.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.853e-06/1.216, allocations: 3.938 kB / 0.7142 GB, free: 91.3 MB / 494.1 MB Notification: Performance of Templates: time 0.06228/1.278, allocations: 46.1 MB / 0.7592 GB, free: 45.21 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.makefile (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)