Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01572/0.01573, allocations: 106 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001738/0.001738, allocations: 174.5 kB / 15.93 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.742/1.742, allocations: 170.9 MB / 187.5 MB, free: 1.016 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2743/0.2743, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000635/0.0006353, allocations: 16 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1019, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.UniversalSpherical): time 0.4582/0.5601, allocations: 104.8 MB / 477 MB, free: 6.27 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.07512/0.6353, allocations: 24.54 MB / 0.4898 GB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02756/0.663, allocations: 0.5416 MB / 0.4904 GB, free: 2.039 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02174/0.6848, allocations: 5.513 MB / 0.4957 GB, free: 12.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06069/0.7455, allocations: 14.38 MB / 0.5098 GB, free: 14.08 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01246/0.7581, allocations: 2.103 MB / 0.5118 GB, free: 11.97 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.08619/0.8443, allocations: 28.29 MB / 0.5395 GB, free: 15.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05046/0.8948, allocations: 22.45 MB / 0.5614 GB, free: 9.098 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007598/0.9025, allocations: 2.862 MB / 0.5642 GB, free: 6.227 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009761/0.9123, allocations: 3.98 MB / 0.5681 GB, free: 2.234 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003277/0.9157, allocations: 492 kB / 0.5685 GB, free: 1.754 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006828/0.9225, allocations: 1.627 MB / 0.5701 GB, free: 128 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009496/0.9321, allocations: 5.148 MB / 0.5752 GB, free: 10.96 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005705/0.9378, allocations: 2.646 MB / 0.5777 GB, free: 8.305 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03208/0.97, allocations: 20.66 MB / 0.5979 GB, free: 3.594 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.97, allocations: 4 kB / 0.5979 GB, free: 3.59 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.9701, allocations: 0 / 0.5979 GB, free: 3.59 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008566/0.9709, allocations: 0 / 0.5979 GB, free: 3.59 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4696 * Number of variables: 4696 Notification: Performance of Generate backend data structure: time 0.6121/1.583, allocations: 13.99 MB / 0.6116 GB, free: 164.4 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/1.583, allocations: 9.219 kB / 0.6116 GB, free: 164.4 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01133/1.594, allocations: 2.568 MB / 0.6141 GB, free: 162.9 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.569/2.163, allocations: 22.31 MB / 0.6359 GB, free: 146.3 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03199/2.195, allocations: 9.432 MB / 0.6451 GB, free: 136.9 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009621/2.196, allocations: 0.9106 MB / 0.646 GB, free: 136.1 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007822/2.204, allocations: 1.457 MB / 0.6474 GB, free: 134.7 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09535/2.3, allocations: 32.64 MB / 0.6793 GB, free: 100.8 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007597/2.301, allocations: 107 kB / 0.6794 GB, free: 100.7 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005709/2.306, allocations: 0.5297 MB / 0.6799 GB, free: 100.3 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009548/2.316, allocations: 4.491 MB / 0.6843 GB, free: 95.8 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08606/2.402, allocations: 27.65 MB / 0.7113 GB, free: 68.15 MB / 458.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8187/3.221, allocations: 112.9 MB / 0.8216 GB, free: 87.43 MB / 458.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06182/3.283, allocations: 13.26 MB / 0.8345 GB, free: 85.92 MB / 458.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1185/3.401, allocations: 31.22 MB / 0.865 GB, free: 66.02 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/3.401, allocations: 81.31 kB / 0.8651 GB, free: 65.94 MB / 458.9 MB Notification: Performance of pre-optimization done (n=427): time 1.216e-05/3.401, allocations: 0 / 0.8651 GB, free: 65.94 MB / 458.9 MB Notification: Performance of matching and sorting (n=555): time 1.008/4.409, allocations: 119.7 MB / 0.982 GB, free: 169.5 MB / 490.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05307/4.462, allocations: 24.23 MB / 1.006 GB, free: 153.6 MB / 490.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02996/4.492, allocations: 9.912 MB / 1.015 GB, free: 148.7 MB / 490.9 MB Notification: Performance of collectPreVariables (initialization): time 0.002237/4.495, allocations: 111.8 kB / 1.015 GB, free: 148.6 MB / 490.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.009778/4.505, allocations: 8.909 MB / 1.024 GB, free: 140.4 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.005329/4.51, allocations: 2.139 MB / 1.026 GB, free: 138.3 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003602/4.514, allocations: 320 kB / 1.027 GB, free: 138 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 0.001767/4.515, allocations: 0.9838 MB / 1.028 GB, free: 137 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03039/4.546, allocations: 9.565 MB / 1.037 GB, free: 127.4 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02826/4.574, allocations: 18.76 MB / 1.055 GB, free: 104.4 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02815/4.602, allocations: 13.03 MB / 1.068 GB, free: 91.36 MB / 490.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002829/4.603, allocations: 92 kB / 1.068 GB, free: 91.27 MB / 490.9 MB Notification: Performance of matching and sorting (n=2084) (initialization): time 0.1145/4.717, allocations: 35.82 MB / 1.103 GB, free: 55.32 MB / 490.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002044/4.717, allocations: 144 kB / 1.103 GB, free: 55.18 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08254/4.8, allocations: 22.7 MB / 1.125 GB, free: 32.32 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3885/5.189, allocations: 9.912 MB / 1.135 GB, free: 149.3 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02995/5.219, allocations: 3.955 MB / 1.139 GB, free: 149.3 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08501/5.304, allocations: 49.9 MB / 1.188 GB, free: 123.3 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02684/5.331, allocations: 1.711 MB / 1.189 GB, free: 123 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004292/5.335, allocations: 0.9756 MB / 1.19 GB, free: 122.9 MB / 490.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1473 * Number of states: 0 () * Number of discrete variables: 69 (init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],init.arrowColor[3],init.arrowColor[2],init.arrowColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],universalSpherical1.cylinderColor[3],universalSpherical1.cylinderColor[2],universalSpherical1.cylinderColor[1],universalSpherical1.sphereColor[3],universalSpherical1.sphereColor[2],universalSpherical1.sphereColor[1],universalSpherical1.rodColor[3],universalSpherical1.rodColor[2],universalSpherical1.rodColor[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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],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],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (1949): * Single equations (assignments): 1922 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 9 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,93.8%) 8,(8,76.6%) 20,(1,100.0%) 3,(1,100.0%) 9,(4,87.5%) 6,(1,100.0%) 4} * Non-linear torn systems: 3 {3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.01758/5.353, allocations: 6.264 MB / 1.196 GB, free: 118.1 MB / 490.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003246/5.356, allocations: 0.8682 MB / 1.197 GB, free: 117.7 MB / 490.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1142/5.47, allocations: 28.06 MB / 1.225 GB, free: 90.11 MB / 490.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1131/5.583, allocations: 26.21 MB / 1.25 GB, free: 63.87 MB / 490.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001865/5.583, allocations: 21.09 kB / 1.25 GB, free: 63.85 MB / 490.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001932/5.584, allocations: 27.89 kB / 1.25 GB, free: 63.82 MB / 490.9 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5421/6.126, allocations: 59.58 MB / 1.308 GB, free: 137.2 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001039/6.126, allocations: 2.094 kB / 1.308 GB, free: 137.2 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01157/6.137, allocations: 1.147 MB / 1.309 GB, free: 137.2 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.09023/6.228, allocations: 14.26 MB / 1.323 GB, free: 137.1 MB / 490.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002064/6.23, allocations: 172.1 kB / 1.324 GB, free: 137.1 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1286/6.359, allocations: 62.68 MB / 1.385 GB, free: 102.7 MB / 490.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05333/6.412, allocations: 23.98 MB / 1.408 GB, free: 78.22 MB / 490.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1381/6.55, allocations: 40.01 MB / 1.447 GB, free: 38.44 MB / 490.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01056/6.561, allocations: 2.525 MB / 1.45 GB, free: 36.26 MB / 490.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004811/6.566, allocations: 123.8 kB / 1.45 GB, free: 36.14 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01565/6.581, allocations: 0.8657 MB / 1.451 GB, free: 35.28 MB / 490.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005451/6.587, allocations: 420.1 kB / 1.451 GB, free: 34.87 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002002/6.589, allocations: 175.8 kB / 1.451 GB, free: 34.7 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.01576/6.605, allocations: 6.208 MB / 1.457 GB, free: 28.54 MB / 490.9 MB Notification: Performance of sort global known variables: time 7.82e-07/6.605, allocations: 0 / 1.457 GB, free: 28.54 MB / 490.9 MB Notification: Performance of remove unused functions: time 0.0254/6.63, allocations: 4.324 MB / 1.462 GB, free: 24.21 MB / 490.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 30 ($STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[6],$STATESET3.x[5],$STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$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],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (436): * Single equations (assignments): 421 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {3,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(4,87.5%) 6,(1,100.0%) 4,(4,93.8%) 8,(8,76.6%) 20,(7,93.9%) 12} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.5018/7.132, allocations: 41.06 MB / 1.502 GB, free: 132.3 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.05535/7.187, allocations: 23.77 MB / 1.525 GB, free: 122.6 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/7.187, allocations: 3.812 kB / 1.525 GB, free: 122.6 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 0.03096/7.218, allocations: 11.37 MB / 1.536 GB, free: 117.4 MB / 490.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01186/7.23, allocations: 1.299 MB / 1.537 GB, free: 116.9 MB / 490.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5354/7.766, allocations: 292.5 MB / 1.823 GB, free: 23.38 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02737/7.793, allocations: 9.469 MB / 1.832 GB, free: 22.3 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.02499/7.818, allocations: 5.092 MB / 1.837 GB, free: 21.89 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01707/7.835, allocations: 6.604 MB / 1.844 GB, free: 20.27 MB / 0.5263 GB Notification: Performance of SimCode: time 1.993e-06/7.835, allocations: 0 / 1.844 GB, free: 20.27 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.33/9.165, allocations: 287.2 MB / 2.124 GB, free: 150.9 MB / 0.5263 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/9.166, allocations: 218.7 kB / 2.124 GB, free: 150.7 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/21.48, allocations: 0 / 2.124 GB, free: 150.7 MB / 0.5263 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat