Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical2,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01058/0.01058, allocations: 165.7 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.71/1.71, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002071/0.002071, allocations: 111 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4712/0.4712, allocations: 38.06 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004806, allocations: 8 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1045, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4478/0.5524, allocations: 104.2 MB / 0.5038 GB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.5528, allocations: 81.45 kB / 0.5039 GB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.183/1.736, allocations: 229.4 MB / 0.7279 GB, free: 18.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.785e-06/1.736, allocations: 0 / 0.7279 GB, free: 18.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007712/1.737, allocations: 275.9 kB / 0.7282 GB, free: 18.52 MB / 426.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.08605/1.823, allocations: 14.53 MB / 0.7424 GB, free: 3.871 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/1.823, allocations: 8.031 kB / 0.7424 GB, free: 3.863 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01414/1.837, allocations: 2.822 MB / 0.7452 GB, free: 1.027 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4336/2.271, allocations: 10.86 MB / 0.7558 GB, free: 30.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05498/2.326, allocations: 15.54 MB / 0.7709 GB, free: 29.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001433/2.327, allocations: 1.089 MB / 0.772 GB, free: 29.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008461/2.336, allocations: 1.454 MB / 0.7734 GB, free: 29.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.111/2.447, allocations: 32.31 MB / 0.805 GB, free: 23.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001292/2.448, allocations: 149.3 kB / 0.8051 GB, free: 23.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006847/2.455, allocations: 0.6676 MB / 0.8058 GB, free: 23.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005481/2.46, allocations: 2.33 MB / 0.8081 GB, free: 23.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08746/2.548, allocations: 25.99 MB / 0.8334 GB, free: 17.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6565/3.204, allocations: 130.7 MB / 0.961 GB, free: 17.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06994/3.274, allocations: 12.49 MB / 0.9732 GB, free: 16.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01643/3.291, allocations: 4.852 MB / 0.978 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/3.291, allocations: 77.23 kB / 0.978 GB, free: 12.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=435): time 4.636e-05/3.296, allocations: 0 / 0.978 GB, free: 12.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=569): time 0.9267/4.222, allocations: 135.4 MB / 1.11 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.08721/4.31, allocations: 25.9 MB / 1.136 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03346/4.343, allocations: 8.434 MB / 1.144 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002366/4.346, allocations: 109.5 kB / 1.144 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.4048/4.75, allocations: 8.862 MB / 1.153 GB, free: 155.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004825/4.755, allocations: 2.188 MB / 1.155 GB, free: 154.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00391/4.759, allocations: 322.2 kB / 1.155 GB, free: 154.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.002307/4.762, allocations: 0.9916 MB / 1.156 GB, free: 153.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02436/4.786, allocations: 9.391 MB / 1.165 GB, free: 153.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03058/4.817, allocations: 18.59 MB / 1.183 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0348/4.852, allocations: 12.84 MB / 1.196 GB, free: 141.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006027/4.852, allocations: 92.06 kB / 1.196 GB, free: 141.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2101) (initialization): time 0.1463/4.998, allocations: 36.31 MB / 1.231 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002938/4.999, allocations: 143.6 kB / 1.232 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08807/5.087, allocations: 23.14 MB / 1.254 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06426/5.151, allocations: 10.59 MB / 1.264 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02515/5.176, allocations: 3.921 MB / 1.268 GB, free: 126 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1201/5.297, allocations: 51.01 MB / 1.318 GB, free: 86.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02837/5.325, allocations: 1.805 MB / 1.32 GB, free: 85.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004595/5.33, allocations: 0.9739 MB / 1.321 GB, free: 84.19 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 (1937): * Single equations (assignments): 1908 * 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,1,1,1,1} * 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.01832/5.348, allocations: 6.205 MB / 1.327 GB, free: 78.71 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00353/5.352, allocations: 0.8831 MB / 1.328 GB, free: 77.82 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5302/5.882, allocations: 29.05 MB / 1.356 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1232/6.005, allocations: 27.28 MB / 1.383 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000169/6.005, allocations: 25.06 kB / 1.383 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001836/6.005, allocations: 30.38 kB / 1.383 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2214/6.227, allocations: 63.43 MB / 1.445 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.663e-05/6.227, allocations: 7.281 kB / 1.445 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01002/6.237, allocations: 1.017 MB / 1.446 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09774/6.335, allocations: 15.68 MB / 1.461 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002093/6.337, allocations: 177.4 kB / 1.461 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1419/6.479, allocations: 67.67 MB / 1.527 GB, free: 75.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05473/6.534, allocations: 25.7 MB / 1.552 GB, free: 49.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5507/7.084, allocations: 41.34 MB / 1.593 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003705/7.088, allocations: 0.948 MB / 1.594 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004408/7.093, allocations: 126.4 kB / 1.594 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01672/7.109, allocations: 0.9041 MB / 1.595 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004162/7.114, allocations: 455.4 kB / 1.595 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002111/7.116, allocations: 183.6 kB / 1.595 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01852/7.134, allocations: 5.869 MB / 1.601 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.62e-07/7.134, allocations: 0 / 1.601 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02564/7.16, allocations: 4.412 MB / 1.605 GB, free: 129.9 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.147/7.307, allocations: 42.64 MB / 1.647 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.05787/7.365, allocations: 23.35 MB / 1.67 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/7.365, allocations: 2.062 kB / 1.67 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0338/7.399, allocations: 11.74 MB / 1.681 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01235/7.411, allocations: 1.337 MB / 1.683 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6032/8.015, allocations: 295.1 MB / 1.971 GB, free: 25.79 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02784/8.042, allocations: 9.436 MB / 1.98 GB, free: 24.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.02628/8.069, allocations: 5.071 MB / 1.985 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01828/8.087, allocations: 6.455 MB / 1.991 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of SimCode: time 1.192e-06/8.087, allocations: 0 / 1.991 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.017/9.104, allocations: 287.9 MB / 2.272 GB, free: 119.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/9.105, allocations: 216.5 kB / 2.273 GB, free: 119.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/21.91, allocations: 0 / 2.273 GB, free: 119.3 MB / 0.6355 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2_res.mat does not exist to compare? outputFormat=mat