Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal.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.Universal,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01094/0.01094, allocations: 104.3 kB / 15.06 MB, free: 6.027 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.001209/0.001209, allocations: 182.4 kB / 15.95 MB, free: 5.953 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.088/2.088, allocations: 194.6 MB / 211.3 MB, free: 11.1 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.2938/0.2938, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006398/0.0006401, allocations: 12 kB / 361.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1243, allocations: 54.87 MB / 416 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.3824/0.5068, allocations: 34.6 MB / 450.6 MB, free: 30.58 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02267/0.5295, allocations: 8.468 MB / 459.1 MB, free: 30.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007597/0.5372, allocations: 162.6 kB / 459.2 MB, free: 30.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00627/0.5435, allocations: 1.787 MB / 461 MB, free: 30.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02103/0.5646, allocations: 5.117 MB / 466.1 MB, free: 29.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003269/0.5679, allocations: 472.6 kB / 466.6 MB, free: 29.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006536/0.5745, allocations: 2.216 MB / 468.8 MB, free: 29.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006927/0.5815, allocations: 3.183 MB / 472 MB, free: 29.44 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002685/0.5843, allocations: 1 MB / 473 MB, free: 29.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003146/0.5875, allocations: 1.366 MB / 474.4 MB, free: 29.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001263/0.5888, allocations: 156.9 kB / 474.5 MB, free: 29.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.592, allocations: 0.8045 MB / 475.3 MB, free: 29.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002817/0.5949, allocations: 1.555 MB / 476.9 MB, free: 28.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001809/0.5968, allocations: 0.8785 MB / 477.8 MB, free: 28.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.6089, allocations: 5.636 MB / 483.4 MB, free: 28.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.609, allocations: 0 / 483.4 MB, free: 28.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.609, allocations: 0 / 483.4 MB, free: 28.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003192/0.6094, allocations: 2.062 kB / 483.4 MB, free: 28.24 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: 1763 * Number of variables: 1763 Notification: Performance of Generate backend data structure: time 0.03169/0.6411, allocations: 4.271 MB / 487.7 MB, free: 26.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/0.6412, allocations: 9.812 kB / 487.7 MB, free: 26.31 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01436/0.6555, allocations: 0.8167 MB / 488.5 MB, free: 26.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03487/0.6905, allocations: 3.787 MB / 492.3 MB, free: 24.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009509/0.7, allocations: 2.412 MB / 494.7 MB, free: 23.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004121/0.7005, allocations: 237.9 kB / 494.9 MB, free: 23.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002517/0.703, allocations: 315.6 kB / 495.2 MB, free: 23.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03889/0.742, allocations: 12.23 MB / 0.4956 GB, free: 19.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002801/0.7423, allocations: 37.03 kB / 0.4956 GB, free: 19.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002505/0.7448, allocations: 145.1 kB / 0.4957 GB, free: 19.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007655/0.7525, allocations: 2.715 MB / 0.4984 GB, free: 18.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03505/0.7876, allocations: 11.46 MB / 0.5096 GB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09621/0.8839, allocations: 41.16 MB / 0.5498 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02244/0.9064, allocations: 6.163 MB / 0.5558 GB, free: 8.621 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002913/0.9094, allocations: 1.891 MB / 0.5576 GB, free: 6.414 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.979e-05/0.9095, allocations: 52.56 kB / 0.5577 GB, free: 6.352 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 8.516e-06/0.9096, allocations: 0 / 0.5577 GB, free: 6.352 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.101/1.011, allocations: 21.07 MB / 0.5783 GB, free: 1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/1.011, allocations: 82.61 kB / 0.5783 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008379/1.019, allocations: 3.124 MB / 0.5814 GB, free: 13.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001017/1.02, allocations: 68.84 kB / 0.5815 GB, free: 13.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003623/1.024, allocations: 2.995 MB / 0.5844 GB, free: 10.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002614/1.027, allocations: 1.02 MB / 0.5854 GB, free: 9.703 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001088/1.028, allocations: 116 kB / 0.5855 GB, free: 9.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007281/1.028, allocations: 0.5661 MB / 0.5861 GB, free: 9.016 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009073/1.038, allocations: 2.82 MB / 0.5888 GB, free: 6.191 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01267/1.05, allocations: 5.997 MB / 0.5947 GB, free: 14.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/1.062, allocations: 4.091 MB / 0.5987 GB, free: 10.55 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001206/1.062, allocations: 32 kB / 0.5987 GB, free: 10.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.03496/1.097, allocations: 9.99 MB / 0.6084 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/1.097, allocations: 52 kB / 0.6085 GB, free: 472 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002246/1.098, allocations: 112 kB / 0.6086 GB, free: 360 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007343/1.105, allocations: 1.376 MB / 0.6099 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01011/1.115, allocations: 1.372 MB / 0.6113 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01963/1.135, allocations: 7.676 MB / 0.6188 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007785/1.143, allocations: 378.2 kB / 0.6191 GB, free: 5.414 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001992/1.145, allocations: 340 kB / 0.6195 GB, free: 5.082 MB / 490.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.009289/1.154, allocations: 2.292 MB / 0.6217 GB, free: 2.777 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001538/1.156, allocations: 304.1 kB / 0.622 GB, free: 2.477 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3696/1.525, allocations: 6.61 MB / 0.6284 GB, free: 152.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000127/1.526, allocations: 54.61 kB / 0.6285 GB, free: 152.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/1.526, allocations: 6.188 kB / 0.6285 GB, free: 152.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-05/1.526, allocations: 13.64 kB / 0.6285 GB, free: 152.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04528/1.571, allocations: 13.99 MB / 0.6422 GB, free: 149.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.75e-05/1.571, allocations: 9.781 kB / 0.6422 GB, free: 149.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004469/1.576, allocations: 457.9 kB / 0.6426 GB, free: 149.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006559/1.582, allocations: 1.212 MB / 0.6438 GB, free: 149.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009793/1.583, allocations: 57.36 kB / 0.6439 GB, free: 149.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01593/1.599, allocations: 6.723 MB / 0.6504 GB, free: 146.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.18e-05/1.599, allocations: 6.875 kB / 0.6504 GB, free: 146.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03146/1.631, allocations: 10.44 MB / 0.6606 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003702/1.634, allocations: 0.8259 MB / 0.6614 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001812/1.636, allocations: 46.19 kB / 0.6615 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004352/1.641, allocations: 195.9 kB / 0.6617 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001487/1.642, allocations: 161.1 kB / 0.6618 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009087/1.643, allocations: 78.89 kB / 0.6619 GB, free: 141.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006042/1.649, allocations: 1.94 MB / 0.6638 GB, free: 140.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.332e-06/1.649, allocations: 0 / 0.6638 GB, free: 140.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008719/1.658, allocations: 1.152 MB / 0.6649 GB, free: 140.7 MB / 490.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.03789/1.696, allocations: 12.84 MB / 0.6775 GB, free: 134.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02249/1.719, allocations: 6.855 MB / 0.6842 GB, free: 129.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.817e-05/1.719, allocations: 0 / 0.6842 GB, free: 129.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01021/1.729, allocations: 2.849 MB / 0.6869 GB, free: 126.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004463/1.733, allocations: 361.6 kB / 0.6873 GB, free: 126.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1129/1.846, allocations: 112.3 MB / 0.797 GB, free: 11.31 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008023/1.855, allocations: 3.669 MB / 0.8005 GB, free: 7.613 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01018/1.865, allocations: 2.201 MB / 0.8027 GB, free: 5.414 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005659/1.87, allocations: 2.081 MB / 0.8047 GB, free: 3.332 MB / 490.7 MB Notification: Performance of SimCode: time 2.154e-06/1.871, allocations: 4 kB / 0.8047 GB, free: 3.328 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5119/2.382, allocations: 79.81 MB / 0.8827 GB, free: 110.2 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002839/2.383, allocations: 195.3 kB / 0.8829 GB, free: 109.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.871/7.254, allocations: 2.844 kB / 0.8829 GB, free: 109.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat