Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP") translateModel(ModelicaTest.MultiBody.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007744/0.007744, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.00144/0.00144, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.591/1.591, allocations: 205.1 MB / 222.5 MB, free: 4.469 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.3219/0.3219, allocations: 37.99 MB / 307.9 MB, free: 10.15 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.001671/0.001671, allocations: 67.91 kB / 433 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3605, allocations: 56.48 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.01298/0.3735, allocations: 12.59 MB / 0.4903 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008203/0.3818, allocations: 3.565 MB / 0.4938 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/0.3839, allocations: 65.5 kB / 0.4938 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005509/0.3895, allocations: 3.332 MB / 0.4971 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.392, allocations: 0.9503 MB / 0.498 GB, free: 6.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.3937, allocations: 0.6557 MB / 0.4987 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003027/0.3967, allocations: 2.318 MB / 0.5009 GB, free: 5.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003918/0.4006, allocations: 4.075 MB / 0.5049 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001923/0.4026, allocations: 1.371 MB / 0.5062 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.4045, allocations: 1.763 MB / 0.508 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006109/0.4051, allocations: 360.5 kB / 0.5083 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.4068, allocations: 0.8982 MB / 0.5092 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001476/0.4083, allocations: 1.669 MB / 0.5108 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002121/0.4104, allocations: 1.961 MB / 0.5127 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008053/0.4185, allocations: 6.272 MB / 0.5189 GB, free: 9.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4185, allocations: 0 / 0.5189 GB, free: 9.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4185, allocations: 1.094 kB / 0.5189 GB, free: 9.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001523/0.4187, allocations: 7.938 kB / 0.5189 GB, free: 9.469 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.008758/0.4275, allocations: 4.243 MB / 0.523 GB, free: 5.211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.4275, allocations: 15.89 kB / 0.523 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.4292, allocations: 0.5173 MB / 0.5235 GB, free: 4.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002883/0.4321, allocations: 1.779 MB / 0.5253 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/0.4323, allocations: 234.5 kB / 0.5255 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004586/0.4328, allocations: 319.8 kB / 0.5258 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/0.4486, allocations: 8.675 MB / 0.5343 GB, free: 9.273 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.216e-05/0.4488, allocations: 15.88 kB / 0.5343 GB, free: 9.258 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003321/0.4491, allocations: 143.9 kB / 0.5344 GB, free: 9.117 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002696/0.4518, allocations: 1.561 MB / 0.5359 GB, free: 7.555 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.4668, allocations: 6.714 MB / 0.5425 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03723/0.5041, allocations: 26.66 MB / 0.5685 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006666/0.5108, allocations: 2.078 MB / 0.5706 GB, free: 3.359 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.5124, allocations: 1.022 MB / 0.5716 GB, free: 2.324 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/0.5234, allocations: 6.684 MB / 0.5781 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.5235, allocations: 47.16 kB / 0.5781 GB, free: 11.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 3.877e-06/0.5235, allocations: 0 / 0.5781 GB, free: 11.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=100): time 0.01705/0.5406, allocations: 6.929 MB / 0.5849 GB, free: 4.086 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.858e-05/0.5407, allocations: 137.5 kB / 0.585 GB, free: 3.922 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003186/0.5439, allocations: 2.573 MB / 0.5875 GB, free: 1.328 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.296e-05/0.544, allocations: 41.7 kB / 0.5876 GB, free: 1.281 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001504/0.5455, allocations: 2.453 MB / 0.59 GB, free: 14.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003244/0.5458, allocations: 424.8 kB / 0.5904 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009551/0.5468, allocations: 0.7901 MB / 0.5912 GB, free: 13.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.5469, allocations: 304.9 kB / 0.5914 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.5486, allocations: 1.136 MB / 0.5926 GB, free: 12.15 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003183/0.5518, allocations: 3.406 MB / 0.5959 GB, free: 7.629 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005157/0.557, allocations: 4.852 MB / 0.6006 GB, free: 1.652 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.79e-05/0.557, allocations: 23.94 kB / 0.6006 GB, free: 1.629 MB / 478.1 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.006426/0.5635, allocations: 4.466 MB / 0.605 GB, free: 13.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.794e-05/0.5635, allocations: 40 kB / 0.605 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.731e-05/0.5636, allocations: 80 kB / 0.6051 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.339e-05/0.5637, allocations: 111.9 kB / 0.6052 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002655/0.5664, allocations: 0.9241 MB / 0.6061 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001123/0.5665, allocations: 163.4 kB / 0.6063 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/0.5686, allocations: 188.1 kB / 0.6065 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002696/0.5688, allocations: 232 kB / 0.6067 GB, free: 11.43 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 365 * Number of states: 0 () * Number of discrete variables: 40 (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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],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 (495): * Single equations (assignments): 495 * 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.002372/0.5712, allocations: 1.585 MB / 0.6082 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003256/0.5715, allocations: 242.4 kB / 0.6085 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/0.5736, allocations: 1.263 MB / 0.6097 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.5736, allocations: 12 kB / 0.6097 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5736, allocations: 0 / 0.6097 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.5736, allocations: 7.984 kB / 0.6097 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007982/0.5816, allocations: 6.092 MB / 0.6157 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/0.5816, allocations: 16.94 kB / 0.6157 GB, free: 1.891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008718/0.5825, allocations: 247.5 kB / 0.6159 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.283e-05/0.5825, allocations: 28 kB / 0.6159 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.966e-05/0.5826, allocations: 47.98 kB / 0.616 GB, free: 1.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.358e-05/0.5827, allocations: 31.92 kB / 0.616 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.916e-05/0.5827, allocations: 27.88 kB / 0.616 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/0.5852, allocations: 2.098 MB / 0.6181 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004893/0.5857, allocations: 331.4 kB / 0.6184 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.586, allocations: 47.98 kB / 0.6185 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00091/0.5869, allocations: 59.95 kB / 0.6185 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.5871, allocations: 135.8 kB / 0.6186 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.723e-05/0.5872, allocations: 59.98 kB / 0.6187 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00227/0.5895, allocations: 1.663 MB / 0.6203 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5895, allocations: 3.938 kB / 0.6203 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003015/0.5925, allocations: 0.6757 MB / 0.621 GB, free: 12.18 MB / 0.4981 GB 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 (124): * Single equations (assignments): 124 * 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.0004095/0.5929, allocations: 214.6 kB / 0.6212 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004081/0.597, allocations: 2.665 MB / 0.6238 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.597, allocations: 0.6875 kB / 0.6238 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.598, allocations: 0.6772 MB / 0.6245 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.5997, allocations: 340.2 kB / 0.6248 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.6108, allocations: 7.049 MB / 0.6317 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2427/0.8536, allocations: 2.742 MB / 0.6343 GB, free: 127.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003386/0.8571, allocations: 1.017 MB / 0.6353 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005427/0.8576, allocations: 172.3 kB / 0.6355 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.082e-06/0.8576, allocations: 0 / 0.6355 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.04516/0.9028, allocations: 21.03 MB / 0.656 GB, free: 121.6 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1)