Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP") translateModel(ModelicaTest.MultiBody.Joints.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009445/0.009445, allocations: 103.3 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 190.1 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3534/0.3534, allocations: 39.94 MB / 309.8 MB, free: 9.391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 72.31 kB / 435.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3899, allocations: 56.87 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01583/0.4058, allocations: 14.26 MB / 0.495 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.4193, allocations: 3.851 MB / 0.4988 GB, free: 6.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004041/0.4234, allocations: 75.22 kB / 0.4989 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00716/0.4307, allocations: 3.948 MB / 0.5027 GB, free: 4.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004043/0.4348, allocations: 1.014 MB / 0.5037 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.4368, allocations: 0.7176 MB / 0.5044 GB, free: 2.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003733/0.4406, allocations: 2.536 MB / 0.5069 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005355/0.4459, allocations: 5.048 MB / 0.5118 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/0.4485, allocations: 1.587 MB / 0.5134 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003205/0.4518, allocations: 2.033 MB / 0.5154 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009562/0.4527, allocations: 467.1 kB / 0.5158 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.4547, allocations: 1.007 MB / 0.5168 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001688/0.4564, allocations: 1.921 MB / 0.5187 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002626/0.459, allocations: 2.242 MB / 0.5209 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007571/0.4666, allocations: 7.464 MB / 0.5281 GB, free: 40 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.368e-05/0.4666, allocations: 3.984 kB / 0.5281 GB, free: 36 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4666, allocations: 0 / 0.5281 GB, free: 36 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002649/0.4669, allocations: 0 / 0.5281 GB, free: 36 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.01374/0.4807, allocations: 4.545 MB / 0.5326 GB, free: 11.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.945e-05/0.4808, allocations: 15.89 kB / 0.5326 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002462/0.4832, allocations: 0.5378 MB / 0.5331 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00632/0.4896, allocations: 2.145 MB / 0.5352 GB, free: 8.672 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/0.4899, allocations: 267.3 kB / 0.5355 GB, free: 8.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008264/0.4907, allocations: 355.8 kB / 0.5358 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02039/0.5111, allocations: 9.254 MB / 0.5449 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.778e-05/0.5112, allocations: 15.88 kB / 0.5449 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003933/0.5116, allocations: 159.9 kB / 0.545 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002611/0.5143, allocations: 1.558 MB / 0.5465 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01562/0.5299, allocations: 7.22 MB / 0.5536 GB, free: 5.516 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04239/0.5723, allocations: 27.99 MB / 0.5809 GB, free: 8.84 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006823/0.5792, allocations: 2.174 MB / 0.5831 GB, free: 6.621 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.5809, allocations: 1.097 MB / 0.5841 GB, free: 5.508 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01034/0.5913, allocations: 7.011 MB / 0.591 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.5913, allocations: 51.22 kB / 0.591 GB, free: 13.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=83): time 3.056e-06/0.5914, allocations: 0 / 0.591 GB, free: 13.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.0186/0.61, allocations: 7.764 MB / 0.5986 GB, free: 6.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.935e-05/0.6101, allocations: 163.2 kB / 0.5988 GB, free: 5.871 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003457/0.6136, allocations: 2.751 MB / 0.6014 GB, free: 3.105 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000163/0.6137, allocations: 45.77 kB / 0.6015 GB, free: 3.055 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001709/0.6155, allocations: 2.497 MB / 0.6039 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004034/0.6159, allocations: 418.8 kB / 0.6043 GB, free: 112 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/0.6169, allocations: 0.8251 MB / 0.6051 GB, free: 15.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.617, allocations: 305.1 kB / 0.6054 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/0.6188, allocations: 1.218 MB / 0.6066 GB, free: 13.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003729/0.6225, allocations: 3.539 MB / 0.6101 GB, free: 9.027 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007268/0.6298, allocations: 5.07 MB / 0.615 GB, free: 2.809 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.395e-05/0.6299, allocations: 24 kB / 0.615 GB, free: 2.785 MB / 494.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.008708/0.6387, allocations: 4.696 MB / 0.6196 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.216e-05/0.6388, allocations: 40 kB / 0.6197 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-05/0.6389, allocations: 80 kB / 0.6197 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001223/0.639, allocations: 112 kB / 0.6199 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002992/0.642, allocations: 0.9552 MB / 0.6208 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001232/0.6421, allocations: 159.4 kB / 0.6209 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/0.645, allocations: 211.8 kB / 0.6211 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003702/0.6454, allocations: 236 kB / 0.6214 GB, free: 12.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 46 (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 (514): * Single equations (assignments): 513 * 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.003549/0.6489, allocations: 1.762 MB / 0.6231 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005696/0.6495, allocations: 236.9 kB / 0.6233 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.6516, allocations: 1.339 MB / 0.6246 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.6516, allocations: 8 kB / 0.6246 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.6516, allocations: 8 kB / 0.6246 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.6517, allocations: 3.984 kB / 0.6246 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.6619, allocations: 6.638 MB / 0.6311 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-05/0.662, allocations: 20 kB / 0.6311 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009478/0.6629, allocations: 251.5 kB / 0.6314 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.693e-05/0.663, allocations: 24 kB / 0.6314 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.239e-05/0.6631, allocations: 44 kB / 0.6314 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-05/0.6631, allocations: 35.86 kB / 0.6315 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.659e-05/0.6631, allocations: 23.88 kB / 0.6315 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3299/0.993, allocations: 2.25 MB / 0.6337 GB, free: 123.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009119/0.994, allocations: 337.1 kB / 0.634 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002848/0.9943, allocations: 44.09 kB / 0.6341 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.9954, allocations: 61.91 kB / 0.6341 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/0.9956, allocations: 129.4 kB / 0.6342 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/0.9958, allocations: 60.27 kB / 0.6343 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003965/0.9998, allocations: 1.813 MB / 0.6361 GB, free: 123 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.61e-07/0.9998, allocations: 0.9375 kB / 0.6361 GB, free: 123 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004213/1.004, allocations: 0.7145 MB / 0.6368 GB, free: 123 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 76 * 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 (126): * Single equations (assignments): 126 * 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.0004951/1.005, allocations: 217.1 kB / 0.637 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005377/1.01, allocations: 2.809 MB / 0.6397 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.47e-05/1.01, allocations: 6.719 kB / 0.6397 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/1.011, allocations: 0.7142 MB / 0.6404 GB, free: 121.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/1.015, allocations: 348.9 kB / 0.6408 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/1.031, allocations: 7.539 MB / 0.6481 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004035/1.035, allocations: 2.954 MB / 0.651 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002832/1.038, allocations: 1.023 MB / 0.652 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005248/1.039, allocations: 190.3 kB / 0.6522 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of SimCode: time 8.61e-07/1.039, allocations: 0 / 0.6522 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.04608/1.085, allocations: 20.63 MB / 0.6723 GB, free: 108.4 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1)