Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_SphericalSpherical",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.01046/0.01046, allocations: 176.1 kB / 15.12 MB, free: 5.984 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.967/1.967, allocations: 194.5 MB / 210.3 MB, free: 8.582 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.002015/0.002014, allocations: 124.7 kB / 255.6 MB, free: 11.2 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.2569/0.2569, allocations: 40 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.000484, allocations: 19.12 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09904/0.09956, allocations: 54.88 MB / 461.1 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4897/0.5894, allocations: 91.04 MB / 0.5392 GB, free: 21.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.5897, allocations: 75.84 kB / 0.5393 GB, free: 21.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08435/0.6741, allocations: 19.95 MB / 0.5588 GB, free: 19.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6741, allocations: 5.5 kB / 0.5588 GB, free: 19.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.408e-05/0.6742, allocations: 23.31 kB / 0.5588 GB, free: 19.14 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.004629/0.6788, allocations: 1.457 MB / 0.5603 GB, free: 18.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.6789, allocations: 11.52 kB / 0.5603 GB, free: 18.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007072/0.6796, allocations: 188.1 kB / 0.5604 GB, free: 18.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.6812, allocations: 200.7 kB / 0.5606 GB, free: 18.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/0.6834, allocations: 0.7067 MB / 0.5613 GB, free: 17.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-05/0.6835, allocations: 81.05 kB / 0.5614 GB, free: 17.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002819/0.6838, allocations: 105 kB / 0.5615 GB, free: 17.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009607/0.6934, allocations: 2.658 MB / 0.5641 GB, free: 17.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.645e-05/0.6936, allocations: 11.27 kB / 0.5641 GB, free: 17.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.6938, allocations: 60.16 kB / 0.5642 GB, free: 17.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000418/0.6942, allocations: 203.5 kB / 0.5644 GB, free: 17.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009512/0.7037, allocations: 2.407 MB / 0.5667 GB, free: 17.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/0.7168, allocations: 8.528 MB / 0.575 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007094/0.7239, allocations: 1.009 MB / 0.576 GB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001893/0.7259, allocations: 1.738 MB / 0.5777 GB, free: 9.828 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.7259, allocations: 38.12 kB / 0.5778 GB, free: 9.785 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 4.448e-06/0.726, allocations: 0 / 0.5778 GB, free: 9.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.02088/0.7468, allocations: 3.019 MB / 0.5807 GB, free: 8.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.7469, allocations: 63.73 kB / 0.5808 GB, free: 8.754 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.7485, allocations: 0.7784 MB / 0.5815 GB, free: 8.488 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.581e-05/0.7486, allocations: 37.17 kB / 0.5816 GB, free: 8.457 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/0.7491, allocations: 0.6482 MB / 0.5822 GB, free: 8.012 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.7493, allocations: 212.3 kB / 0.5824 GB, free: 7.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.7494, allocations: 25.31 kB / 0.5824 GB, free: 7.863 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.7496, allocations: 401.8 kB / 0.5828 GB, free: 7.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008421/0.7504, allocations: 359.8 kB / 0.5831 GB, free: 7.461 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.7516, allocations: 0.9605 MB / 0.5841 GB, free: 6.578 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.7529, allocations: 0.5689 MB / 0.5846 GB, free: 6.465 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/0.7529, allocations: 7.688 kB / 0.5846 GB, free: 6.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003015/0.7559, allocations: 1.357 MB / 0.586 GB, free: 6.094 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.756, allocations: 20.39 kB / 0.586 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/0.756, allocations: 23.38 kB / 0.586 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.638e-05/0.7561, allocations: 31.12 kB / 0.586 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/0.7583, allocations: 319.4 kB / 0.5863 GB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.7599, allocations: 1.377 MB / 0.5877 GB, free: 20.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.7612, allocations: 48.94 kB / 0.5877 GB, free: 20.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/0.7615, allocations: 65.34 kB / 0.5878 GB, free: 20.63 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 24 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[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.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 (154): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001255/0.7627, allocations: 0.4894 MB / 0.5883 GB, free: 20.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002444/0.763, allocations: 85.48 kB / 0.5884 GB, free: 20.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003488/0.7634, allocations: 113.3 kB / 0.5885 GB, free: 20.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.7634, allocations: 3.938 kB / 0.5885 GB, free: 20.35 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.7634, allocations: 0 / 0.5885 GB, free: 20.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.7634, allocations: 0 / 0.5885 GB, free: 20.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005452/0.7689, allocations: 2.151 MB / 0.5906 GB, free: 19.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.7689, allocations: 6.656 kB / 0.5906 GB, free: 19.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.77, allocations: 131 kB / 0.5907 GB, free: 19.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.688e-05/0.77, allocations: 9.625 kB / 0.5907 GB, free: 19.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.7701, allocations: 16.56 kB / 0.5907 GB, free: 19.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.7713, allocations: 1.348 MB / 0.592 GB, free: 18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/0.7714, allocations: 10.31 kB / 0.5921 GB, free: 18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.7731, allocations: 1.137 MB / 0.5932 GB, free: 17.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005132/0.7736, allocations: 206.2 kB / 0.5934 GB, free: 16.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.7738, allocations: 22.92 kB / 0.5934 GB, free: 16.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005972/0.7744, allocations: 18.25 kB / 0.5934 GB, free: 16.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.7745, allocations: 50.72 kB / 0.5935 GB, free: 16.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/0.7746, allocations: 23.03 kB / 0.5935 GB, free: 16.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001221/0.7758, allocations: 0.5773 MB / 0.594 GB, free: 16.69 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.7758, allocations: 0 / 0.594 GB, free: 16.69 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001556/0.7774, allocations: 211.2 kB / 0.5942 GB, free: 16.69 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002907/0.7803, allocations: 3.484 MB / 0.5976 GB, free: 13.51 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002124/0.7825, allocations: 0.8424 MB / 0.5985 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/0.7825, allocations: 1.938 kB / 0.5985 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007372/0.7833, allocations: 280.1 kB / 0.5987 GB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009985/0.7843, allocations: 115 kB / 0.5988 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0208/0.8051, allocations: 20.87 MB / 0.6192 GB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/0.8066, allocations: 1.238 MB / 0.6204 GB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001727/0.8084, allocations: 337.3 kB / 0.6208 GB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009338/0.8094, allocations: 400.2 kB / 0.6211 GB, free: 10.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/0.8094, allocations: 0 / 0.6211 GB, free: 10.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05765/0.867, allocations: 16.7 MB / 0.6374 GB, free: 13.99 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000332/0.8675, allocations: 181.7 kB / 0.6376 GB, free: 13.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.168/4.035, allocations: 4 kB / 0.6376 GB, free: 13.75 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat