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.0009651/0.0009651, allocations: 100 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.0009634/0.0009633, 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.567/1.567, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.4259/0.4259, allocations: 38.03 MB / 308.4 MB, free: 10.58 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.0005912/0.0005915, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1548, allocations: 57.52 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.3346/0.4894, allocations: 45.09 MB / 479 MB, free: 29.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03166/0.5212, allocations: 10.25 MB / 489.3 MB, free: 22.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0139/0.5351, allocations: 213.5 kB / 489.5 MB, free: 22.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01101/0.5462, allocations: 2.188 MB / 491.7 MB, free: 21.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02712/0.5734, allocations: 6.064 MB / 497.7 MB, free: 18.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004328/0.5778, allocations: 0.4977 MB / 498.2 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00487/0.5826, allocations: 1.425 MB / 499.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0125/0.5952, allocations: 6.402 MB / 0.4942 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002381/0.5976, allocations: 0.8187 MB / 0.495 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/0.5999, allocations: 1.056 MB / 0.496 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005241/0.6004, allocations: 142.8 kB / 0.4962 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.6022, allocations: 0.5551 MB / 0.4967 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002211/0.6045, allocations: 1.384 MB / 0.498 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.6055, allocations: 0.7819 MB / 0.4988 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009913/0.6154, allocations: 5.984 MB / 0.5047 GB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6154, allocations: 0 / 0.5047 GB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6155, allocations: 0 / 0.5047 GB, free: 11.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003503/0.6158, allocations: 1.438 kB / 0.5047 GB, free: 11.29 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.01344/0.6293, allocations: 3.913 MB / 0.5085 GB, free: 8.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.6293, allocations: 8.406 kB / 0.5085 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00414/0.6335, allocations: 0.6295 MB / 0.5091 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005666/0.6392, allocations: 2.143 MB / 0.5112 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002618/0.6395, allocations: 272.1 kB / 0.5115 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/0.6405, allocations: 360.6 kB / 0.5118 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02807/0.6686, allocations: 9.384 MB / 0.521 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.293e-05/0.6687, allocations: 17.55 kB / 0.521 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004024/0.6691, allocations: 157.8 kB / 0.5211 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002827/0.672, allocations: 1.547 MB / 0.5226 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01831/0.6903, allocations: 7.38 MB / 0.5298 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06169/0.752, allocations: 27.96 MB / 0.5572 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007539/0.7597, allocations: 2.207 MB / 0.5593 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01381/0.7735, allocations: 6.772 MB / 0.5659 GB, free: 3.156 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.685e-05/0.7737, allocations: 47.08 kB / 0.566 GB, free: 3.102 MB / 430.1 MB Notification: Performance of pre-optimization done (n=80): time 4.468e-06/0.7737, allocations: 4 kB / 0.566 GB, free: 3.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02592/0.7996, allocations: 7.448 MB / 0.5732 GB, free: 11.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.7998, allocations: 175.2 kB / 0.5734 GB, free: 11.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007546/0.8074, allocations: 2.706 MB / 0.5761 GB, free: 8.656 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002902/0.8077, allocations: 41.7 kB / 0.5761 GB, free: 8.609 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002774/0.8105, allocations: 2.532 MB / 0.5786 GB, free: 6.043 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006547/0.8112, allocations: 399.1 kB / 0.5789 GB, free: 5.648 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003801/0.8116, allocations: 80 kB / 0.579 GB, free: 5.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004241/0.812, allocations: 470.5 kB / 0.5795 GB, free: 5.105 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002562/0.8146, allocations: 1.109 MB / 0.5806 GB, free: 3.996 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004241/0.8188, allocations: 3.434 MB / 0.5839 GB, free: 15.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003549/0.8224, allocations: 1.876 MB / 0.5857 GB, free: 13.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.996e-05/0.8225, allocations: 24 kB / 0.5858 GB, free: 13.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=506) (initialization): time 0.009445/0.832, allocations: 4.469 MB / 0.5901 GB, free: 9.023 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.424e-05/0.8321, allocations: 40 kB / 0.5902 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001435/0.8322, allocations: 84 kB / 0.5902 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.8324, allocations: 120 kB / 0.5904 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003306/0.8357, allocations: 0.9517 MB / 0.5913 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001987/0.8359, allocations: 167.4 kB / 0.5914 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003811/0.8397, allocations: 211.5 kB / 0.5916 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005356/0.8403, allocations: 236 kB / 0.5919 GB, free: 7.23 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.004936/0.8452, allocations: 1.759 MB / 0.5936 GB, free: 5.457 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008518/0.8461, allocations: 232.9 kB / 0.5938 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/0.8486, allocations: 1.182 MB / 0.595 GB, free: 4.031 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.8487, allocations: 12 kB / 0.595 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.746e-05/0.8487, allocations: 3.953 kB / 0.595 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.8487, allocations: 3.984 kB / 0.595 GB, free: 4.012 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01799/0.8667, allocations: 6.362 MB / 0.6012 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-05/0.8668, allocations: 16 kB / 0.6012 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.868, allocations: 239.6 kB / 0.6014 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.364e-05/0.8681, allocations: 32.73 kB / 0.6015 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00017/0.8683, allocations: 40 kB / 0.6015 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.121e-05/0.8684, allocations: 39.86 kB / 0.6016 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.025e-05/0.8684, allocations: 23.94 kB / 0.6016 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004864/0.8733, allocations: 3.741 MB / 0.6052 GB, free: 8.73 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/0.875, allocations: 333.8 kB / 0.6055 GB, free: 8.383 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008918/0.8759, allocations: 43.98 kB / 0.6056 GB, free: 8.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/0.8776, allocations: 59.95 kB / 0.6056 GB, free: 8.281 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.8778, allocations: 123.5 kB / 0.6058 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.8779, allocations: 59.98 kB / 0.6058 GB, free: 8.102 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004738/0.8827, allocations: 1.782 MB / 0.6076 GB, free: 6.316 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.8827, allocations: 0 / 0.6076 GB, free: 6.316 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005854/0.8886, allocations: 0.6953 MB / 0.6082 GB, free: 5.621 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.000593/0.8892, allocations: 202.6 kB / 0.6084 GB, free: 5.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005435/0.8946, allocations: 2.569 MB / 0.6109 GB, free: 2.859 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.838e-05/0.8947, allocations: 4 kB / 0.6109 GB, free: 2.855 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.8959, allocations: 0.6246 MB / 0.6116 GB, free: 2.234 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002939/0.8989, allocations: 323.2 kB / 0.6119 GB, free: 1.922 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/0.9207, allocations: 8.889 MB / 0.6205 GB, free: 8.777 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007101/0.9279, allocations: 3.037 MB / 0.6235 GB, free: 5.707 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004063/0.932, allocations: 1.015 MB / 0.6245 GB, free: 4.688 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/0.9331, allocations: 187.4 kB / 0.6247 GB, free: 4.508 MB / 494.1 MB Notification: Performance of SimCode: time 3.156e-06/0.9332, allocations: 0 / 0.6247 GB, free: 4.508 MB / 494.1 MB Notification: Performance of Templates: time 0.3206/1.254, allocations: 21 MB / 0.6452 GB, free: 145.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: