Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",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.01621/0.01621, allocations: 106.7 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.001964/0.001964, allocations: 181.7 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.04/2.04, allocations: 194.5 MB / 211.2 MB, free: 11.07 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.2888/0.2888, allocations: 40.04 MB / 296.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007097/0.0007099, allocations: 19.98 kB / 361.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1537, allocations: 54.86 MB / 416 MB, free: 9.02 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.3671/0.5209, allocations: 34.14 MB / 450.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02716/0.5481, allocations: 8.8 MB / 459 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009961/0.5582, allocations: 163.6 kB / 459.1 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00758/0.5658, allocations: 1.713 MB / 460.8 MB, free: 6.328 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02361/0.5895, allocations: 5.028 MB / 465.9 MB, free: 2.984 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003923/0.5935, allocations: 0.5693 MB / 466.4 MB, free: 2.617 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02864/0.6222, allocations: 9.397 MB / 475.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008019/0.6302, allocations: 3.652 MB / 479.5 MB, free: 6.719 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/0.6327, allocations: 0.903 MB / 480.4 MB, free: 5.812 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003032/0.6358, allocations: 1.219 MB / 481.6 MB, free: 4.59 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009834/0.6368, allocations: 132 kB / 481.7 MB, free: 4.461 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003202/0.64, allocations: 0.9441 MB / 482.7 MB, free: 3.516 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002708/0.6428, allocations: 1.391 MB / 484.1 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0016/0.6445, allocations: 0.7727 MB / 484.8 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009403/0.6539, allocations: 5.251 MB / 490.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.654, allocations: 4 kB / 490.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.654, allocations: 0 / 490.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002262/0.6542, allocations: 0 / 490.1 MB, free: 12.07 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01494/0.6692, allocations: 3.938 MB / 494 MB, free: 8.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.6692, allocations: 12.03 kB / 494 MB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002437/0.6717, allocations: 0.6616 MB / 494.7 MB, free: 7.387 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04886/0.7206, allocations: 4.937 MB / 499.6 MB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008684/0.7293, allocations: 2.604 MB / 0.4905 GB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003006/0.7297, allocations: 205.2 kB / 0.4907 GB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/0.7313, allocations: 275.8 kB / 0.4909 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02641/0.7577, allocations: 9.329 MB / 0.5 GB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001932/0.758, allocations: 43.59 kB / 0.5001 GB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007501/0.7587, allocations: 131.9 kB / 0.5002 GB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004936/0.7637, allocations: 1.802 MB / 0.502 GB, free: 3.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02567/0.7894, allocations: 8.106 MB / 0.5099 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0688/0.8583, allocations: 36.07 MB / 0.5451 GB, free: 6.121 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/0.8721, allocations: 3.708 MB / 0.5487 GB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006611/0.8728, allocations: 340.2 kB / 0.5491 GB, free: 1.879 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.456e-05/0.8729, allocations: 51.5 kB / 0.5491 GB, free: 1.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=156): time 5.38e-06/0.8729, allocations: 0 / 0.5491 GB, free: 1.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=177): time 0.07004/0.943, allocations: 16 MB / 0.5647 GB, free: 1.625 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.9432, allocations: 175.2 kB / 0.5649 GB, free: 1.418 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008844/0.952, allocations: 3.733 MB / 0.5685 GB, free: 13.69 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005691/0.9527, allocations: 49.7 kB / 0.5686 GB, free: 13.63 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003348/0.956, allocations: 2.807 MB / 0.5713 GB, free: 10.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001364/0.9574, allocations: 0.6749 MB / 0.572 GB, free: 10.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006203/0.9581, allocations: 104 kB / 0.5721 GB, free: 10 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004775/0.9586, allocations: 0.5452 MB / 0.5726 GB, free: 9.449 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00605/0.9646, allocations: 2.154 MB / 0.5747 GB, free: 7.289 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009377/0.9741, allocations: 5.455 MB / 0.58 GB, free: 172 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008866/0.983, allocations: 3.38 MB / 0.5833 GB, free: 12.79 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/0.9832, allocations: 36 kB / 0.5834 GB, free: 12.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.02536/1.009, allocations: 8.208 MB / 0.5914 GB, free: 4.535 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00012/1.009, allocations: 55.95 kB / 0.5914 GB, free: 4.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002156/1.009, allocations: 120.8 kB / 0.5916 GB, free: 4.363 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004438/1.013, allocations: 0.9919 MB / 0.5925 GB, free: 3.367 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008253/1.022, allocations: 1.259 MB / 0.5938 GB, free: 2.105 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3366/1.358, allocations: 6.625 MB / 0.6002 GB, free: 148.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006023/1.364, allocations: 322.5 kB / 0.6005 GB, free: 148.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/1.366, allocations: 332.2 kB / 0.6009 GB, free: 148.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 533 * Number of states: 0 () * Number of discrete variables: 21 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[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 (668): * Single equations (assignments): 664 * Array equations: 3 * 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%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005257/1.371, allocations: 1.963 MB / 0.6028 GB, free: 147.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008806/1.372, allocations: 320.6 kB / 0.6031 GB, free: 147.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/1.384, allocations: 3.553 MB / 0.6065 GB, free: 146.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.809e-05/1.384, allocations: 20.69 kB / 0.6066 GB, free: 146.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.501e-05/1.384, allocations: 8.062 kB / 0.6066 GB, free: 146.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.248e-05/1.384, allocations: 8.969 kB / 0.6066 GB, free: 146.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02757/1.411, allocations: 8.67 MB / 0.6151 GB, free: 143.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.464e-05/1.412, allocations: 3.375 kB / 0.6151 GB, free: 143.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002876/1.414, allocations: 270.9 kB / 0.6153 GB, free: 143.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003763/1.418, allocations: 0.803 MB / 0.6161 GB, free: 143 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004811/1.419, allocations: 31.45 kB / 0.6161 GB, free: 143 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/1.432, allocations: 6.16 MB / 0.6221 GB, free: 139.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/1.432, allocations: 1.969 kB / 0.6221 GB, free: 139.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/1.447, allocations: 6.439 MB / 0.6284 GB, free: 137.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002404/1.45, allocations: 0.6698 MB / 0.6291 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009042/1.451, allocations: 33.52 kB / 0.6291 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003051/1.454, allocations: 107.8 kB / 0.6292 GB, free: 136.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007479/1.455, allocations: 97.02 kB / 0.6293 GB, free: 136.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002133/1.455, allocations: 43.78 kB / 0.6294 GB, free: 136.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005585/1.46, allocations: 2.354 MB / 0.6317 GB, free: 135.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.46, allocations: 0 / 0.6317 GB, free: 135.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006801/1.467, allocations: 0.9516 MB / 0.6326 GB, free: 135.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (137): * Single equations (assignments): 133 * Array equations: 3 * 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%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01703/1.484, allocations: 7.272 MB / 0.6397 GB, free: 131.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01201/1.496, allocations: 5.228 MB / 0.6448 GB, free: 126 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.496, allocations: 0 / 0.6448 GB, free: 126 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005419/1.502, allocations: 1.952 MB / 0.6467 GB, free: 124 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/1.505, allocations: 360.4 kB / 0.647 GB, free: 123.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09689/1.602, allocations: 112.8 MB / 0.7572 GB, free: 7.035 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005875/1.608, allocations: 3.129 MB / 0.7602 GB, free: 3.875 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007936/1.616, allocations: 1.808 MB / 0.762 GB, free: 2.066 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004622/1.621, allocations: 1.727 MB / 0.7637 GB, free: 348 kB / 474.7 MB Notification: Performance of SimCode: time 3.035e-06/1.621, allocations: 0 / 0.7637 GB, free: 348 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4779/2.099, allocations: 74.09 MB / 0.836 GB, free: 127.5 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/2.099, allocations: 228.1 kB / 0.8363 GB, free: 127.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.093/7.192, allocations: 0 / 0.8363 GB, free: 127.3 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat does not exist to compare? outputFormat=mat