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.002002/0.002002, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003052/0.003052, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.796/1.796, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.4455/0.4455, allocations: 38 MB / 307.8 MB, free: 10.09 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.001885/0.001885, allocations: 71.89 kB / 375.2 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1501, allocations: 56.46 MB / 431.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.01387/0.164, allocations: 12.6 MB / 444.3 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009167/0.1733, allocations: 3.556 MB / 447.9 MB, free: 6.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0027/0.176, allocations: 67.88 kB / 447.9 MB, free: 6.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006122/0.1822, allocations: 3.33 MB / 451.3 MB, free: 3.016 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003257/0.1855, allocations: 0.9522 MB / 452.2 MB, free: 2.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.1873, allocations: 0.6511 MB / 452.9 MB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2836/0.4709, allocations: 2.313 MB / 455.2 MB, free: 35.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004486/0.4754, allocations: 4.085 MB / 459.3 MB, free: 35.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00253/0.478, allocations: 1.362 MB / 460.6 MB, free: 35.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003199/0.4812, allocations: 1.772 MB / 462.4 MB, free: 34.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007006/0.4819, allocations: 359.6 kB / 462.7 MB, free: 34.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.4836, allocations: 0.8984 MB / 463.6 MB, free: 34.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.4849, allocations: 1.67 MB / 465.3 MB, free: 34.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002068/0.487, allocations: 1.958 MB / 467.3 MB, free: 33.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00526/0.4922, allocations: 6.088 MB / 473.4 MB, free: 31.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4923, allocations: 0 / 473.4 MB, free: 31.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4923, allocations: 0 / 473.4 MB, free: 31.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001258/0.4924, allocations: 4 kB / 473.4 MB, free: 31.79 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: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.007444/0.4998, allocations: 4.142 MB / 477.5 MB, free: 29.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.4999, allocations: 13.58 kB / 477.5 MB, free: 29.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.5015, allocations: 0.4955 MB / 478 MB, free: 29.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002679/0.5042, allocations: 1.743 MB / 479.8 MB, free: 28.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.5044, allocations: 233 kB / 480 MB, free: 28.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004284/0.5048, allocations: 320.5 kB / 480.3 MB, free: 28.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/0.5207, allocations: 8.677 MB / 489 MB, free: 24.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.201e-05/0.5209, allocations: 16.66 kB / 489 MB, free: 24.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003207/0.5212, allocations: 137.4 kB / 489.1 MB, free: 24.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00276/0.524, allocations: 1.565 MB / 490.7 MB, free: 24.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01829/0.5423, allocations: 6.714 MB / 497.4 MB, free: 22.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04316/0.5854, allocations: 26.74 MB / 0.5119 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006217/0.5917, allocations: 2.08 MB / 0.5139 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/0.5932, allocations: 1.026 MB / 0.5149 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008591/0.6018, allocations: 6.675 MB / 0.5214 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.6018, allocations: 47.06 kB / 0.5215 GB, free: 11.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 2.985e-06/0.6019, allocations: 0 / 0.5215 GB, free: 11.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=100): time 0.01901/0.6209, allocations: 6.737 MB / 0.528 GB, free: 4.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.29e-05/0.621, allocations: 141.5 kB / 0.5282 GB, free: 4.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003486/0.6245, allocations: 2.564 MB / 0.5307 GB, free: 2.188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.6247, allocations: 41.7 kB / 0.5307 GB, free: 2.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001522/0.6262, allocations: 2.363 MB / 0.533 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004051/0.6266, allocations: 401.7 kB / 0.5334 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.6277, allocations: 0.7894 MB / 0.5342 GB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.6278, allocations: 305.1 kB / 0.5345 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/0.6296, allocations: 1.131 MB / 0.5356 GB, free: 13.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00332/0.6329, allocations: 3.402 MB / 0.5389 GB, free: 8.672 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005855/0.6388, allocations: 4.859 MB / 0.5436 GB, free: 3.023 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-05/0.6389, allocations: 23 kB / 0.5437 GB, free: 3.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.007612/0.6465, allocations: 4.458 MB / 0.548 GB, free: 14.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.205e-05/0.6466, allocations: 40 kB / 0.5481 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-05/0.6467, allocations: 80 kB / 0.5481 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000108/0.6468, allocations: 108 kB / 0.5482 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00268/0.6495, allocations: 0.9202 MB / 0.5491 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001346/0.6496, allocations: 163.4 kB / 0.5493 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/0.652, allocations: 188 kB / 0.5495 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/0.6523, allocations: 232 kB / 0.5497 GB, free: 13.02 MB / 430.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.002828/0.6551, allocations: 1.581 MB / 0.5512 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003933/0.6555, allocations: 225.2 kB / 0.5514 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/0.6576, allocations: 1.263 MB / 0.5527 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.6576, allocations: 12 kB / 0.5527 GB, free: 9.918 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6576, allocations: 0 / 0.5527 GB, free: 9.918 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.6577, allocations: 11.98 kB / 0.5527 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/0.6678, allocations: 6.094 MB / 0.5587 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/0.6679, allocations: 16.22 kB / 0.5587 GB, free: 3.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009222/0.6688, allocations: 251.5 kB / 0.5589 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-05/0.6688, allocations: 24 kB / 0.5589 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.778e-05/0.6689, allocations: 47.98 kB / 0.559 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.644e-05/0.6689, allocations: 35.86 kB / 0.559 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.711e-05/0.669, allocations: 23.88 kB / 0.559 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/0.6718, allocations: 2.094 MB / 0.5611 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005509/0.6723, allocations: 314.1 kB / 0.5614 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.6726, allocations: 47.98 kB / 0.5614 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008955/0.6735, allocations: 59.95 kB / 0.5615 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.6737, allocations: 127.9 kB / 0.5616 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.253e-05/0.6737, allocations: 59.98 kB / 0.5617 GB, free: 180 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002266/0.676, allocations: 1.674 MB / 0.5633 GB, free: 14.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.676, allocations: 0 / 0.5633 GB, free: 14.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003125/0.6792, allocations: 0.6719 MB / 0.564 GB, free: 13.83 MB / 446.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 (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.0004061/0.6796, allocations: 213.7 kB / 0.5642 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005286/0.6849, allocations: 2.83 MB / 0.5669 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/0.6849, allocations: 4.188 kB / 0.5669 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.686, allocations: 0.6803 MB / 0.5676 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.688, allocations: 325.6 kB / 0.5679 GB, free: 9.809 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.7, allocations: 7.022 MB / 0.5748 GB, free: 2.543 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002894/0.7029, allocations: 2.746 MB / 0.5774 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002915/0.7059, allocations: 1.017 MB / 0.5784 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004168/0.7063, allocations: 183.3 kB / 0.5786 GB, free: 14.57 MB / 462.1 MB Notification: Performance of SimCode: time 1.313e-06/0.7063, allocations: 7.938 kB / 0.5786 GB, free: 14.56 MB / 462.1 MB Notification: Performance of Templates: time 0.04252/0.7488, allocations: 21.53 MB / 0.5996 GB, free: 9.129 MB / 478.1 MB 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)