Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.769/1.769, allocations: 171.2 MB / 186.1 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.000377, allocations: 12 kB / 233.4 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08842/0.08884, allocations: 38.77 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4006/0.4895, allocations: 101.1 MB / 373.3 MB, free: 4.168 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/0.4899, allocations: 89.52 kB / 373.4 MB, free: 4.121 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7317/1.222, allocations: 127.2 MB / 0.4888 GB, free: 62.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.486e-06/1.222, allocations: 0 / 0.4888 GB, free: 62.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004834/1.222, allocations: 146 kB / 0.489 GB, free: 61.94 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2354 * Number of variables: 2354 Notification: Performance of Generate backend data structure: time 0.03725/1.259, allocations: 7.537 MB / 0.4963 GB, free: 54.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/1.26, allocations: 8.031 kB / 0.4963 GB, free: 54.36 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005939/1.265, allocations: 1.187 MB / 0.4975 GB, free: 53.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02144/1.287, allocations: 2.768 MB / 0.5002 GB, free: 50.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02644/1.313, allocations: 7.528 MB / 0.5076 GB, free: 42.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005725/1.314, allocations: 0.5134 MB / 0.5081 GB, free: 42.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003855/1.318, allocations: 0.6911 MB / 0.5087 GB, free: 41.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05294/1.371, allocations: 17.26 MB / 0.5256 GB, free: 23.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004316/1.371, allocations: 79.28 kB / 0.5257 GB, free: 23.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003245/1.375, allocations: 327.9 kB / 0.526 GB, free: 22.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003372/1.378, allocations: 1.495 MB / 0.5274 GB, free: 21.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04573/1.424, allocations: 14.53 MB / 0.5416 GB, free: 6.695 MB / 346.7 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.3832/1.807, allocations: 73.19 MB / 0.6131 GB, free: 28.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03683/1.844, allocations: 7.634 MB / 0.6206 GB, free: 26.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04069/1.885, allocations: 15.91 MB / 0.6361 GB, free: 18.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.572e-05/1.885, allocations: 66.73 kB / 0.6362 GB, free: 18.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=261): time 7.484e-06/1.885, allocations: 0 / 0.6362 GB, free: 18.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=335): time 0.2741/2.159, allocations: 45.75 MB / 0.6808 GB, free: 6.117 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3161/2.475, allocations: 16.09 MB / 0.6966 GB, free: 84.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01527/2.491, allocations: 5.077 MB / 0.7015 GB, free: 84.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001077/2.492, allocations: 80.28 kB / 0.7016 GB, free: 84.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004458/2.496, allocations: 4.73 MB / 0.7062 GB, free: 82.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002355/2.499, allocations: 1.256 MB / 0.7074 GB, free: 81.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/2.5, allocations: 184.2 kB / 0.7076 GB, free: 81.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0007518/2.501, allocations: 0.6903 MB / 0.7083 GB, free: 81.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01077/2.512, allocations: 4.109 MB / 0.7123 GB, free: 81.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0143/2.526, allocations: 9.311 MB / 0.7214 GB, free: 74.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01421/2.54, allocations: 6.054 MB / 0.7273 GB, free: 72.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000209/2.54, allocations: 50.12 kB / 0.7273 GB, free: 72.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.0649/2.605, allocations: 17.94 MB / 0.7449 GB, free: 66.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/2.606, allocations: 85.47 kB / 0.745 GB, free: 66.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003109/2.606, allocations: 184.3 kB / 0.7451 GB, free: 66.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03041/2.636, allocations: 4.996 MB / 0.75 GB, free: 65.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01317/2.65, allocations: 1.998 MB / 0.752 GB, free: 65.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08173/2.731, allocations: 38.29 MB / 0.7893 GB, free: 35.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01269/2.744, allocations: 0.5494 MB / 0.7899 GB, free: 34.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002635/2.747, allocations: 0.5612 MB / 0.7904 GB, free: 34.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * Number of states: 0 () * Number of discrete variables: 57 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1047): * Single equations (assignments): 1036 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.01084/2.758, allocations: 3.248 MB / 0.7936 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002098/2.76, allocations: 0.5245 MB / 0.7941 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04167/2.802, allocations: 10.48 MB / 0.8044 GB, free: 21.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001079/2.802, allocations: 45.23 kB / 0.8044 GB, free: 21.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03648/2.838, allocations: 9.563 MB / 0.8137 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001087/2.838, allocations: 19.94 kB / 0.8138 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3751/3.213, allocations: 23.5 MB / 0.8367 GB, free: 71.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.309e-05/3.214, allocations: 5.594 kB / 0.8367 GB, free: 71.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004903/3.219, allocations: 453 kB / 0.8371 GB, free: 71.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0229/3.241, allocations: 3.687 MB / 0.8407 GB, free: 71.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001246/3.243, allocations: 73.36 kB / 0.8408 GB, free: 71.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07426/3.317, allocations: 28.22 MB / 0.8684 GB, free: 62.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03066/3.348, allocations: 12.66 MB / 0.8807 GB, free: 55.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05024/3.398, allocations: 15.14 MB / 0.8955 GB, free: 49.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005069/3.403, allocations: 1.151 MB / 0.8966 GB, free: 49.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002525/3.406, allocations: 58.2 kB / 0.8967 GB, free: 49.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007131/3.413, allocations: 227.9 kB / 0.8969 GB, free: 49.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001842/3.415, allocations: 242.3 kB / 0.8972 GB, free: 49.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001017/3.416, allocations: 96.73 kB / 0.8972 GB, free: 49.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01035/3.426, allocations: 3.552 MB / 0.9007 GB, free: 47.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.182e-06/3.426, allocations: 0 / 0.9007 GB, free: 47.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01416/3.441, allocations: 2.025 MB / 0.9027 GB, free: 45.94 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,bodyOfJoint.body.w_a[2]) * 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 (204): * Single equations (assignments): 196 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.05079/3.491, allocations: 16.99 MB / 0.9193 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02629/3.518, allocations: 10.81 MB / 0.9298 GB, free: 21.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/3.518, allocations: 0 / 0.9298 GB, free: 21.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01057/3.528, allocations: 4.216 MB / 0.934 GB, free: 18.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007476/3.536, allocations: 0.7552 MB / 0.9347 GB, free: 17.54 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Joints.mo:260:5-270:3:writable] Warning: Variable joint.phi has attribute stateSelect=StateSelect.never, but was selected as a state Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5162/4.052, allocations: 191.7 MB / 1.122 GB, free: 11.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01422/4.067, allocations: 5.107 MB / 1.127 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01499/4.082, allocations: 2.743 MB / 1.13 GB, free: 10.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008554/4.09, allocations: 3.1 MB / 1.133 GB, free: 10.42 MB / 458.7 MB Notification: Performance of SimCode: time 2.054e-06/4.09, allocations: 0 / 1.133 GB, free: 10.42 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6709/4.761, allocations: 152.8 MB / 1.282 GB, free: 75.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/4.761, allocations: 241.7 kB / 1.282 GB, free: 75.25 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.588/13.35, allocations: 0 / 1.282 GB, free: 75.25 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat does not exist to compare? outputFormat=mat