Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",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.02798/0.02798, allocations: 107.4 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.002529/0.002529, allocations: 182.6 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.051/2.051, allocations: 194.5 MB / 211.3 MB, free: 11.08 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.2798/0.2798, allocations: 40.04 MB / 296.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006385/0.0006387, allocations: 8 kB / 361.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.119, allocations: 54.87 MB / 416 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.3974/0.5164, allocations: 68.35 MB / 484.4 MB, free: 25.24 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04124/0.5577, allocations: 15.89 MB / 0.4885 GB, free: 14.4 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01565/0.5734, allocations: 358.9 kB / 0.4889 GB, free: 14.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01359/0.5871, allocations: 3.493 MB / 0.4923 GB, free: 13.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03806/0.6252, allocations: 9.968 MB / 0.502 GB, free: 8.477 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006922/0.6322, allocations: 1.146 MB / 0.5031 GB, free: 8.023 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.09902/0.7312, allocations: 33.4 MB / 0.5358 GB, free: 1.145 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01514/0.7464, allocations: 7.023 MB / 0.5426 GB, free: 10.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004932/0.7514, allocations: 1.725 MB / 0.5443 GB, free: 8.383 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004756/0.7562, allocations: 2.037 MB / 0.5463 GB, free: 6.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001198/0.7575, allocations: 184 kB / 0.5465 GB, free: 6.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003418/0.7609, allocations: 0.8701 MB / 0.5473 GB, free: 5.289 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004064/0.765, allocations: 2.303 MB / 0.5496 GB, free: 2.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.7671, allocations: 1.08 MB / 0.5506 GB, free: 1.891 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.7797, allocations: 7.391 MB / 0.5578 GB, free: 10.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7798, allocations: 0 / 0.5578 GB, free: 10.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.546e-06/0.7798, allocations: 3.938 kB / 0.5578 GB, free: 10.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003278/0.7801, allocations: 0 / 0.5578 GB, free: 10.48 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1493 * Number of variables: 1493 Notification: Performance of Generate backend data structure: time 0.0299/0.81, allocations: 6.92 MB / 0.5646 GB, free: 3.484 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.8101, allocations: 16.03 kB / 0.5646 GB, free: 3.469 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003078/0.8132, allocations: 0.7307 MB / 0.5653 GB, free: 2.727 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1516/0.9649, allocations: 12.14 MB / 0.5772 GB, free: 6.566 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02086/0.9858, allocations: 6.356 MB / 0.5834 GB, free: 148 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004807/0.9863, allocations: 317.4 kB / 0.5837 GB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001901/0.9882, allocations: 415.6 kB / 0.5841 GB, free: 15.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03778/1.026, allocations: 11.1 MB / 0.5949 GB, free: 3.758 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003588/1.026, allocations: 65.17 kB / 0.595 GB, free: 3.695 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00166/1.028, allocations: 175.9 kB / 0.5952 GB, free: 3.523 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003542/1.032, allocations: 1.499 MB / 0.5966 GB, free: 2.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03597/1.068, allocations: 9.313 MB / 0.6057 GB, free: 8.684 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3966/1.464, allocations: 44.66 MB / 0.6493 GB, free: 131.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08348/1.548, allocations: 7.958 MB / 0.6571 GB, free: 131 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03109/1.579, allocations: 12.87 MB / 0.6697 GB, free: 125.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.454e-05/1.579, allocations: 63.11 kB / 0.6697 GB, free: 125.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=283): time 6.723e-06/1.579, allocations: 0 / 0.6697 GB, free: 125.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=406): time 0.4263/2.005, allocations: 77.14 MB / 0.7451 GB, free: 73.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02672/2.032, allocations: 11.38 MB / 0.7562 GB, free: 61.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009312/2.042, allocations: 4.827 MB / 0.7609 GB, free: 56.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001517/2.043, allocations: 89.7 kB / 0.761 GB, free: 56.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003039/2.046, allocations: 2.958 MB / 0.7639 GB, free: 53.83 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00265/2.049, allocations: 1.412 MB / 0.7652 GB, free: 52.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008356/2.05, allocations: 104 kB / 0.7653 GB, free: 52.33 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003272/2.05, allocations: 0.5336 MB / 0.7659 GB, free: 51.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01036/2.061, allocations: 4.626 MB / 0.7704 GB, free: 47.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01228/2.073, allocations: 6.619 MB / 0.7768 GB, free: 39.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01307/2.086, allocations: 5.582 MB / 0.7823 GB, free: 34.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-05/2.086, allocations: 20 kB / 0.7823 GB, free: 34 MB / 490.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.06657/2.153, allocations: 18.97 MB / 0.8008 GB, free: 14.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.964e-05/2.153, allocations: 36 kB / 0.8009 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.638e-05/2.153, allocations: 64 kB / 0.8009 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04368/2.197, allocations: 8.791 MB / 0.8095 GB, free: 6.082 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007607/2.204, allocations: 1.01 MB / 0.8105 GB, free: 5.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5081/2.712, allocations: 52.23 MB / 0.8615 GB, free: 122.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01418/2.727, allocations: 0.4906 MB / 0.862 GB, free: 122.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002753/2.729, allocations: 283.6 kB / 0.8623 GB, free: 122.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 291 * Number of states: 0 () * Number of discrete variables: 54 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (512): * Single equations (assignments): 503 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,52.1%) 103,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.01072/2.74, allocations: 2.266 MB / 0.8645 GB, free: 121.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003049/2.743, allocations: 482.2 kB / 0.8649 GB, free: 121.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08197/2.825, allocations: 17.94 MB / 0.8825 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05925/2.885, allocations: 16.45 MB / 0.8985 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.541e-05/2.885, allocations: 26.5 kB / 0.8985 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.554e-05/2.885, allocations: 23.92 kB / 0.8986 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1319/3.017, allocations: 35.34 MB / 0.9331 GB, free: 68.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.884e-05/3.017, allocations: 4 kB / 0.9331 GB, free: 68.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004534/3.022, allocations: 459.2 kB / 0.9335 GB, free: 67.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04352/3.065, allocations: 8.791 MB / 0.9421 GB, free: 59.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001261/3.066, allocations: 76 kB / 0.9422 GB, free: 58.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1262/3.193, allocations: 50.8 MB / 0.9918 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3466/3.539, allocations: 10.17 MB / 1.002 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08084/3.62, allocations: 24.49 MB / 1.026 GB, free: 127.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00806/3.628, allocations: 1.457 MB / 1.027 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00303/3.631, allocations: 75.11 kB / 1.027 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01002/3.641, allocations: 384.9 kB / 1.027 GB, free: 126.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003663/3.645, allocations: 332.5 kB / 1.028 GB, free: 126.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001217/3.646, allocations: 98.83 kB / 1.028 GB, free: 126.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01135/3.658, allocations: 3.23 MB / 1.031 GB, free: 125.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.41e-07/3.658, allocations: 2.844 kB / 1.031 GB, free: 125.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01371/3.672, allocations: 2.015 MB / 1.033 GB, free: 125.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * 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 (217): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(11,54.5%) 97,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.1124/3.784, allocations: 25.94 MB / 1.058 GB, free: 115.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0322/3.816, allocations: 12.6 MB / 1.071 GB, free: 105.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/3.816, allocations: 4 kB / 1.071 GB, free: 105.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02174/3.838, allocations: 7.198 MB / 1.078 GB, free: 99.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007021/3.845, allocations: 0.7296 MB / 1.078 GB, free: 98.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05745/3.903, allocations: 67.88 MB / 1.145 GB, free: 29.03 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008248/3.911, allocations: 4.275 MB / 1.149 GB, free: 24.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007595/3.919, allocations: 1.617 MB / 1.15 GB, free: 23.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006465/3.925, allocations: 2.647 MB / 1.153 GB, free: 20.47 MB / 490.7 MB Notification: Performance of SimCode: time 1.172e-06/3.925, allocations: 0 / 1.153 GB, free: 20.47 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7578/4.683, allocations: 164.7 MB / 1.314 GB, free: 31.91 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/4.683, allocations: 228.8 kB / 1.314 GB, free: 31.66 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.74/12.42, allocations: 4 kB / 1.314 GB, free: 31.66 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat does not exist to compare? outputFormat=mat