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.0008082/0.0008082, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.0008422/0.0008422, allocations: 172.7 kB / 15.95 MB, free: 208 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.402/1.402, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3336/0.3336, allocations: 38.03 MB / 308.4 MB, free: 10.44 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.0005434/0.0005435, allocations: 23.98 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1188, allocations: 57.52 MB / 434 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.2478/0.3667, allocations: 23.16 MB / 457.1 MB, free: 33.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.3788, allocations: 5.958 MB / 463.1 MB, free: 32.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004434/0.3833, allocations: 102.8 kB / 463.2 MB, free: 32.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003343/0.3867, allocations: 1.091 MB / 464.3 MB, free: 32.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009889/0.3966, allocations: 3.498 MB / 467.8 MB, free: 31.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.3983, allocations: 468.8 kB / 468.2 MB, free: 31.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004908/0.4032, allocations: 4.156 MB / 472.4 MB, free: 31.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003234/0.4065, allocations: 2.151 MB / 474.5 MB, free: 31.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.4081, allocations: 1.013 MB / 475.5 MB, free: 30.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.4101, allocations: 1.662 MB / 477.2 MB, free: 30.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003429/0.4105, allocations: 121.8 kB / 477.3 MB, free: 30.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.4124, allocations: 1.062 MB / 478.4 MB, free: 30.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.4136, allocations: 1.488 MB / 479.9 MB, free: 30.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006498/0.4143, allocations: 0.7311 MB / 480.6 MB, free: 30.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005337/0.4196, allocations: 4.702 MB / 485.3 MB, free: 29.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.4197, allocations: 0 / 485.3 MB, free: 29.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4197, allocations: 0 / 485.3 MB, free: 29.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002094/0.4199, allocations: 3.25 kB / 485.3 MB, free: 29.84 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.00722/0.4271, allocations: 3.44 MB / 488.8 MB, free: 28.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.4272, allocations: 9.812 kB / 488.8 MB, free: 28.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01728/0.4445, allocations: 5.781 MB / 494.5 MB, free: 27.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005537/0.4501, allocations: 2.214 MB / 496.8 MB, free: 26.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.4504, allocations: 180.9 kB / 496.9 MB, free: 26.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00208/0.4525, allocations: 313.3 kB / 497.2 MB, free: 26.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/0.4738, allocations: 10.71 MB / 0.496 GB, free: 21.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-05/0.4739, allocations: 26.5 kB / 0.4961 GB, free: 21.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000398/0.4744, allocations: 120.5 kB / 0.4962 GB, free: 21.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003963/0.4783, allocations: 2.461 MB / 0.4986 GB, free: 20.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01995/0.4983, allocations: 10.13 MB / 0.5085 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05636/0.5547, allocations: 35.68 MB / 0.5433 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01142/0.5662, allocations: 5.587 MB / 0.5488 GB, free: 3.398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003584/0.5698, allocations: 2.33 MB / 0.5511 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001795/0.5716, allocations: 1.872 MB / 0.5529 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.5717, allocations: 56.5 kB / 0.5529 GB, free: 14.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=224): time 6.262e-06/0.5717, allocations: 0 / 0.5529 GB, free: 14.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=231): time 0.03625/0.608, allocations: 14.95 MB / 0.5675 GB, free: 15.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001325/0.6093, allocations: 1.519 MB / 0.569 GB, free: 14.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005693/0.6151, allocations: 2.791 MB / 0.5718 GB, free: 11.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006493/0.6157, allocations: 56.52 kB / 0.5718 GB, free: 11.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002204/0.618, allocations: 2.671 MB / 0.5744 GB, free: 8.527 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001322/0.6193, allocations: 0.8545 MB / 0.5753 GB, free: 7.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007125/0.62, allocations: 114.7 kB / 0.5754 GB, free: 7.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005264/0.6206, allocations: 0.5416 MB / 0.5759 GB, free: 7.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004807/0.6254, allocations: 2.611 MB / 0.5784 GB, free: 4.402 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006935/0.6323, allocations: 5.624 MB / 0.5839 GB, free: 13.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005977/0.6383, allocations: 3.817 MB / 0.5877 GB, free: 9.488 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-05/0.6384, allocations: 28 kB / 0.5877 GB, free: 9.461 MB / 462.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.05674/0.6952, allocations: 18.99 MB / 0.6062 GB, free: 6.438 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.6954, allocations: 52 kB / 0.6063 GB, free: 6.387 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03786/0.7332, allocations: 12 MB / 0.618 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03894/0.7722, allocations: 10.29 MB / 0.628 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2438/1.016, allocations: 1.314 MB / 0.6293 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02336/1.039, allocations: 16.03 MB / 0.645 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004648/1.044, allocations: 440.8 kB / 0.6454 GB, free: 141.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000837/1.045, allocations: 321.5 kB / 0.6457 GB, free: 141.8 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.003603/1.049, allocations: 2.016 MB / 0.6477 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006122/1.049, allocations: 270.2 kB / 0.6479 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007928/1.057, allocations: 5.112 MB / 0.6529 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006898/1.064, allocations: 4.388 MB / 0.6572 GB, free: 138 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/1.064, allocations: 2.219 kB / 0.6572 GB, free: 138 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/1.064, allocations: 14.86 kB / 0.6572 GB, free: 138 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02204/1.086, allocations: 12.91 MB / 0.6698 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-05/1.086, allocations: 7.281 kB / 0.6698 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/1.088, allocations: 458.3 kB / 0.6703 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002626/1.091, allocations: 0.9377 MB / 0.6712 GB, free: 133.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000193/1.091, allocations: 56.67 kB / 0.6712 GB, free: 133.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005774/1.097, allocations: 5.462 MB / 0.6766 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008216/1.098, allocations: 1.454 MB / 0.678 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/1.108, allocations: 7.716 MB / 0.6855 GB, free: 125.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009504/1.109, allocations: 330.1 kB / 0.6858 GB, free: 125.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003213/1.11, allocations: 47.52 kB / 0.6859 GB, free: 125.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/1.111, allocations: 195.2 kB / 0.6861 GB, free: 125.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003076/1.111, allocations: 147.8 kB / 0.6862 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/1.111, allocations: 66.11 kB / 0.6863 GB, free: 125.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002446/1.114, allocations: 1.697 MB / 0.6879 GB, free: 124.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/1.114, allocations: 0 / 0.6879 GB, free: 124.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004661/1.119, allocations: 1.106 MB / 0.689 GB, free: 123.4 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.0004583/1.119, allocations: 188.3 kB / 0.6892 GB, free: 123.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01034/1.129, allocations: 6.596 MB / 0.6956 GB, free: 116.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/1.129, allocations: 4 kB / 0.6956 GB, free: 116.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003111/1.133, allocations: 2.513 MB / 0.6981 GB, free: 114.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/1.135, allocations: 363.4 kB / 0.6984 GB, free: 113.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/1.149, allocations: 11.61 MB / 0.7098 GB, free: 102.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002661/1.152, allocations: 3.168 MB / 0.7129 GB, free: 98.86 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004169/1.156, allocations: 2.056 MB / 0.7149 GB, free: 96.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006569/1.157, allocations: 215.4 kB / 0.7151 GB, free: 96.59 MB / 494.1 MB Notification: Performance of SimCode: time 1.543e-06/1.157, allocations: 0 / 0.7151 GB, free: 96.59 MB / 494.1 MB Notification: Performance of Templates: time 0.05953/1.216, allocations: 43.18 MB / 0.7573 GB, free: 53.42 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: