Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Joints.JointRRP") translateModel(ModelicaTest.MultiBody.Joints.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001264/0.001264, allocations: 192.7 kB / 16.13 MB, free: 6.652 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.462/1.462, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3197/0.3197, allocations: 37.97 MB / 307.3 MB, free: 10.04 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.1. 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.001627/0.001628, allocations: 67.91 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1258, allocations: 56.47 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.2834/0.4092, allocations: 52.66 MB / 483.7 MB, free: 24.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02762/0.4369, allocations: 10.27 MB / 494 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01606/0.453, allocations: 218.9 kB / 494.2 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007847/0.4611, allocations: 3.978 MB / 498.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005507/0.4666, allocations: 0.9415 MB / 499.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.4692, allocations: 0.643 MB / 499.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006877/0.476, allocations: 4.129 MB / 0.4921 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007348/0.4834, allocations: 4.916 MB / 0.4969 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004138/0.4876, allocations: 1.382 MB / 0.4982 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004711/0.4924, allocations: 2.096 MB / 0.5002 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00124/0.4936, allocations: 305.7 kB / 0.5005 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002616/0.4963, allocations: 0.9087 MB / 0.5014 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002636/0.4989, allocations: 1.774 MB / 0.5032 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003062/0.502, allocations: 2.095 MB / 0.5052 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.513, allocations: 7.174 MB / 0.5122 GB, free: 4.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.315e-05/0.5131, allocations: 1.531 kB / 0.5122 GB, free: 4.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5131, allocations: 0 / 0.5122 GB, free: 4.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003767/0.5135, allocations: 0 / 0.5122 GB, free: 4.992 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.01603/0.5295, allocations: 4.55 MB / 0.5167 GB, free: 1.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.5296, allocations: 8.656 kB / 0.5167 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002583/0.5322, allocations: 0.5302 MB / 0.5172 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005312/0.5375, allocations: 2.104 MB / 0.5192 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/0.5378, allocations: 269.1 kB / 0.5195 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006706/0.5385, allocations: 356.8 kB / 0.5198 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02123/0.5598, allocations: 9.245 MB / 0.5289 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.991e-05/0.5599, allocations: 23.81 kB / 0.5289 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004073/0.5603, allocations: 155.9 kB / 0.529 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002797/0.5631, allocations: 1.554 MB / 0.5306 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0175/0.5806, allocations: 7.226 MB / 0.5376 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04733/0.628, allocations: 28.17 MB / 0.5651 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006757/0.6349, allocations: 2.165 MB / 0.5672 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.6366, allocations: 1.089 MB / 0.5683 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009814/0.6464, allocations: 7.021 MB / 0.5751 GB, free: 7.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.6465, allocations: 51.14 kB / 0.5752 GB, free: 7.852 MB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 2.945e-06/0.6465, allocations: 0 / 0.5752 GB, free: 7.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=102): time 0.01981/0.6663, allocations: 7.769 MB / 0.5828 GB, free: 16 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.6665, allocations: 171.2 kB / 0.5829 GB, free: 15.81 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004365/0.6709, allocations: 2.748 MB / 0.5856 GB, free: 13.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000271/0.6712, allocations: 41.7 kB / 0.5857 GB, free: 13 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002253/0.6734, allocations: 2.501 MB / 0.5881 GB, free: 10.47 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006665/0.6741, allocations: 422.8 kB / 0.5885 GB, free: 10.05 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001265/0.6754, allocations: 0.8211 MB / 0.5893 GB, free: 9.215 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.6755, allocations: 309.1 kB / 0.5896 GB, free: 8.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/0.6778, allocations: 1.222 MB / 0.5908 GB, free: 7.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004115/0.682, allocations: 3.543 MB / 0.5943 GB, free: 2.965 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007632/0.6896, allocations: 5.057 MB / 0.5992 GB, free: 12.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.873e-05/0.6897, allocations: 27.94 kB / 0.5992 GB, free: 12.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.009269/0.699, allocations: 4.692 MB / 0.6038 GB, free: 8.027 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.603e-05/0.6991, allocations: 43.98 kB / 0.6039 GB, free: 7.984 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.802e-05/0.6992, allocations: 80 kB / 0.6039 GB, free: 7.906 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001133/0.6994, allocations: 116 kB / 0.604 GB, free: 7.793 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/0.7022, allocations: 0.9475 MB / 0.605 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001245/0.7024, allocations: 167.3 kB / 0.6051 GB, free: 6.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003185/0.7056, allocations: 215.5 kB / 0.6053 GB, free: 6.469 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003598/0.706, allocations: 240 kB / 0.6056 GB, free: 6.234 MB / 478.1 MB 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.004421/0.7104, allocations: 1.755 MB / 0.6073 GB, free: 4.465 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006124/0.711, allocations: 233 kB / 0.6075 GB, free: 4.234 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/0.7132, allocations: 1.339 MB / 0.6088 GB, free: 2.887 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.7133, allocations: 8 kB / 0.6088 GB, free: 2.879 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.7133, allocations: 4 kB / 0.6088 GB, free: 2.875 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.7133, allocations: 3.984 kB / 0.6088 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/0.7266, allocations: 6.651 MB / 0.6153 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-05/0.7267, allocations: 19.98 kB / 0.6153 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.7278, allocations: 251.5 kB / 0.6156 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.539e-05/0.7278, allocations: 23.94 kB / 0.6156 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.132e-05/0.7279, allocations: 47.98 kB / 0.6156 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.299e-05/0.728, allocations: 35.86 kB / 0.6157 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.533e-05/0.728, allocations: 23.94 kB / 0.6157 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003048/0.731, allocations: 2.253 MB / 0.6179 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008354/0.7319, allocations: 341.7 kB / 0.6182 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/0.7322, allocations: 43.98 kB / 0.6183 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.7332, allocations: 59.95 kB / 0.6183 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.7334, allocations: 131.9 kB / 0.6184 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.803e-05/0.7335, allocations: 56 kB / 0.6185 GB, free: 8.379 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003253/0.7367, allocations: 1.812 MB / 0.6203 GB, free: 6.562 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7368, allocations: 0 / 0.6203 GB, free: 6.562 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004307/0.7411, allocations: 0.7109 MB / 0.621 GB, free: 5.852 MB / 494.1 MB 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.0005003/0.7416, allocations: 214.6 kB / 0.6212 GB, free: 5.629 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005006/0.7466, allocations: 2.773 MB / 0.6239 GB, free: 2.875 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/0.7466, allocations: 3.938 kB / 0.6239 GB, free: 2.871 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.7478, allocations: 0.7114 MB / 0.6246 GB, free: 2.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.7504, allocations: 344.4 kB / 0.6249 GB, free: 1.832 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.289/1.039, allocations: 9.434 MB / 0.6341 GB, free: 147 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005646/1.045, allocations: 2.961 MB / 0.637 GB, free: 146.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00316/1.048, allocations: 1.016 MB / 0.638 GB, free: 146.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005239/1.049, allocations: 185.2 kB / 0.6382 GB, free: 146.2 MB / 494.1 MB Notification: Performance of SimCode: time 2.044e-06/1.049, allocations: 5.125 kB / 0.6382 GB, free: 146.2 MB / 494.1 MB Notification: Performance of Templates: time 0.05788/1.107, allocations: 22.27 MB / 0.6599 GB, free: 144.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1)