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.001187/0.001188, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00131/0.00131, allocations: 191.6 kB / 16.14 MB, free: 6.703 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.794/1.794, allocations: 205.1 MB / 222 MB, free: 4.77 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.3751/0.3751, allocations: 37.98 MB / 307.3 MB, free: 10.11 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.00133/0.00133, allocations: 72.55 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1353, allocations: 56.47 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.3257/0.4611, allocations: 47.53 MB / 478.6 MB, free: 27.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0317/0.4928, allocations: 9.297 MB / 487.8 MB, free: 21.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01325/0.5061, allocations: 197 kB / 488 MB, free: 21.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006132/0.5124, allocations: 3.349 MB / 491.4 MB, free: 20.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00345/0.5159, allocations: 0.8867 MB / 492.3 MB, free: 19.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.5181, allocations: 0.5928 MB / 492.9 MB, free: 19.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005466/0.5236, allocations: 3.766 MB / 496.6 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006257/0.5299, allocations: 4.033 MB / 0.4889 GB, free: 16.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003263/0.5332, allocations: 1.218 MB / 0.4901 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003841/0.537, allocations: 1.844 MB / 0.4919 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001652/0.5387, allocations: 258.9 kB / 0.4922 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003109/0.5418, allocations: 0.8644 MB / 0.493 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00312/0.545, allocations: 1.603 MB / 0.4946 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00393/0.5489, allocations: 1.853 MB / 0.4964 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009296/0.5582, allocations: 6.008 MB / 0.5023 GB, free: 11.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.168e-06/0.5583, allocations: 0 / 0.5023 GB, free: 11.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5583, allocations: 0 / 0.5023 GB, free: 11.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002923/0.5586, allocations: 0 / 0.5023 GB, free: 11.38 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.01384/0.5724, allocations: 4.148 MB / 0.5063 GB, free: 9.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.5725, allocations: 9.406 kB / 0.5063 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002409/0.5749, allocations: 0.4915 MB / 0.5068 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003764/0.5787, allocations: 1.745 MB / 0.5085 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/0.579, allocations: 235.6 kB / 0.5087 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006162/0.5796, allocations: 316.5 kB / 0.509 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01962/0.5992, allocations: 8.689 MB / 0.5175 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-05/0.5993, allocations: 15.34 kB / 0.5175 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003481/0.5997, allocations: 143.4 kB / 0.5177 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002486/0.6022, allocations: 1.557 MB / 0.5192 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01732/0.6195, allocations: 6.702 MB / 0.5257 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04504/0.6646, allocations: 26.74 MB / 0.5518 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006897/0.6716, allocations: 2.077 MB / 0.5539 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/0.6733, allocations: 1.021 MB / 0.5549 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009624/0.683, allocations: 6.688 MB / 0.5614 GB, free: 5.945 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.683, allocations: 47.14 kB / 0.5614 GB, free: 5.891 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.955e-06/0.683, allocations: 0 / 0.5614 GB, free: 5.891 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.01926/0.7023, allocations: 6.737 MB / 0.568 GB, free: 15.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.7024, allocations: 145.5 kB / 0.5682 GB, free: 14.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003787/0.7062, allocations: 2.556 MB / 0.5707 GB, free: 12.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001727/0.7064, allocations: 41.7 kB / 0.5707 GB, free: 12.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001567/0.708, allocations: 2.368 MB / 0.573 GB, free: 9.902 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004059/0.7084, allocations: 407 kB / 0.5734 GB, free: 9.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/0.7095, allocations: 0.7855 MB / 0.5742 GB, free: 8.707 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.7096, allocations: 305.1 kB / 0.5745 GB, free: 8.406 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/0.7114, allocations: 1.136 MB / 0.5756 GB, free: 7.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003596/0.715, allocations: 3.402 MB / 0.5789 GB, free: 2.746 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006136/0.7212, allocations: 4.851 MB / 0.5836 GB, free: 12.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.299e-05/0.7213, allocations: 24 kB / 0.5836 GB, free: 12.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.007957/0.7293, allocations: 4.454 MB / 0.588 GB, free: 8.285 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.134e-05/0.7294, allocations: 40.94 kB / 0.588 GB, free: 8.246 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/0.7295, allocations: 80 kB / 0.5881 GB, free: 8.168 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001113/0.7296, allocations: 108 kB / 0.5882 GB, free: 8.062 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002886/0.7325, allocations: 0.928 MB / 0.5891 GB, free: 7.133 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001548/0.7327, allocations: 159.4 kB / 0.5893 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/0.7357, allocations: 183.8 kB / 0.5894 GB, free: 6.797 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003417/0.7361, allocations: 232 kB / 0.5897 GB, free: 6.57 MB / 462.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.003218/0.7393, allocations: 1.589 MB / 0.5912 GB, free: 4.973 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005803/0.7399, allocations: 221.1 kB / 0.5914 GB, free: 4.754 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.7423, allocations: 1.275 MB / 0.5927 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.7423, allocations: 16 kB / 0.5927 GB, free: 3.453 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.7423, allocations: 0 / 0.5927 GB, free: 3.453 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.7423, allocations: 7.984 kB / 0.5927 GB, free: 3.445 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.7525, allocations: 6.081 MB / 0.5986 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.529e-05/0.7526, allocations: 16 kB / 0.5987 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009675/0.7536, allocations: 255.5 kB / 0.5989 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.277e-05/0.7536, allocations: 24 kB / 0.5989 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-05/0.7537, allocations: 40.66 kB / 0.599 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.762e-05/0.7537, allocations: 35.92 kB / 0.599 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.521e-05/0.7538, allocations: 23.88 kB / 0.599 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003062/0.7568, allocations: 2.092 MB / 0.6011 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009128/0.7578, allocations: 318 kB / 0.6014 GB, free: 9.996 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/0.7581, allocations: 47.98 kB / 0.6014 GB, free: 9.949 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009789/0.7591, allocations: 63.95 kB / 0.6015 GB, free: 9.887 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.7592, allocations: 123.8 kB / 0.6016 GB, free: 9.762 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.76e-05/0.7593, allocations: 59.98 kB / 0.6016 GB, free: 9.703 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002945/0.7623, allocations: 1.667 MB / 0.6033 GB, free: 8.027 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7623, allocations: 7.938 kB / 0.6033 GB, free: 8.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003897/0.7662, allocations: 0.6719 MB / 0.6039 GB, free: 7.348 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 (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.0004668/0.7667, allocations: 222.5 kB / 0.6041 GB, free: 7.125 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004759/0.7715, allocations: 2.617 MB / 0.6067 GB, free: 4.523 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/0.7715, allocations: 5.875 kB / 0.6067 GB, free: 4.52 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.7725, allocations: 0.6736 MB / 0.6074 GB, free: 3.848 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/0.7748, allocations: 324.5 kB / 0.6077 GB, free: 3.535 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/0.7901, allocations: 8.717 MB / 0.6162 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003243/0.7934, allocations: 2.746 MB / 0.6189 GB, free: 7.797 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003026/0.7964, allocations: 1.021 MB / 0.6199 GB, free: 6.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004795/0.7969, allocations: 179.4 kB / 0.62 GB, free: 6.594 MB / 494.1 MB Notification: Performance of SimCode: time 1.453e-06/0.797, allocations: 0 / 0.62 GB, free: 6.594 MB / 494.1 MB Notification: Performance of Templates: time 0.2876/1.085, allocations: 20.76 MB / 0.6403 GB, free: 148.4 MB / 494.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)