Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.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.Universal,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Universal",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.01174/0.01174, allocations: 104.9 kB / 15.05 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.1.mo): time 0.001343/0.001342, allocations: 167.2 kB / 15.93 MB, free: 5.527 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.862/1.862, allocations: 170.9 MB / 187.6 MB, free: 0.8516 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.2967/0.2967, allocations: 38.1 MB / 265.1 MB, free: 3.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007997/0.0008, allocations: 15.94 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1151, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.05762/0.1727, allocations: 34.57 MB / 406.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02637/0.1992, allocations: 8.449 MB / 415.3 MB, free: 1.703 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008512/0.2078, allocations: 163.6 kB / 415.5 MB, free: 1.543 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006869/0.2147, allocations: 1.777 MB / 417.2 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02092/0.2357, allocations: 5.127 MB / 422.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.2391, allocations: 475.2 kB / 422.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006213/0.2454, allocations: 2.221 MB / 425.1 MB, free: 7.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007381/0.2528, allocations: 3.17 MB / 428.2 MB, free: 4.703 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002928/0.2558, allocations: 1.004 MB / 429.2 MB, free: 3.695 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003457/0.2593, allocations: 1.359 MB / 430.6 MB, free: 2.332 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001154/0.2606, allocations: 156 kB / 430.7 MB, free: 2.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003032/0.2636, allocations: 0.7958 MB / 431.5 MB, free: 1.383 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.3121/0.5757, allocations: 1.564 MB / 433.1 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002187/0.578, allocations: 0.8748 MB / 434 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.5885, allocations: 5.63 MB / 439.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5886, allocations: 1.125 kB / 439.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.5886, allocations: 0 / 439.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003406/0.589, allocations: 0 / 439.6 MB, free: 13.42 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1761 * Number of variables: 1761 Notification: Performance of Generate backend data structure: time 0.01761/0.6066, allocations: 4.257 MB / 443.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.6067, allocations: 11.03 kB / 443.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003994/0.6107, allocations: 0.8139 MB / 444.7 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02481/0.6355, allocations: 3.79 MB / 448.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/0.6462, allocations: 2.416 MB / 450.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005413/0.6468, allocations: 239.8 kB / 451.1 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003011/0.6498, allocations: 307.1 kB / 451.4 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04511/0.695, allocations: 12.22 MB / 463.7 MB, free: 7.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002438/0.6953, allocations: 30.72 kB / 463.7 MB, free: 7.316 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002381/0.6977, allocations: 149.2 kB / 463.8 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009742/0.7074, allocations: 2.717 MB / 466.5 MB, free: 6.715 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03828/0.7458, allocations: 11.45 MB / 478 MB, free: 1.102 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1025/0.8484, allocations: 41.14 MB / 0.507 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02226/0.8707, allocations: 6.16 MB / 0.513 GB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003142/0.8739, allocations: 1.891 MB / 0.5148 GB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.889e-05/0.874, allocations: 60.5 kB / 0.5149 GB, free: 4.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=262): time 7.784e-06/0.874, allocations: 4 kB / 0.5149 GB, free: 4.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=283): time 0.09986/0.9739, allocations: 21.06 MB / 0.5355 GB, free: 15.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/0.974, allocations: 81.41 kB / 0.5355 GB, free: 15.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008217/0.9823, allocations: 3.129 MB / 0.5386 GB, free: 11.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000935/0.9833, allocations: 68.52 kB / 0.5387 GB, free: 11.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003678/0.987, allocations: 2.989 MB / 0.5416 GB, free: 8.871 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002325/0.9893, allocations: 1.019 MB / 0.5426 GB, free: 7.859 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000823/0.9902, allocations: 123.5 kB / 0.5427 GB, free: 7.742 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006182/0.9908, allocations: 0.5622 MB / 0.5432 GB, free: 7.172 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008776/0.9996, allocations: 2.825 MB / 0.546 GB, free: 4.344 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01273/1.012, allocations: 5.997 MB / 0.5519 GB, free: 12.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0118/1.024, allocations: 4.091 MB / 0.5559 GB, free: 8.855 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/1.024, allocations: 32 kB / 0.5559 GB, free: 8.824 MB / 426.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.03386/1.058, allocations: 9.988 MB / 0.5656 GB, free: 15.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/1.059, allocations: 52 kB / 0.5657 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001941/1.059, allocations: 108 kB / 0.5658 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007189/1.066, allocations: 1.381 MB / 0.5671 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01/1.076, allocations: 1.369 MB / 0.5685 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/1.095, allocations: 7.683 MB / 0.576 GB, free: 4.953 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007535/1.103, allocations: 379.7 kB / 0.5763 GB, free: 4.582 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002045/1.105, allocations: 338.8 kB / 0.5767 GB, free: 4.254 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 504 * Number of states: 0 () * Number of discrete variables: 27 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[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 (721): * Single equations (assignments): 714 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008351/1.113, allocations: 2.297 MB / 0.5789 GB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009358/1.114, allocations: 300.1 kB / 0.5792 GB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0242/1.139, allocations: 6.616 MB / 0.5857 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001442/1.139, allocations: 48 kB / 0.5857 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/1.139, allocations: 11.98 kB / 0.5857 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.016e-05/1.139, allocations: 15.91 kB / 0.5857 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.355/1.494, allocations: 14 MB / 0.5994 GB, free: 168.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.164e-05/1.494, allocations: 5.75 kB / 0.5994 GB, free: 168.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004628/1.499, allocations: 455.8 kB / 0.5998 GB, free: 168.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006528/1.505, allocations: 1.211 MB / 0.601 GB, free: 168.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009003/1.506, allocations: 52.06 kB / 0.6011 GB, free: 168.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01446/1.521, allocations: 6.727 MB / 0.6076 GB, free: 166.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/1.521, allocations: 11.53 kB / 0.6076 GB, free: 166.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02598/1.547, allocations: 10.44 MB / 0.6178 GB, free: 161.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003341/1.55, allocations: 0.8285 MB / 0.6186 GB, free: 161.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001443/1.552, allocations: 51.09 kB / 0.6187 GB, free: 161.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004001/1.556, allocations: 191.5 kB / 0.6189 GB, free: 161.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001312/1.557, allocations: 168.7 kB / 0.619 GB, free: 161.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004236/1.557, allocations: 78.47 kB / 0.6191 GB, free: 161.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005124/1.563, allocations: 1.936 MB / 0.621 GB, free: 160.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.063e-06/1.563, allocations: 0 / 0.621 GB, free: 160.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008663/1.571, allocations: 1.147 MB / 0.6221 GB, free: 160.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (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 (218): * Single equations (assignments): 211 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02771/1.599, allocations: 12.85 MB / 0.6347 GB, free: 150 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01676/1.616, allocations: 6.859 MB / 0.6414 GB, free: 143.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/1.616, allocations: 0 / 0.6414 GB, free: 143.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007717/1.624, allocations: 2.849 MB / 0.6441 GB, free: 140.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00377/1.627, allocations: 347.5 kB / 0.6445 GB, free: 140.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1119/1.739, allocations: 112.3 MB / 0.7541 GB, free: 24.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0087/1.748, allocations: 3.668 MB / 0.7577 GB, free: 21.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01057/1.759, allocations: 2.2 MB / 0.7599 GB, free: 18.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007326/1.766, allocations: 2.085 MB / 0.7619 GB, free: 16.82 MB / 458.7 MB Notification: Performance of SimCode: time 1.994e-06/1.766, allocations: 0 / 0.7619 GB, free: 16.82 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5036/2.27, allocations: 79.79 MB / 0.8398 GB, free: 122.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/2.27, allocations: 187.4 kB / 0.84 GB, free: 121.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.11/7.38, allocations: 0 / 0.84 GB, free: 121.8 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat