Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_SphericalSpherical2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0156/0.0156, allocations: 176.2 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.925/1.925, allocations: 194.5 MB / 210.3 MB, free: 8.777 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001996/0.001995, allocations: 108.6 kB / 255.6 MB, free: 11.4 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2703/0.2703, allocations: 40.02 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004834/0.0004833, allocations: 10.91 kB / 406.3 MB, free: 52.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1035, allocations: 54.87 MB / 461.1 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5244/0.6279, allocations: 111 MB / 0.5587 GB, free: 21.58 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.6282, allocations: 73.67 kB / 0.5588 GB, free: 21.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.25/1.879, allocations: 229.6 MB / 0.783 GB, free: 60.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.645e-06/1.879, allocations: 0 / 0.783 GB, free: 60.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001151/1.88, allocations: 282.7 kB / 0.7833 GB, free: 60.66 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4609 * Number of variables: 4609 Notification: Performance of Generate backend data structure: time 0.08675/1.967, allocations: 14.53 MB / 0.7975 GB, free: 55.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/1.967, allocations: 10.66 kB / 0.7975 GB, free: 55.88 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01358/1.98, allocations: 2.814 MB / 0.8002 GB, free: 55.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08057/2.061, allocations: 10.92 MB / 0.8109 GB, free: 54.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05404/2.115, allocations: 15.57 MB / 0.8261 GB, free: 53.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001379/2.116, allocations: 1.09 MB / 0.8272 GB, free: 53.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007512/2.124, allocations: 1.447 MB / 0.8286 GB, free: 53.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1076/2.232, allocations: 32.33 MB / 0.8601 GB, free: 33.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001168/2.233, allocations: 154.5 kB / 0.8603 GB, free: 32.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006803/2.24, allocations: 0.6609 MB / 0.8609 GB, free: 32.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005161/2.245, allocations: 2.323 MB / 0.8632 GB, free: 30.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08628/2.331, allocations: 26 MB / 0.8886 GB, free: 8.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6567/2.988, allocations: 130.7 MB / 1.016 GB, free: 46 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06463/3.053, allocations: 12.47 MB / 1.028 GB, free: 45.3 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006533/3.059, allocations: 4.843 MB / 1.033 GB, free: 41.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/3.059, allocations: 83.78 kB / 1.033 GB, free: 41.26 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=435): time 8.937e-06/3.059, allocations: 0 / 1.033 GB, free: 41.26 MB / 0.5573 GB Notification: Performance of matching and sorting (n=569): time 1.27/4.33, allocations: 135.1 MB / 1.165 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05506/4.385, allocations: 25.89 MB / 1.19 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02218/4.407, allocations: 8.447 MB / 1.199 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001813/4.409, allocations: 109.2 kB / 1.199 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.007922/4.417, allocations: 8.862 MB / 1.207 GB, free: 115 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004168/4.421, allocations: 2.192 MB / 1.21 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002881/4.424, allocations: 320.7 kB / 1.21 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001375/4.425, allocations: 0.9874 MB / 1.211 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02269/4.448, allocations: 9.406 MB / 1.22 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03003/4.478, allocations: 18.61 MB / 1.238 GB, free: 95.38 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0296/4.508, allocations: 12.85 MB / 1.251 GB, free: 90.53 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003913/4.508, allocations: 94.03 kB / 1.251 GB, free: 90.53 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2101) (initialization): time 0.1304/4.639, allocations: 36.71 MB / 1.287 GB, free: 77.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002327/4.639, allocations: 145 kB / 1.287 GB, free: 76.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09369/4.733, allocations: 23.47 MB / 1.31 GB, free: 58.69 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06775/4.8, allocations: 10.94 MB / 1.32 GB, free: 51.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02439/4.825, allocations: 3.856 MB / 1.324 GB, free: 48.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5316/5.357, allocations: 52.89 MB / 1.376 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04036/5.397, allocations: 1.808 MB / 1.378 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004442/5.402, allocations: 0.9704 MB / 1.379 GB, free: 103.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1475 * Number of states: 0 () * Number of discrete variables: 75 (freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],sphericalSpherical1.massColor[3],sphericalSpherical1.massColor[2],sphericalSpherical1.massColor[1],sphericalSpherical1.sphereColor[3],sphericalSpherical1.sphereColor[2],sphericalSpherical1.sphereColor[1],sphericalSpherical1.rodColor[3],sphericalSpherical1.rodColor[2],sphericalSpherical1.rodColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1925): * Single equations (assignments): 1896 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 6 {1,1,4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,82.8%) 32,(1,100.0%) 3,(4,93.8%) 20,(7,63.3%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01885/5.42, allocations: 6.201 MB / 1.385 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005108/5.426, allocations: 0.8818 MB / 1.385 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1299/5.556, allocations: 29.05 MB / 1.414 GB, free: 95.06 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1667/5.722, allocations: 27.28 MB / 1.44 GB, free: 87.62 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001302/5.723, allocations: 30.06 kB / 1.44 GB, free: 87.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001495/5.723, allocations: 32.66 kB / 1.44 GB, free: 87.62 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2284/5.951, allocations: 63.43 MB / 1.502 GB, free: 45.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001217/5.951, allocations: 4 kB / 1.502 GB, free: 45.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01371/5.965, allocations: 1.014 MB / 1.503 GB, free: 44.72 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1346/6.1, allocations: 15.7 MB / 1.519 GB, free: 29.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00261/6.102, allocations: 181.5 kB / 1.519 GB, free: 28.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5973/6.7, allocations: 67.65 MB / 1.585 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05661/6.756, allocations: 25.69 MB / 1.61 GB, free: 87.16 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1447/6.901, allocations: 41.36 MB / 1.65 GB, free: 73.05 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003955/6.905, allocations: 0.9466 MB / 1.651 GB, free: 72.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004711/6.91, allocations: 134.3 kB / 1.652 GB, free: 72.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01639/6.926, allocations: 0.8959 MB / 1.652 GB, free: 72.74 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003992/6.93, allocations: 452.7 kB / 1.653 GB, free: 72.69 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001886/6.932, allocations: 188 kB / 1.653 GB, free: 72.65 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01772/6.95, allocations: 5.865 MB / 1.659 GB, free: 70.73 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.81e-07/6.95, allocations: 3.344 kB / 1.659 GB, free: 70.73 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02682/6.977, allocations: 4.427 MB / 1.663 GB, free: 70.37 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 32 ($STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[6],$STATESET4.x[5],$STATESET4.x[4],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],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 (412): * Single equations (assignments): 397 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {3,8,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 17,(3,100.0%) 3,(8,82.8%) 29,(7,93.9%) 12,(7,63.3%) 20} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.1493/7.126, allocations: 42.65 MB / 1.705 GB, free: 38.63 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.05647/7.183, allocations: 23.92 MB / 1.728 GB, free: 18.15 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/7.183, allocations: 4.75 kB / 1.728 GB, free: 18.14 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.4409/7.624, allocations: 11.75 MB / 1.74 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01323/7.637, allocations: 1.344 MB / 1.741 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6459/8.283, allocations: 295.1 MB / 2.029 GB, free: 105.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02896/8.312, allocations: 9.436 MB / 2.038 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.02532/8.337, allocations: 5.066 MB / 2.043 GB, free: 104.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01854/8.356, allocations: 6.443 MB / 2.05 GB, free: 104.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.793e-06/8.356, allocations: 0 / 2.05 GB, free: 104.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.065/9.421, allocations: 290.5 MB / 2.333 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/9.422, allocations: 220.6 kB / 2.333 GB, free: 113 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/22.23, allocations: 0 / 2.333 GB, free: 113 MB / 0.6511 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2_res.mat does not exist to compare? outputFormat=mat