Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.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 trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001914/0.001914, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002318/0.002318, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2398/0.2398, allocations: 46.12 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica 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.002264/0.002264, allocations: 75.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3629, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01488/0.3778, allocations: 12.46 MB / 0.5428 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008404/0.3863, allocations: 3.697 MB / 0.5464 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/0.3884, allocations: 68.97 kB / 0.5465 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006992/0.3954, allocations: 3.895 MB / 0.5503 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.398, allocations: 0.8629 MB / 0.5511 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.3999, allocations: 0.7096 MB / 0.5518 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003212/0.4031, allocations: 2.194 MB / 0.5539 GB, free: 9.762 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005852/0.409, allocations: 4.923 MB / 0.5588 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002376/0.4114, allocations: 1.453 MB / 0.5602 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002777/0.4142, allocations: 1.897 MB / 0.562 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006775/0.4148, allocations: 452 kB / 0.5625 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.4167, allocations: 1.018 MB / 0.5635 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001761/0.4184, allocations: 1.754 MB / 0.5652 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002135/0.4206, allocations: 2.025 MB / 0.5671 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008657/0.4293, allocations: 6.909 MB / 0.5739 GB, free: 5.227 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.4293, allocations: 0 / 0.5739 GB, free: 5.227 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4293, allocations: 0 / 0.5739 GB, free: 5.227 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001856/0.4295, allocations: 0 / 0.5739 GB, free: 5.227 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.009716/0.4392, allocations: 4.243 MB / 0.578 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.4393, allocations: 8.031 kB / 0.578 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009184/0.4402, allocations: 0.582 MB / 0.5786 GB, free: 316 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00246/0.4427, allocations: 0.6461 MB / 0.5792 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003915/0.4466, allocations: 2.15 MB / 0.5813 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.4468, allocations: 246.3 kB / 0.5816 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005382/0.4474, allocations: 315.9 kB / 0.5819 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01617/0.4635, allocations: 8.199 MB / 0.5899 GB, free: 4.391 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.785e-05/0.4637, allocations: 15.88 kB / 0.5899 GB, free: 4.375 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003644/0.464, allocations: 139.9 kB / 0.59 GB, free: 4.238 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001684/0.4657, allocations: 1.092 MB / 0.5911 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/0.4805, allocations: 6.721 MB / 0.5977 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03806/0.5186, allocations: 24.23 MB / 0.6213 GB, free: 3.648 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006597/0.5253, allocations: 1.993 MB / 0.6233 GB, free: 1.625 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.5269, allocations: 0.8958 MB / 0.6241 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009668/0.5366, allocations: 6.376 MB / 0.6304 GB, free: 9.793 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.5367, allocations: 47.2 kB / 0.6304 GB, free: 9.738 MB / 494.1 MB Notification: Performance of pre-optimization done (n=80): time 3.316e-06/0.5367, allocations: 0 / 0.6304 GB, free: 9.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=99): time 0.01856/0.5553, allocations: 5.889 MB / 0.6362 GB, free: 3.824 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.5554, allocations: 111.8 kB / 0.6363 GB, free: 3.691 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004851/0.5603, allocations: 2.442 MB / 0.6387 GB, free: 1.223 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.5605, allocations: 49.64 kB / 0.6387 GB, free: 1.168 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002071/0.5625, allocations: 2.247 MB / 0.6409 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004598/0.563, allocations: 416.9 kB / 0.6413 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009489/0.564, allocations: 0.7187 MB / 0.642 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5641, allocations: 309.1 kB / 0.6423 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/0.5656, allocations: 0.9672 MB / 0.6432 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003376/0.569, allocations: 3.041 MB / 0.6462 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00558/0.5746, allocations: 4.358 MB / 0.6505 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-05/0.5747, allocations: 20 kB / 0.6505 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.006579/0.5812, allocations: 3.957 MB / 0.6544 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.225e-05/0.5813, allocations: 36 kB / 0.6544 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.1e-05/0.5814, allocations: 76 kB / 0.6545 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001019/0.5815, allocations: 96 kB / 0.6545 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/0.5838, allocations: 0.7993 MB / 0.6553 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001223/0.584, allocations: 143.4 kB / 0.6555 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/0.5859, allocations: 183.8 kB / 0.6556 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/0.5862, allocations: 204 kB / 0.6558 GB, free: 13.53 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 56 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,jointRRP.jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (449): * Single equations (assignments): 448 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00264/0.5889, allocations: 1.591 MB / 0.6574 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004213/0.5893, allocations: 222.5 kB / 0.6576 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005512/0.5899, allocations: 254.2 kB / 0.6578 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.5899, allocations: 8 kB / 0.6579 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.5899, allocations: 0 / 0.6579 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.5899, allocations: 11.97 kB / 0.6579 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009814/0.5997, allocations: 5.871 MB / 0.6636 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.852e-05/0.5998, allocations: 20 kB / 0.6636 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000716/0.6005, allocations: 223.6 kB / 0.6638 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.844e-05/0.6006, allocations: 24.75 kB / 0.6639 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.289e-05/0.6007, allocations: 44 kB / 0.6639 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-05/0.6007, allocations: 43.86 kB / 0.6639 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.54e-05/0.6007, allocations: 31.81 kB / 0.664 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/0.6033, allocations: 1.97 MB / 0.6659 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005877/0.6039, allocations: 327.5 kB / 0.6662 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.6041, allocations: 51.98 kB / 0.6663 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007317/0.6048, allocations: 40 kB / 0.6663 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.605, allocations: 143.3 kB / 0.6664 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.806e-05/0.6051, allocations: 56 kB / 0.6665 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0025/0.6076, allocations: 1.598 MB / 0.668 GB, free: 360 kB / 0.5137 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6076, allocations: 0 / 0.668 GB, free: 360 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003154/0.6108, allocations: 0.5976 MB / 0.6686 GB, free: 15.75 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 88 * Number of states: 0 () * 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 (123): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003095/0.6139, allocations: 2.626 MB / 0.6712 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004151/0.618, allocations: 2.274 MB / 0.6734 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/0.6181, allocations: 7.938 kB / 0.6734 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008193/0.6189, allocations: 0.5397 MB / 0.6739 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/0.6211, allocations: 391.3 kB / 0.6743 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.042/0.6631, allocations: 26.4 MB / 0.7001 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00317/0.6663, allocations: 2.678 MB / 0.7027 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002285/0.6686, allocations: 0.8951 MB / 0.7036 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001779/0.6704, allocations: 1.362 MB / 0.7049 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/0.6704, allocations: 0 / 0.7049 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3614/1.032, allocations: 46.97 MB / 0.7508 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.56, allocations: 13.95 kB / 0.7508 GB, free: 170.5 MB / 0.5762 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1)