Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP") translateModel(ModelicaTest.MultiBody.Joints.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001826/0.001826, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.851/1.851, allocations: 194.3 MB / 207.5 MB, free: 3.391 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001777/0.001777, allocations: 106.3 kB / 252.6 MB, free: 4.797 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2474/0.2474, allocations: 39.95 MB / 337.5 MB, free: 464 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.16e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1269, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5369/0.6638, allocations: 102.3 MB / 0.5443 GB, free: 5.547 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.6641, allocations: 80.7 kB / 0.5444 GB, free: 5.508 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1703/0.8345, allocations: 72.08 MB / 0.6148 GB, free: 5.164 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.098e-06/0.8345, allocations: 0 / 0.6148 GB, free: 5.164 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001909/0.8347, allocations: 79.94 kB / 0.6149 GB, free: 5.086 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.01141/0.8461, allocations: 3.879 MB / 0.6187 GB, free: 1.145 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.8462, allocations: 11.97 kB / 0.6187 GB, free: 1.133 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004505/0.8507, allocations: 0.7202 MB / 0.6194 GB, free: 416 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007475/0.8582, allocations: 2.575 MB / 0.6219 GB, free: 13.78 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004517/0.8587, allocations: 320.5 kB / 0.6222 GB, free: 13.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002595/0.8614, allocations: 423.9 kB / 0.6226 GB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02578/0.8872, allocations: 9.06 MB / 0.6315 GB, free: 3.598 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001864/0.8874, allocations: 19.81 kB / 0.6315 GB, free: 3.578 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001688/0.8891, allocations: 187.9 kB / 0.6317 GB, free: 3.395 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001798/0.8909, allocations: 0.8077 MB / 0.6325 GB, free: 2.582 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01751/0.9084, allocations: 7.171 MB / 0.6395 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3335/1.242, allocations: 29.67 MB / 0.6684 GB, free: 111.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007006/1.249, allocations: 2.125 MB / 0.6705 GB, free: 111.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/1.251, allocations: 0.9266 MB / 0.6714 GB, free: 111.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/1.261, allocations: 6.728 MB / 0.678 GB, free: 108 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/1.261, allocations: 43.69 kB / 0.678 GB, free: 108 MB / 474.7 MB Notification: Performance of pre-optimization done (n=80): time 4.248e-06/1.261, allocations: 3.969 kB / 0.678 GB, free: 108 MB / 474.7 MB Notification: Performance of matching and sorting (n=98): time 0.01809/1.279, allocations: 6.892 MB / 0.6848 GB, free: 105.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/1.28, allocations: 169.6 kB / 0.6849 GB, free: 105.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003062/1.283, allocations: 2.359 MB / 0.6872 GB, free: 105 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001674/1.283, allocations: 46.55 kB / 0.6873 GB, free: 105 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001255/1.284, allocations: 2.526 MB / 0.6897 GB, free: 103.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003198/1.284, allocations: 398.2 kB / 0.6901 GB, free: 103.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/1.285, allocations: 77.09 kB / 0.6902 GB, free: 103.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/1.285, allocations: 468.3 kB / 0.6906 GB, free: 103.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/1.286, allocations: 1.054 MB / 0.6917 GB, free: 103.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002399/1.288, allocations: 3.371 MB / 0.695 GB, free: 100.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002707/1.291, allocations: 1.837 MB / 0.6967 GB, free: 100.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.474e-05/1.291, allocations: 23.53 kB / 0.6968 GB, free: 100.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.007515/1.299, allocations: 4.351 MB / 0.701 GB, free: 99.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.237e-05/1.299, allocations: 43.06 kB / 0.7011 GB, free: 99.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.821e-05/1.299, allocations: 82.53 kB / 0.7011 GB, free: 99.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/1.299, allocations: 125.2 kB / 0.7013 GB, free: 99.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002619/1.302, allocations: 0.9371 MB / 0.7022 GB, free: 99.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.983e-05/1.302, allocations: 166.2 kB / 0.7023 GB, free: 99.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/1.305, allocations: 207.5 kB / 0.7025 GB, free: 99.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/1.305, allocations: 235.2 kB / 0.7028 GB, free: 99.81 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 43 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (501): * Single equations (assignments): 500 * 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.0004577/1.305, allocations: 433.4 kB / 0.7032 GB, free: 99.56 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003293/1.306, allocations: 230.2 kB / 0.7034 GB, free: 99.44 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/1.308, allocations: 1.166 MB / 0.7045 GB, free: 99.35 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/1.308, allocations: 14.86 kB / 0.7045 GB, free: 99.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.308, allocations: 0 / 0.7045 GB, free: 99.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/1.308, allocations: 6.422 kB / 0.7045 GB, free: 99.34 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009392/1.317, allocations: 6.795 MB / 0.7112 GB, free: 97.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.152e-05/1.317, allocations: 25.28 kB / 0.7112 GB, free: 97.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009235/1.318, allocations: 292.2 kB / 0.7115 GB, free: 97.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.138e-05/1.318, allocations: 30.56 kB / 0.7115 GB, free: 97.72 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.683e-05/1.318, allocations: 56.62 kB / 0.7116 GB, free: 97.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.911e-05/1.318, allocations: 50.11 kB / 0.7116 GB, free: 97.71 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.719e-05/1.318, allocations: 34.62 kB / 0.7116 GB, free: 97.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002947/1.321, allocations: 4.563 MB / 0.7161 GB, free: 93.98 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007026/1.322, allocations: 350 kB / 0.7164 GB, free: 93.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002454/1.322, allocations: 58.3 kB / 0.7165 GB, free: 93.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/1.323, allocations: 69.56 kB / 0.7166 GB, free: 93.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/1.323, allocations: 164.7 kB / 0.7167 GB, free: 93.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.246e-05/1.323, allocations: 68.86 kB / 0.7168 GB, free: 93.71 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002492/1.326, allocations: 1.732 MB / 0.7185 GB, free: 93.55 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.5e-07/1.326, allocations: 0 / 0.7185 GB, free: 93.55 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004073/1.33, allocations: 0.7108 MB / 0.7192 GB, free: 93.48 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 147 * 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.0003799/1.33, allocations: 206.8 kB / 0.7194 GB, free: 93.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003829/1.334, allocations: 2.554 MB / 0.7219 GB, free: 92.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.916e-06/1.334, allocations: 3.938 kB / 0.7219 GB, free: 92.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008473/1.335, allocations: 0.7205 MB / 0.7226 GB, free: 92.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/1.337, allocations: 329.5 kB / 0.7229 GB, free: 92.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.348, allocations: 6.237 MB / 0.729 GB, free: 89.02 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003161/1.351, allocations: 3.039 MB / 0.7319 GB, free: 87.76 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002985/1.354, allocations: 1.043 MB / 0.733 GB, free: 87.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/1.355, allocations: 186.3 kB / 0.7331 GB, free: 87.65 MB / 474.7 MB Notification: Performance of SimCode: time 1.182e-06/1.355, allocations: 4 kB / 0.7331 GB, free: 87.65 MB / 474.7 MB Notification: Performance of Templates: time 0.04173/1.396, allocations: 21.38 MB / 0.754 GB, free: 80.41 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1)