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.001473/0.001473, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002413/0.002413, allocations: 192.3 kB / 16.25 MB, free: 6.625 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.488/1.488, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.3087/0.3087, allocations: 39.93 MB / 309.4 MB, free: 9.305 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.002079/0.00208, allocations: 64.38 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1725, allocations: 56.89 MB / 434 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.2764/0.4489, allocations: 25.7 MB / 459.7 MB, free: 35.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.462, allocations: 6.281 MB / 466 MB, free: 35.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007052/0.4691, allocations: 104.1 kB / 466.1 MB, free: 35.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002729/0.472, allocations: 1.121 MB / 467.2 MB, free: 34.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004603/0.4766, allocations: 1.643 MB / 468.8 MB, free: 34.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.478, allocations: 0.5238 MB / 469.4 MB, free: 34.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004545/0.4826, allocations: 3.956 MB / 473.3 MB, free: 32.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.4845, allocations: 1.868 MB / 475.2 MB, free: 32.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.4859, allocations: 1.166 MB / 476.4 MB, free: 31.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.4875, allocations: 1.858 MB / 478.2 MB, free: 31.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003339/0.4879, allocations: 218.4 kB / 478.4 MB, free: 31.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.4899, allocations: 1.308 MB / 479.7 MB, free: 31.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001139/0.4911, allocations: 1.623 MB / 481.4 MB, free: 30.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00143/0.4925, allocations: 1.872 MB / 483.2 MB, free: 29.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005794/0.4983, allocations: 6.009 MB / 489.2 MB, free: 27.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4984, allocations: 0.5156 kB / 489.2 MB, free: 27.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4984, allocations: 3.281 kB / 489.2 MB, free: 27.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001516/0.4985, allocations: 0 / 489.2 MB, free: 27.26 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.009222/0.5078, allocations: 4.113 MB / 493.4 MB, free: 24.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.5078, allocations: 17.23 kB / 493.4 MB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0195/0.5273, allocations: 5.673 MB / 499 MB, free: 24.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005975/0.5334, allocations: 2.244 MB / 0.4895 GB, free: 23.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/0.5336, allocations: 180.5 kB / 0.4897 GB, free: 23.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001488/0.5351, allocations: 313.4 kB / 0.49 GB, free: 23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02069/0.5558, allocations: 10.72 MB / 0.5005 GB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-05/0.5559, allocations: 23.25 kB / 0.5005 GB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004317/0.5564, allocations: 110.3 kB / 0.5006 GB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003664/0.56, allocations: 2.462 MB / 0.503 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/0.5772, allocations: 10.17 MB / 0.5129 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04834/0.6256, allocations: 35.71 MB / 0.5478 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/0.6367, allocations: 5.589 MB / 0.5533 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003031/0.6397, allocations: 2.332 MB / 0.5556 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001519/0.6413, allocations: 1.877 MB / 0.5574 GB, free: 8.234 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.6413, allocations: 56.5 kB / 0.5574 GB, free: 8.168 MB / 430.1 MB Notification: Performance of pre-optimization done (n=224): time 4.579e-06/0.6413, allocations: 0 / 0.5574 GB, free: 8.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=231): time 0.03439/0.6757, allocations: 14.97 MB / 0.5721 GB, free: 9.098 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001376/0.6772, allocations: 1.606 MB / 0.5736 GB, free: 7.328 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00394/0.6811, allocations: 2.806 MB / 0.5764 GB, free: 4.508 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005895/0.6817, allocations: 56.83 kB / 0.5764 GB, free: 4.449 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001877/0.6836, allocations: 2.682 MB / 0.579 GB, free: 1.762 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001266/0.6849, allocations: 0.855 MB / 0.5799 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001566/0.6865, allocations: 1.108 MB / 0.581 GB, free: 15.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.6866, allocations: 305.1 kB / 0.5813 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003692/0.6903, allocations: 2.63 MB / 0.5838 GB, free: 12.86 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006059/0.6963, allocations: 5.64 MB / 0.5893 GB, free: 5.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/0.7094, allocations: 8.945 MB / 0.5981 GB, free: 11.34 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001054/0.7095, allocations: 31.94 kB / 0.5981 GB, free: 11.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.06142/0.771, allocations: 19.03 MB / 0.6167 GB, free: 8.242 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.911e-05/0.7711, allocations: 48 kB / 0.6167 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3084/1.08, allocations: 12.02 MB / 0.6285 GB, free: 144.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04494/1.125, allocations: 10.29 MB / 0.6385 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005126/1.13, allocations: 1.313 MB / 0.6398 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02942/1.159, allocations: 18.23 MB / 0.6576 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005343/1.165, allocations: 436.2 kB / 0.658 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001314/1.166, allocations: 324.3 kB / 0.6583 GB, free: 138.1 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.004675/1.171, allocations: 2.025 MB / 0.6603 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006461/1.171, allocations: 271.8 kB / 0.6606 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009551/1.181, allocations: 5.11 MB / 0.6655 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00675/1.188, allocations: 4.413 MB / 0.6699 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-05/1.188, allocations: 3.906 kB / 0.6699 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.135e-05/1.188, allocations: 7.969 kB / 0.6699 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02024/1.208, allocations: 12.93 MB / 0.6825 GB, free: 125.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/1.208, allocations: 12.8 kB / 0.6825 GB, free: 125.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/1.21, allocations: 451.3 kB / 0.6829 GB, free: 125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002646/1.212, allocations: 0.9516 MB / 0.6839 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002657/1.213, allocations: 51.97 kB / 0.6839 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005952/1.219, allocations: 5.828 MB / 0.6896 GB, free: 117.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007811/1.22, allocations: 1.553 MB / 0.6911 GB, free: 116.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/1.234, allocations: 7.73 MB / 0.6987 GB, free: 108.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/1.235, allocations: 332.2 kB / 0.699 GB, free: 108.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/1.237, allocations: 43.98 kB / 0.699 GB, free: 108.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002257/1.239, allocations: 203.2 kB / 0.6992 GB, free: 108.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006459/1.239, allocations: 142 kB / 0.6994 GB, free: 108 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002601/1.24, allocations: 63.98 kB / 0.6994 GB, free: 107.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00372/1.243, allocations: 1.738 MB / 0.7011 GB, free: 106.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 3e-07/1.244, allocations: 0 / 0.7011 GB, free: 106.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005433/1.249, allocations: 1.109 MB / 0.7022 GB, free: 105.1 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.000585/1.25, allocations: 177.5 kB / 0.7024 GB, free: 104.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01474/1.264, allocations: 9.69 MB / 0.7118 GB, free: 95.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.745e-05/1.264, allocations: 0 / 0.7118 GB, free: 95.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003209/1.268, allocations: 2.526 MB / 0.7143 GB, free: 92.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/1.27, allocations: 372.5 kB / 0.7147 GB, free: 92.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/1.285, allocations: 11.92 MB / 0.7263 GB, free: 80.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002639/1.287, allocations: 3.175 MB / 0.7294 GB, free: 77.08 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004332/1.292, allocations: 2.064 MB / 0.7314 GB, free: 75.01 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000689/1.293, allocations: 211.4 kB / 0.7316 GB, free: 74.8 MB / 494.1 MB Notification: Performance of SimCode: time 9.22e-07/1.293, allocations: 0 / 0.7316 GB, free: 74.8 MB / 494.1 MB Notification: Performance of Templates: time 0.0682/1.361, allocations: 46.42 MB / 0.7769 GB, free: 28.39 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)