Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.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.JointUPS,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001432/0.001432, allocations: 117.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001571/0.001571, allocations: 204.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247 MB, free: 10.46 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.2318/0.2318, allocations: 46.11 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.002659/0.002659, allocations: 79.88 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3333, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01035/0.3437, allocations: 8.105 MB / 0.5385 GB, free: 7.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006174/0.3499, allocations: 2.634 MB / 0.5411 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.3512, allocations: 37.12 kB / 0.5411 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002949/0.3542, allocations: 1.291 MB / 0.5424 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.3557, allocations: 453.9 kB / 0.5428 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.357, allocations: 411.3 kB / 0.5432 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001959/0.359, allocations: 1.038 MB / 0.5442 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002088/0.3611, allocations: 1.199 MB / 0.5454 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.3623, allocations: 0.5262 MB / 0.5459 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00157/0.3639, allocations: 0.7711 MB / 0.5467 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003819/0.3643, allocations: 116 kB / 0.5468 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.3656, allocations: 0.5811 MB / 0.5473 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.3666, allocations: 0.7091 MB / 0.548 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.368, allocations: 0.7959 MB / 0.5488 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003479/0.3715, allocations: 2.502 MB / 0.5513 GB, free: 12.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3715, allocations: 0 / 0.5513 GB, free: 12.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3715, allocations: 0 / 0.5513 GB, free: 12.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.443e-05/0.3716, allocations: 0 / 0.5513 GB, free: 12.51 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.004995/0.3766, allocations: 2.173 MB / 0.5534 GB, free: 10.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3767, allocations: 12.03 kB / 0.5534 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005079/0.3772, allocations: 288.6 kB / 0.5537 GB, free: 9.969 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.3784, allocations: 283.4 kB / 0.5539 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.3799, allocations: 0.8541 MB / 0.5548 GB, free: 8.793 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.177e-05/0.38, allocations: 90.64 kB / 0.5549 GB, free: 8.703 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002865/0.3803, allocations: 127.9 kB / 0.555 GB, free: 8.578 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007701/0.388, allocations: 4.276 MB / 0.5592 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.709e-05/0.3881, allocations: 11.88 kB / 0.5592 GB, free: 4.039 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.3882, allocations: 63.94 kB / 0.5592 GB, free: 3.977 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001085/0.3893, allocations: 0.721 MB / 0.5599 GB, free: 3.254 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007686/0.397, allocations: 3.504 MB / 0.5634 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01764/0.4147, allocations: 14.27 MB / 0.5773 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004136/0.4189, allocations: 1.22 MB / 0.5785 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009592/0.4199, allocations: 0.7014 MB / 0.5792 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005486/0.4254, allocations: 3.699 MB / 0.5828 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.4255, allocations: 34.89 kB / 0.5828 GB, free: 11.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 4.789e-06/0.4255, allocations: 7.984 kB / 0.5828 GB, free: 11.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.006424/0.4319, allocations: 1.773 MB / 0.5845 GB, free: 9.395 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.432, allocations: 59.34 kB / 0.5846 GB, free: 9.324 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.4342, allocations: 1.48 MB / 0.586 GB, free: 7.828 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.557e-05/0.4343, allocations: 33.7 kB / 0.5861 GB, free: 7.789 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009947/0.4353, allocations: 1.245 MB / 0.5873 GB, free: 6.527 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.4355, allocations: 182.8 kB / 0.5875 GB, free: 6.348 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005523/0.4361, allocations: 435.5 kB / 0.5879 GB, free: 5.914 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.4362, allocations: 353.9 kB / 0.5882 GB, free: 5.562 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007175/0.437, allocations: 487.9 kB / 0.5887 GB, free: 5.082 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001857/0.4388, allocations: 1.89 MB / 0.5905 GB, free: 2.473 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003052/0.4419, allocations: 2.601 MB / 0.5931 GB, free: 15.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-05/0.442, allocations: 16 kB / 0.5931 GB, free: 15.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003882/0.4459, allocations: 2.264 MB / 0.5953 GB, free: 12.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/0.4459, allocations: 31.94 kB / 0.5953 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.247e-05/0.446, allocations: 48 kB / 0.5954 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.863e-05/0.4461, allocations: 76.02 kB / 0.5954 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.4475, allocations: 491 kB / 0.5959 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.96e-05/0.4476, allocations: 103.6 kB / 0.596 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.449, allocations: 313.7 kB / 0.5963 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/0.4492, allocations: 132 kB / 0.5964 GB, free: 11.7 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (269): * Single equations (assignments): 269 * 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 prepare postOptimizeDAE: time 0.001169/0.4504, allocations: 0.7581 MB / 0.5972 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.4506, allocations: 131.1 kB / 0.5973 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.4509, allocations: 140.4 kB / 0.5974 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.4509, allocations: 4 kB / 0.5974 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.4509, allocations: 0 / 0.5974 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.4509, allocations: 11.92 kB / 0.5975 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004206/0.4551, allocations: 2.89 MB / 0.6003 GB, free: 7.531 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/0.4552, allocations: 15.94 kB / 0.6003 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.4555, allocations: 99.83 kB / 0.6004 GB, free: 7.418 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.737e-05/0.4556, allocations: 12 kB / 0.6004 GB, free: 7.406 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.4556, allocations: 24 kB / 0.6004 GB, free: 7.383 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.849e-05/0.4556, allocations: 19.92 kB / 0.6004 GB, free: 7.363 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-05/0.4556, allocations: 23.88 kB / 0.6005 GB, free: 7.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.4567, allocations: 0.8801 MB / 0.6013 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.457, allocations: 216.1 kB / 0.6015 GB, free: 6.051 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.4572, allocations: 27.98 kB / 0.6016 GB, free: 6.023 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.4576, allocations: 27.98 kB / 0.6016 GB, free: 5.996 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.4577, allocations: 71.64 kB / 0.6017 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.4578, allocations: 31.94 kB / 0.6017 GB, free: 5.895 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001272/0.459, allocations: 0.9128 MB / 0.6026 GB, free: 4.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4591, allocations: 0 / 0.6026 GB, free: 4.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001811/0.4609, allocations: 403 kB / 0.603 GB, free: 4.586 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (52): * Single equations (assignments): 52 * 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.00154/0.4624, allocations: 1.461 MB / 0.6044 GB, free: 2.938 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.4646, allocations: 1.204 MB / 0.6056 GB, free: 1.742 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/0.4646, allocations: 4 kB / 0.6056 GB, free: 1.738 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.4649, allocations: 238.5 kB / 0.6058 GB, free: 1.508 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.4661, allocations: 206.9 kB / 0.606 GB, free: 1.312 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/0.4871, allocations: 14.08 MB / 0.6197 GB, free: 1.262 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/0.4888, allocations: 1.524 MB / 0.6212 GB, free: 15.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001431/0.4903, allocations: 0.5738 MB / 0.6218 GB, free: 15.13 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000887/0.4912, allocations: 0.6086 MB / 0.6224 GB, free: 14.52 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4912, allocations: 0 / 0.6224 GB, free: 14.52 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05358/0.5448, allocations: 22.9 MB / 0.6447 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.88, allocations: 8.25 kB / 0.6448 GB, free: 7.773 MB / 0.4981 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS_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_JointUPS.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1)