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.0009445/0.0009444, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009421/0.0009421, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.3366/0.3366, allocations: 40 MB / 310.4 MB, free: 9.977 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.0005776/0.0005778, allocations: 16 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1187, allocations: 57.95 MB / 436.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.2527/0.3715, allocations: 45.09 MB / 481.8 MB, free: 26.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02308/0.3946, allocations: 10.25 MB / 492.1 MB, free: 19.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008629/0.4033, allocations: 211.6 kB / 492.3 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008054/0.4113, allocations: 2.192 MB / 494.5 MB, free: 18.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0222/0.4336, allocations: 6.062 MB / 0.4888 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003419/0.437, allocations: 0.4997 MB / 0.4893 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00395/0.441, allocations: 1.422 MB / 0.4907 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/0.4521, allocations: 6.41 MB / 0.497 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/0.4546, allocations: 0.8181 MB / 0.4978 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002867/0.4575, allocations: 1.056 MB / 0.4988 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.4587, allocations: 143.3 kB / 0.4989 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.461, allocations: 0.5617 MB / 0.4995 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002504/0.4635, allocations: 1.385 MB / 0.5008 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001842/0.4653, allocations: 0.7825 MB / 0.5016 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00927/0.4746, allocations: 5.983 MB / 0.5074 GB, free: 8.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4747, allocations: 0 / 0.5074 GB, free: 8.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4747, allocations: 0 / 0.5074 GB, free: 8.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003165/0.475, allocations: 1.25 kB / 0.5074 GB, free: 8.352 MB / 382.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.01296/0.488, allocations: 3.905 MB / 0.5112 GB, free: 5.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.488, allocations: 8.969 kB / 0.5113 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004926/0.493, allocations: 0.6248 MB / 0.5119 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006791/0.4998, allocations: 2.151 MB / 0.514 GB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/0.5002, allocations: 263.5 kB / 0.5142 GB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001755/0.502, allocations: 353.6 kB / 0.5146 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02424/0.5262, allocations: 9.396 MB / 0.5237 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/0.5264, allocations: 15.88 kB / 0.5237 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001544/0.528, allocations: 151.9 kB / 0.5239 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002679/0.5307, allocations: 1.546 MB / 0.5254 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01795/0.5486, allocations: 7.386 MB / 0.5326 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04726/0.5959, allocations: 27.96 MB / 0.5599 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006715/0.6027, allocations: 2.206 MB / 0.5621 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01027/0.613, allocations: 6.784 MB / 0.5687 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.6131, allocations: 43.12 kB / 0.5687 GB, free: 14.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 5.34e-06/0.6131, allocations: 0 / 0.5687 GB, free: 14.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=98): time 0.01756/0.6306, allocations: 7.452 MB / 0.576 GB, free: 7.371 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.6307, allocations: 171.2 kB / 0.5762 GB, free: 7.168 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003364/0.6341, allocations: 2.709 MB / 0.5788 GB, free: 4.445 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.6342, allocations: 41.7 kB / 0.5789 GB, free: 4.398 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002154/0.6364, allocations: 2.532 MB / 0.5813 GB, free: 1.832 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005341/0.637, allocations: 399.1 kB / 0.5817 GB, free: 1.438 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.6372, allocations: 80 kB / 0.5818 GB, free: 1.359 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00031/0.6375, allocations: 474.4 kB / 0.5822 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00267/0.6402, allocations: 1.105 MB / 0.5833 GB, free: 15.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004977/0.6452, allocations: 3.442 MB / 0.5867 GB, free: 11.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004145/0.6493, allocations: 1.868 MB / 0.5885 GB, free: 9.312 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.059e-05/0.6494, allocations: 24 kB / 0.5885 GB, free: 9.289 MB / 462.1 MB Notification: Performance of matching and sorting (n=506) (initialization): time 0.01227/0.6617, allocations: 4.472 MB / 0.5929 GB, free: 4.812 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002089/0.662, allocations: 40 kB / 0.5929 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002804/0.6623, allocations: 80 kB / 0.593 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002416/0.6626, allocations: 128 kB / 0.5931 GB, free: 4.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004638/0.6672, allocations: 0.952 MB / 0.5941 GB, free: 3.617 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001846/0.6674, allocations: 159.4 kB / 0.5942 GB, free: 3.461 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003269/0.6707, allocations: 211.6 kB / 0.5944 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005/0.6712, allocations: 236 kB / 0.5946 GB, free: 3.023 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 379 * 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 (504): * Single equations (assignments): 503 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003609/0.6748, allocations: 1.758 MB / 0.5964 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005498/0.6754, allocations: 236.9 kB / 0.5966 GB, free: 1.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/0.6776, allocations: 1.182 MB / 0.5977 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.6776, allocations: 11.95 kB / 0.5978 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.6776, allocations: 4 kB / 0.5978 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.6777, allocations: 3.984 kB / 0.5978 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/0.6899, allocations: 6.358 MB / 0.604 GB, free: 9.137 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.952e-05/0.69, allocations: 20.97 kB / 0.604 GB, free: 9.117 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009251/0.6909, allocations: 239.6 kB / 0.6042 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.839e-05/0.691, allocations: 28 kB / 0.6042 GB, free: 8.855 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-05/0.6911, allocations: 47.98 kB / 0.6043 GB, free: 8.809 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.268e-05/0.6911, allocations: 35.86 kB / 0.6043 GB, free: 8.773 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.496e-05/0.6911, allocations: 23.88 kB / 0.6043 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00328/0.6944, allocations: 3.729 MB / 0.608 GB, free: 4.535 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008732/0.6953, allocations: 345.7 kB / 0.6083 GB, free: 4.176 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005291/0.6959, allocations: 43.92 kB / 0.6084 GB, free: 4.133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.6972, allocations: 63.95 kB / 0.6084 GB, free: 4.07 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.6973, allocations: 119.6 kB / 0.6085 GB, free: 3.953 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.54e-05/0.6974, allocations: 63.98 kB / 0.6086 GB, free: 3.891 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002795/0.7002, allocations: 1.774 MB / 0.6103 GB, free: 2.113 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.7002, allocations: 0 / 0.6103 GB, free: 2.113 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003593/0.7038, allocations: 0.6992 MB / 0.611 GB, free: 1.414 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * 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 (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003801/0.7042, allocations: 194.8 kB / 0.6112 GB, free: 1.211 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004021/0.7083, allocations: 2.568 MB / 0.6137 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.7083, allocations: 0 / 0.6137 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008949/0.7092, allocations: 0.6295 MB / 0.6143 GB, free: 14.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.7107, allocations: 332.1 kB / 0.6146 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/0.7251, allocations: 8.882 MB / 0.6233 GB, free: 4.578 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003572/0.7287, allocations: 3.034 MB / 0.6263 GB, free: 1.512 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003024/0.7317, allocations: 1.022 MB / 0.6273 GB, free: 496 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000461/0.7322, allocations: 187.4 kB / 0.6275 GB, free: 308 kB / 494.1 MB Notification: Performance of SimCode: time 2.575e-06/0.7322, allocations: 0 / 0.6275 GB, free: 308 kB / 494.1 MB Notification: Performance of Templates: time 0.2336/0.9658, allocations: 21 MB / 0.648 GB, free: 144.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: