Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001628/0.001628, 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.003159/0.003158, allocations: 193.8 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.508/1.508, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.3541/0.3541, allocations: 38 MB / 307.8 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.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.002281/0.002281, allocations: 76.78 kB / 375.2 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1686, allocations: 56.46 MB / 431.7 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01267/0.1813, allocations: 11.82 MB / 443.5 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00947/0.1908, allocations: 4.051 MB / 447.6 MB, free: 6.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/0.193, allocations: 59.88 kB / 447.6 MB, free: 6.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002498/0.1956, allocations: 1.179 MB / 448.8 MB, free: 5.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004331/0.2, allocations: 1.744 MB / 450.6 MB, free: 3.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.2014, allocations: 0.5574 MB / 451.1 MB, free: 3.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2734/0.4748, allocations: 3.961 MB / 455.1 MB, free: 37.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003252/0.4781, allocations: 1.786 MB / 456.9 MB, free: 37.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/0.4806, allocations: 1.17 MB / 458 MB, free: 37.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.4826, allocations: 1.677 MB / 459.7 MB, free: 36.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005182/0.4832, allocations: 222 kB / 459.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002527/0.4857, allocations: 1.288 MB / 461.2 MB, free: 36.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001537/0.4873, allocations: 1.59 MB / 462.8 MB, free: 36.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001895/0.4892, allocations: 1.85 MB / 464.7 MB, free: 35.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007612/0.4968, allocations: 5.958 MB / 470.6 MB, free: 34.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.4968, allocations: 3.031 kB / 470.6 MB, free: 34.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.4968, allocations: 0 / 470.6 MB, free: 34.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000146/0.497, allocations: 3.938 kB / 470.6 MB, free: 34.34 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.008922/0.5059, allocations: 4.125 MB / 474.7 MB, free: 32.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.705e-05/0.506, allocations: 10.33 kB / 474.8 MB, free: 32.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01899/0.525, allocations: 5.669 MB / 480.4 MB, free: 31.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006673/0.5317, allocations: 2.256 MB / 482.7 MB, free: 30.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.5319, allocations: 178.9 kB / 482.9 MB, free: 30.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001551/0.5335, allocations: 310.1 kB / 483.2 MB, free: 30.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02217/0.5557, allocations: 10.72 MB / 493.9 MB, free: 26.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001098/0.5558, allocations: 29.5 kB / 493.9 MB, free: 26.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004217/0.5563, allocations: 120.4 kB / 494 MB, free: 26.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004355/0.5606, allocations: 2.458 MB / 496.5 MB, free: 25.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02521/0.5859, allocations: 10.16 MB / 0.4948 GB, free: 22.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05924/0.6451, allocations: 35.7 MB / 0.5296 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/0.658, allocations: 5.592 MB / 0.5351 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00359/0.6617, allocations: 2.332 MB / 0.5374 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001873/0.6636, allocations: 1.876 MB / 0.5392 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.917e-05/0.6637, allocations: 55.56 kB / 0.5393 GB, free: 10.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=224): time 8.095e-06/0.6637, allocations: 0 / 0.5393 GB, free: 10.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=231): time 0.04202/0.7057, allocations: 14.97 MB / 0.5539 GB, free: 11.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001715/0.7075, allocations: 1.614 MB / 0.5555 GB, free: 9.629 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00643/0.714, allocations: 2.806 MB / 0.5582 GB, free: 6.809 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007508/0.7148, allocations: 57.7 kB / 0.5582 GB, free: 6.746 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002583/0.7174, allocations: 2.674 MB / 0.5609 GB, free: 4.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001732/0.7191, allocations: 0.8588 MB / 0.5617 GB, free: 3.219 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00377/0.7229, allocations: 1.102 MB / 0.5628 GB, free: 2.105 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.723, allocations: 305.9 kB / 0.5631 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005119/0.7282, allocations: 2.634 MB / 0.5656 GB, free: 15.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007489/0.7357, allocations: 5.644 MB / 0.5711 GB, free: 8.105 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01384/0.7495, allocations: 8.942 MB / 0.5799 GB, free: 14.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001825/0.7498, allocations: 28 kB / 0.5799 GB, free: 14.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.0689/0.8187, allocations: 19.05 MB / 0.5985 GB, free: 10.96 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.965e-05/0.8189, allocations: 48 kB / 0.5986 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04709/0.866, allocations: 12.02 MB / 0.6103 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05006/0.9161, allocations: 10.29 MB / 0.6203 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005401/0.9215, allocations: 1.318 MB / 0.6216 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3801/1.302, allocations: 18.21 MB / 0.6394 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006054/1.308, allocations: 432.3 kB / 0.6398 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/1.309, allocations: 322.7 kB / 0.6401 GB, free: 141.9 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.005223/1.315, allocations: 2.02 MB / 0.6421 GB, free: 141.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007827/1.315, allocations: 270.2 kB / 0.6424 GB, free: 141.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008775/1.324, allocations: 5.116 MB / 0.6474 GB, free: 139.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008372/1.333, allocations: 4.399 MB / 0.6516 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/1.333, allocations: 4.938 kB / 0.6517 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-05/1.333, allocations: 9.047 kB / 0.6517 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02864/1.361, allocations: 12.93 MB / 0.6643 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/1.361, allocations: 6.406 kB / 0.6643 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002498/1.364, allocations: 457.4 kB / 0.6647 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003623/1.367, allocations: 0.9451 MB / 0.6657 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003334/1.368, allocations: 51.61 kB / 0.6657 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007177/1.375, allocations: 5.835 MB / 0.6714 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000994/1.376, allocations: 1.553 MB / 0.6729 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01163/1.388, allocations: 7.738 MB / 0.6805 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/1.389, allocations: 325.2 kB / 0.6808 GB, free: 125.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004138/1.389, allocations: 53.44 kB / 0.6808 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/1.391, allocations: 196 kB / 0.681 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000556/1.391, allocations: 148 kB / 0.6812 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000195/1.392, allocations: 65.53 kB / 0.6812 GB, free: 125.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003337/1.395, allocations: 1.728 MB / 0.6829 GB, free: 125.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.032e-06/1.395, allocations: 0 / 0.6829 GB, free: 125.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007003/1.402, allocations: 1.111 MB / 0.684 GB, free: 125 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.0007255/1.403, allocations: 185.7 kB / 0.6842 GB, free: 124.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01849/1.421, allocations: 9.684 MB / 0.6936 GB, free: 116.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.477e-05/1.421, allocations: 0 / 0.6936 GB, free: 116.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004498/1.426, allocations: 2.526 MB / 0.6961 GB, free: 113.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004677/1.43, allocations: 375.5 kB / 0.6965 GB, free: 113.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.023/1.454, allocations: 9.938 MB / 0.7062 GB, free: 103.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005942/1.46, allocations: 3.16 MB / 0.7092 GB, free: 100.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006161/1.466, allocations: 2.064 MB / 0.7113 GB, free: 98.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/1.467, allocations: 219.4 kB / 0.7115 GB, free: 97.84 MB / 494.1 MB Notification: Performance of SimCode: time 9.51e-07/1.467, allocations: 0 / 0.7115 GB, free: 97.84 MB / 494.1 MB Notification: Performance of Templates: time 0.08755/1.555, allocations: 46.12 MB / 0.7565 GB, free: 51.73 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1)