Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01127/0.01128, allocations: 106.2 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001201/0.001201, allocations: 178.2 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.105/2.105, allocations: 194.5 MB / 211.3 MB, free: 10.96 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2691/0.2691, allocations: 40.04 MB / 296.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000461/0.0004612, allocations: 8 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1222, allocations: 54.89 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.4956/0.6178, allocations: 104.2 MB / 0.508 GB, free: 15.65 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.07471/0.6926, allocations: 24.3 MB / 0.5318 GB, free: 14.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0272/0.7199, allocations: 0.5415 MB / 0.5323 GB, free: 14.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02239/0.7423, allocations: 5.489 MB / 0.5376 GB, free: 13.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06333/0.8057, allocations: 14.36 MB / 0.5517 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01364/0.8194, allocations: 1.984 MB / 0.5536 GB, free: 14.7 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0872/0.9067, allocations: 28.6 MB / 0.5815 GB, free: 2.074 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05029/0.957, allocations: 22.13 MB / 0.6031 GB, free: 11.93 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007595/0.9647, allocations: 2.823 MB / 0.6059 GB, free: 9.102 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01011/0.9748, allocations: 3.925 MB / 0.6097 GB, free: 5.164 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003437/0.9783, allocations: 476 kB / 0.6102 GB, free: 4.699 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006562/0.9849, allocations: 1.471 MB / 0.6116 GB, free: 3.227 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009154/0.9942, allocations: 5.199 MB / 0.6167 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005308/0.9995, allocations: 2.615 MB / 0.6193 GB, free: 11.39 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.7972/1.797, allocations: 20.26 MB / 0.639 GB, free: 46.04 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/1.797, allocations: 0 / 0.639 GB, free: 46.04 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.474e-06/1.797, allocations: 0.5 kB / 0.639 GB, free: 46.04 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0008851/1.798, allocations: 0 / 0.639 GB, free: 46.04 MB / 490.8 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.05532/1.853, allocations: 13.09 MB / 0.6518 GB, free: 41.2 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/1.853, allocations: 8.312 kB / 0.6518 GB, free: 41.2 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01108/1.864, allocations: 2.506 MB / 0.6543 GB, free: 41.02 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5608/2.425, allocations: 22.37 MB / 0.6761 GB, free: 35.94 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03194/2.457, allocations: 9.742 MB / 0.6856 GB, free: 33.41 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00104/2.458, allocations: 0.8906 MB / 0.6865 GB, free: 33.39 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008555/2.467, allocations: 1.524 MB / 0.688 GB, free: 33.29 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09671/2.564, allocations: 31.87 MB / 0.7191 GB, free: 10.7 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009963/2.565, allocations: 112.3 kB / 0.7192 GB, free: 10.64 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006176/2.571, allocations: 0.5306 MB / 0.7197 GB, free: 10.5 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01132/2.582, allocations: 4.352 MB / 0.724 GB, free: 6.98 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1428/2.725, allocations: 26.33 MB / 0.7497 GB, free: 4.699 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6361/3.361, allocations: 110.8 MB / 0.8579 GB, free: 167.5 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08125/3.442, allocations: 12.69 MB / 0.8703 GB, free: 166.9 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008912/3.451, allocations: 4.836 MB / 0.875 GB, free: 162.9 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/3.452, allocations: 81.14 kB / 0.8751 GB, free: 162.8 MB / 0.573 GB Notification: Performance of pre-optimization done (n=435): time 1.346e-05/3.452, allocations: 3.969 kB / 0.8751 GB, free: 162.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=568): time 0.8774/4.329, allocations: 134.5 MB / 1.006 GB, free: 67.13 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05551/4.385, allocations: 25.91 MB / 1.032 GB, free: 40.36 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02359/4.408, allocations: 10.25 MB / 1.042 GB, free: 30.18 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002162/4.411, allocations: 110.9 kB / 1.042 GB, free: 30.07 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.007522/4.418, allocations: 8.839 MB / 1.051 GB, free: 21.23 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004311/4.422, allocations: 2.195 MB / 1.053 GB, free: 19.05 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003119/4.426, allocations: 319.3 kB / 1.053 GB, free: 18.74 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001231/4.427, allocations: 0.9879 MB / 1.054 GB, free: 17.75 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02291/4.45, allocations: 9.703 MB / 1.063 GB, free: 8.039 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3922/4.842, allocations: 18.85 MB / 1.082 GB, free: 202.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03225/4.874, allocations: 13.12 MB / 1.095 GB, free: 200.4 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005617/4.875, allocations: 93.72 kB / 1.095 GB, free: 200.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=2094) (initialization): time 0.1826/5.058, allocations: 41.04 MB / 1.135 GB, free: 187.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003326/5.058, allocations: 142.8 kB / 1.135 GB, free: 187.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1447/5.203, allocations: 27.88 MB / 1.162 GB, free: 171.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1227/5.326, allocations: 15.59 MB / 1.177 GB, free: 156.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02468/5.35, allocations: 3.856 MB / 1.181 GB, free: 152.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1395/5.49, allocations: 62.8 MB / 1.242 GB, free: 88.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02845/5.518, allocations: 1.799 MB / 1.244 GB, free: 86.81 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004318/5.523, allocations: 0.9802 MB / 1.245 GB, free: 85.83 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1467 * 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 (1918): * Single equations (assignments): 1889 * 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.01823/5.541, allocations: 6.187 MB / 1.251 GB, free: 79.72 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003538/5.545, allocations: 0.8757 MB / 1.252 GB, free: 79.32 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1732/5.718, allocations: 29.45 MB / 1.281 GB, free: 49.74 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.5272/6.245, allocations: 27.69 MB / 1.308 GB, free: 190.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001672/6.245, allocations: 29.03 kB / 1.308 GB, free: 190.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000161/6.245, allocations: 32.23 kB / 1.308 GB, free: 190.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2158/6.461, allocations: 64.08 MB / 1.371 GB, free: 166.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001045/6.461, allocations: 3.719 kB / 1.371 GB, free: 166.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01028/6.472, allocations: 1.05 MB / 1.372 GB, free: 166.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09913/6.571, allocations: 15.92 MB / 1.387 GB, free: 156.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002145/6.573, allocations: 167.8 kB / 1.387 GB, free: 156.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1433/6.716, allocations: 68.56 MB / 1.454 GB, free: 87.48 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0545/6.771, allocations: 25.7 MB / 1.479 GB, free: 61.16 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5446/7.316, allocations: 41.64 MB / 1.52 GB, free: 178.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003876/7.32, allocations: 0.9886 MB / 1.521 GB, free: 178.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004542/7.324, allocations: 127.5 kB / 1.521 GB, free: 178.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01625/7.341, allocations: 0.9014 MB / 1.522 GB, free: 178.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00424/7.345, allocations: 450.2 kB / 1.522 GB, free: 178.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001785/7.347, allocations: 182 kB / 1.523 GB, free: 178.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01724/7.364, allocations: 6.465 MB / 1.529 GB, free: 178 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.12e-07/7.364, allocations: 2 kB / 1.529 GB, free: 178 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02863/7.393, allocations: 4.567 MB / 1.533 GB, free: 178 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (411): * Single equations (assignments): 396 * 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.1532/7.546, allocations: 42.85 MB / 1.575 GB, free: 165.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.06157/7.608, allocations: 24.52 MB / 1.599 GB, free: 153.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/7.608, allocations: 0 / 1.599 GB, free: 153.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.03532/7.643, allocations: 11.92 MB / 1.611 GB, free: 143.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01572/7.659, allocations: 1.364 MB / 1.612 GB, free: 142.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.589/8.248, allocations: 292.1 MB / 1.897 GB, free: 34.62 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02315/8.271, allocations: 9.442 MB / 1.907 GB, free: 33.56 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.03736/8.308, allocations: 5.077 MB / 1.911 GB, free: 33.37 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01836/8.327, allocations: 6.462 MB / 1.918 GB, free: 33.36 MB / 0.573 GB Notification: Performance of SimCode: time 1.002e-06/8.327, allocations: 0 / 1.918 GB, free: 33.36 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.5/9.826, allocations: 304.6 MB / 2.215 GB, free: 150.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002568/9.827, allocations: 216 kB / 2.215 GB, free: 150 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/22.89, allocations: 0 / 2.215 GB, free: 150 MB / 0.573 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