Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 117.9 kB / 17.84 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001485/0.001485, allocations: 199.5 kB / 18.79 MB, free: 4.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.434/1.434, allocations: 230.4 MB / 250 MB, free: 9.051 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002867/0.002867, allocations: 67.83 kB / 366.9 MB, free: 7.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3099, allocations: 53.31 MB / 420.2 MB, free: 8.273 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.02203/0.3319, allocations: 18.77 MB / 438.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01631/0.3482, allocations: 6.174 MB / 445.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004125/0.3524, allocations: 143.6 kB / 445.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01097/0.3633, allocations: 6.094 MB / 451.3 MB, free: 8.973 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007259/0.3706, allocations: 2.607 MB / 454 MB, free: 6.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005636/0.3762, allocations: 2.416 MB / 456.4 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0105/0.3867, allocations: 6.651 MB / 463 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009108/0.3958, allocations: 6.574 MB / 469.6 MB, free: 6.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005434/0.4013, allocations: 2.843 MB / 472.4 MB, free: 3.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006431/0.4077, allocations: 3.774 MB / 476.2 MB, free: 15.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00226/0.41, allocations: 0.6328 MB / 476.8 MB, free: 15.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004908/0.4149, allocations: 1.904 MB / 478.7 MB, free: 13.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004702/0.4196, allocations: 3.397 MB / 482.1 MB, free: 10.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006782/0.4264, allocations: 3.737 MB / 485.9 MB, free: 6.266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01684/0.4432, allocations: 11.94 MB / 497.8 MB, free: 10.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4432, allocations: 0 / 497.8 MB, free: 10.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4432, allocations: 0 / 497.8 MB, free: 10.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003727/0.4436, allocations: 0 / 497.8 MB, free: 10.28 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2312 * Number of variables: 2312 Notification: Performance of Generate backend data structure: time 0.02263/0.4662, allocations: 8.47 MB / 0.4944 GB, free: 1.711 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.4663, allocations: 12.03 kB / 0.4944 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003383/0.4697, allocations: 1.115 MB / 0.4955 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008428/0.4781, allocations: 2.282 MB / 0.4978 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01009/0.4882, allocations: 4.561 MB / 0.5022 GB, free: 9.645 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004518/0.4886, allocations: 431 kB / 0.5026 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002408/0.491, allocations: 0.5739 MB / 0.5032 GB, free: 8.648 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03755/0.5286, allocations: 16.33 MB / 0.5191 GB, free: 7.418 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003234/0.5289, allocations: 63.5 kB / 0.5192 GB, free: 7.355 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00205/0.531, allocations: 263.8 kB / 0.5194 GB, free: 7.098 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004421/0.5354, allocations: 2.513 MB / 0.5219 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03205/0.5674, allocations: 13.98 MB / 0.5355 GB, free: 6.574 MB / 462.1 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.5004/1.068, allocations: 61.78 MB / 0.5959 GB, free: 64.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02049/1.088, allocations: 7.331 MB / 0.603 GB, free: 56.86 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004716/1.093, allocations: 3.646 MB / 0.6066 GB, free: 53.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02598/1.119, allocations: 16.68 MB / 0.6229 GB, free: 36.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/1.119, allocations: 64.5 kB / 0.6229 GB, free: 36.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=265): time 6.151e-06/1.119, allocations: 0 / 0.6229 GB, free: 36.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=331): time 0.1241/1.243, allocations: 42.78 MB / 0.6647 GB, free: 9.406 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02722/1.27, allocations: 16.7 MB / 0.681 GB, free: 8.141 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01196/1.282, allocations: 5.641 MB / 0.6865 GB, free: 2.629 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009529/1.283, allocations: 69.7 kB / 0.6866 GB, free: 2.555 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004543/1.288, allocations: 4.803 MB / 0.6913 GB, free: 13.98 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002253/1.29, allocations: 1.298 MB / 0.6926 GB, free: 12.67 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005829/1.296, allocations: 1.884 MB / 0.6944 GB, free: 10.77 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.296, allocations: 304.3 kB / 0.6947 GB, free: 10.47 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008025/1.304, allocations: 4.043 MB / 0.6986 GB, free: 6.422 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01309/1.317, allocations: 9.19 MB / 0.7076 GB, free: 10.69 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02089/1.338, allocations: 14.34 MB / 0.7216 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001994/1.338, allocations: 52 kB / 0.7217 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.04422/1.382, allocations: 17.29 MB / 0.7386 GB, free: 8.316 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002783/1.383, allocations: 84.94 kB / 0.7386 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003839/1.383, allocations: 180 kB / 0.7388 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0162/1.399, allocations: 4.566 MB / 0.7433 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007523/1.407, allocations: 1.988 MB / 0.7452 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.297/1.704, allocations: 36.37 MB / 0.7807 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00779/1.712, allocations: 0.5365 MB / 0.7813 GB, free: 165.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00159/1.713, allocations: 0.5587 MB / 0.7818 GB, free: 165.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 823 * Number of states: 0 () * Number of discrete variables: 62 (sensorConstraintRelative.arrow.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1041): * Single equations (assignments): 1028 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,33,100.0%), (2,19,100.0%), (2,13,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.00544/1.719, allocations: 3.18 MB / 0.7849 GB, free: 164.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/1.72, allocations: 0.5431 MB / 0.7854 GB, free: 164.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01875/1.739, allocations: 9.753 MB / 0.795 GB, free: 157.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.533e-05/1.739, allocations: 47.98 kB / 0.795 GB, free: 157.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01618/1.755, allocations: 8.34 MB / 0.8032 GB, free: 149.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.409e-05/1.755, allocations: 15.94 kB / 0.8032 GB, free: 149.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03677/1.792, allocations: 21.9 MB / 0.8246 GB, free: 127.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.804e-05/1.792, allocations: 4.547 kB / 0.8246 GB, free: 127.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002429/1.794, allocations: 462.6 kB / 0.825 GB, free: 127 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009857/1.804, allocations: 3.228 MB / 0.8281 GB, free: 123.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007199/1.805, allocations: 59.98 kB / 0.8282 GB, free: 123.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02933/1.834, allocations: 26.39 MB / 0.854 GB, free: 97.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0123/1.846, allocations: 10.76 MB / 0.8645 GB, free: 86.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02212/1.869, allocations: 13.6 MB / 0.8778 GB, free: 72.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/1.87, allocations: 0.58 MB / 0.8783 GB, free: 71.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001074/1.871, allocations: 63.94 kB / 0.8784 GB, free: 71.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003121/1.874, allocations: 211.7 kB / 0.8786 GB, free: 71.56 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008529/1.875, allocations: 221.5 kB / 0.8788 GB, free: 71.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002577/1.875, allocations: 91.92 kB / 0.8789 GB, free: 71.26 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004722/1.88, allocations: 3.506 MB / 0.8823 GB, free: 67.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/1.88, allocations: 0 / 0.8823 GB, free: 67.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008696/1.889, allocations: 1.939 MB / 0.8842 GB, free: 65.86 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.w) * 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 (210): * Single equations (assignments): 202 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,11,100.0%), (3,30,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02238/1.911, allocations: 14.32 MB / 0.8982 GB, free: 51.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01412/1.925, allocations: 10.25 MB / 0.9082 GB, free: 41.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.925, allocations: 0.5625 kB / 0.9082 GB, free: 41.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005368/1.93, allocations: 3.852 MB / 0.912 GB, free: 37.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00518/1.936, allocations: 0.8319 MB / 0.9128 GB, free: 36.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3557/2.291, allocations: 83.13 MB / 0.994 GB, free: 171 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006764/2.298, allocations: 4.864 MB / 0.9987 GB, free: 168.7 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006166/2.304, allocations: 2.718 MB / 1.001 GB, free: 166 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004286/2.309, allocations: 3.092 MB / 1.004 GB, free: 162.9 MB / 0.5607 GB Notification: Performance of SimCode: time 1.593e-06/2.309, allocations: 4 kB / 1.004 GB, free: 162.9 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2076/2.516, allocations: 140.8 MB / 1.142 GB, free: 22.91 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.93/29.45, allocations: 15.94 kB / 1.142 GB, free: 22.9 MB / 0.5607 GB (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1)