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.001441/0.001441, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 200.7 kB / 18.74 MB, free: 4.184 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.418/1.418, allocations: 227.7 MB / 247.2 MB, free: 10.16 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.001947/0.001947, allocations: 67.91 kB / 358.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2938, allocations: 50.54 MB / 409.1 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.02205/0.3159, allocations: 18.69 MB / 427.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01625/0.3322, allocations: 6.147 MB / 433.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005032/0.3374, allocations: 143.6 kB / 434 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01237/0.3498, allocations: 6.028 MB / 440.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008102/0.358, allocations: 2.536 MB / 442.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005839/0.3638, allocations: 2.385 MB / 445 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01117/0.375, allocations: 6.65 MB / 451.6 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.011/0.3861, allocations: 8.072 MB / 459.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006002/0.3921, allocations: 2.84 MB / 462.6 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006639/0.3988, allocations: 3.505 MB / 466.1 MB, free: 8.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002654/0.4015, allocations: 0.6328 MB / 466.7 MB, free: 7.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006607/0.4082, allocations: 1.834 MB / 468.5 MB, free: 5.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005672/0.4139, allocations: 3.273 MB / 471.8 MB, free: 2.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00769/0.4217, allocations: 3.73 MB / 475.5 MB, free: 14.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01802/0.4397, allocations: 11.93 MB / 487.5 MB, free: 2.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.978e-06/0.4398, allocations: 0 / 487.5 MB, free: 2.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.06e-06/0.4398, allocations: 0 / 487.5 MB, free: 2.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005618/0.4404, allocations: 3.938 kB / 487.5 MB, free: 2.602 MB / 398.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.02692/0.4673, allocations: 8.474 MB / 495.9 MB, free: 10.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/0.4674, allocations: 8.031 kB / 495.9 MB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003811/0.4712, allocations: 1.119 MB / 497.1 MB, free: 8.895 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009759/0.481, allocations: 2.293 MB / 499.4 MB, free: 6.594 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/0.4916, allocations: 4.553 MB / 0.4921 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005027/0.4922, allocations: 435 kB / 0.4925 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002663/0.4949, allocations: 0.5661 MB / 0.4931 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04057/0.5354, allocations: 16.34 MB / 0.509 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004447/0.536, allocations: 55.58 kB / 0.5091 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002701/0.5387, allocations: 267.8 kB / 0.5093 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005229/0.5439, allocations: 2.513 MB / 0.5118 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03323/0.5772, allocations: 13.98 MB / 0.5254 GB, free: 14.89 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.5082/1.085, allocations: 61.79 MB / 0.5858 GB, free: 76.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0203/1.106, allocations: 7.584 MB / 0.5932 GB, free: 68.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004731/1.111, allocations: 3.928 MB / 0.597 GB, free: 64.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0238/1.134, allocations: 16.67 MB / 0.6133 GB, free: 47.88 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/1.135, allocations: 61.17 kB / 0.6134 GB, free: 47.81 MB / 462.1 MB Notification: Performance of pre-optimization done (n=265): time 6.091e-06/1.135, allocations: 0 / 0.6134 GB, free: 47.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=331): time 0.1165/1.251, allocations: 42.87 MB / 0.6552 GB, free: 5.082 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02489/1.276, allocations: 16.7 MB / 0.6715 GB, free: 3.812 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01014/1.286, allocations: 5.633 MB / 0.677 GB, free: 14.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007641/1.287, allocations: 81.7 kB / 0.6771 GB, free: 14.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004381/1.291, allocations: 4.798 MB / 0.6818 GB, free: 9.664 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002112/1.294, allocations: 1.295 MB / 0.6831 GB, free: 8.359 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003354/1.297, allocations: 1.888 MB / 0.6849 GB, free: 6.457 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/1.297, allocations: 305.1 kB / 0.6852 GB, free: 6.156 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006933/1.304, allocations: 4.043 MB / 0.6891 GB, free: 2.105 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01196/1.316, allocations: 9.186 MB / 0.6981 GB, free: 6.375 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02015/1.336, allocations: 14.34 MB / 0.7121 GB, free: 5.477 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001524/1.336, allocations: 52 kB / 0.7122 GB, free: 5.426 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1172) (initialization): time 0.04174/1.378, allocations: 17.36 MB / 0.7291 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001692/1.378, allocations: 84 kB / 0.7292 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002816/1.379, allocations: 180 kB / 0.7294 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01608/1.395, allocations: 4.561 MB / 0.7338 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007221/1.402, allocations: 1.985 MB / 0.7358 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2801/1.682, allocations: 36.38 MB / 0.7713 GB, free: 180.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007689/1.69, allocations: 0.5338 MB / 0.7718 GB, free: 180.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001573/1.691, allocations: 0.5535 MB / 0.7723 GB, free: 180.1 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.005444/1.697, allocations: 3.186 MB / 0.7754 GB, free: 178.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001298/1.698, allocations: 0.5473 MB / 0.776 GB, free: 178.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02029/1.718, allocations: 9.821 MB / 0.7856 GB, free: 175.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-05/1.719, allocations: 44.95 kB / 0.7856 GB, free: 175.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01699/1.736, allocations: 8.414 MB / 0.7938 GB, free: 168 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-05/1.736, allocations: 11.95 kB / 0.7938 GB, free: 168 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04119/1.777, allocations: 21.95 MB / 0.8153 GB, free: 146.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.862e-05/1.777, allocations: 4 kB / 0.8153 GB, free: 146.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002534/1.78, allocations: 474.2 kB / 0.8157 GB, free: 145.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01028/1.79, allocations: 3.23 MB / 0.8189 GB, free: 142.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008064/1.791, allocations: 59.67 kB / 0.8189 GB, free: 142.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02955/1.82, allocations: 26.39 MB / 0.8447 GB, free: 115.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01249/1.833, allocations: 10.76 MB / 0.8552 GB, free: 104.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0237/1.857, allocations: 13.68 MB / 0.8686 GB, free: 91.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/1.858, allocations: 0.572 MB / 0.8691 GB, free: 90.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00199/1.86, allocations: 56 kB / 0.8692 GB, free: 90.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004136/1.865, allocations: 211.7 kB / 0.8694 GB, free: 90.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001323/1.866, allocations: 227.8 kB / 0.8696 GB, free: 90.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005601/1.866, allocations: 91.81 kB / 0.8697 GB, free: 89.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005745/1.872, allocations: 3.502 MB / 0.8731 GB, free: 86.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.61e-07/1.872, allocations: 3.938 kB / 0.8731 GB, free: 86.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009427/1.882, allocations: 1.935 MB / 0.875 GB, free: 84.53 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.02483/1.907, allocations: 14.4 MB / 0.8891 GB, free: 70.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01501/1.922, allocations: 10.62 MB / 0.8994 GB, free: 59.35 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.922, allocations: 4 kB / 0.8995 GB, free: 59.35 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005454/1.927, allocations: 4.112 MB / 0.9035 GB, free: 55.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005414/1.933, allocations: 0.8457 MB / 0.9043 GB, free: 54.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.37/2.303, allocations: 83.11 MB / 0.9855 GB, free: 164.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007212/2.31, allocations: 4.856 MB / 0.9902 GB, free: 163 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006243/2.316, allocations: 2.724 MB / 0.9929 GB, free: 161.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004794/2.321, allocations: 3.096 MB / 0.9959 GB, free: 158.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.273e-06/2.321, allocations: 0 / 0.9959 GB, free: 158.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1996/2.521, allocations: 138.6 MB / 1.131 GB, free: 20.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.51/30.03, allocations: 13.56 kB / 1.131 GB, free: 20.58 MB / 0.545 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)