Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR") translateModel(ModelicaTest.MultiBody.Joints.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001081/0.001081, allocations: 182.2 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.644/1.644, allocations: 194.3 MB / 207.5 MB, free: 3.395 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.001664/0.001664, allocations: 112.5 kB / 252.6 MB, free: 4.805 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.2272/0.2272, allocations: 39.94 MB / 337.5 MB, free: 468 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/2.982e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 54.87 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4202/0.5217, allocations: 102.8 MB / 0.5449 GB, free: 5.008 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.522, allocations: 78.27 kB / 0.545 GB, free: 4.969 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1799/0.7019, allocations: 73.62 MB / 0.6169 GB, free: 3.086 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.7019, allocations: 0 / 0.6169 GB, free: 3.086 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002607/0.7022, allocations: 76 kB / 0.617 GB, free: 3.012 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: 1385 * Number of variables: 1385 Notification: Performance of Generate backend data structure: time 0.01482/0.717, allocations: 4.09 MB / 0.6209 GB, free: 14.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/0.7171, allocations: 8.031 kB / 0.621 GB, free: 14.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005538/0.7226, allocations: 0.7475 MB / 0.6217 GB, free: 14.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007494/0.7302, allocations: 2.571 MB / 0.6242 GB, free: 11.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003413/0.7306, allocations: 320.4 kB / 0.6245 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001828/0.7324, allocations: 419.9 kB / 0.6249 GB, free: 10.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0239/0.7563, allocations: 9.843 MB / 0.6345 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001085/0.7565, allocations: 19.81 kB / 0.6345 GB, free: 0.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008472/0.7573, allocations: 183.9 kB / 0.6347 GB, free: 328 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001583/0.7589, allocations: 0.8591 MB / 0.6355 GB, free: 15.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02029/0.7792, allocations: 8.361 MB / 0.6437 GB, free: 7.086 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3173/1.097, allocations: 31.84 MB / 0.6748 GB, free: 101.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00928/1.106, allocations: 2.999 MB / 0.6777 GB, free: 101.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002422/1.108, allocations: 1.541 MB / 0.6792 GB, free: 101.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01306/1.121, allocations: 8.972 MB / 0.688 GB, free: 98.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/1.122, allocations: 48.45 kB / 0.688 GB, free: 98.37 MB / 474.7 MB Notification: Performance of pre-optimization done (n=91): time 3.446e-06/1.122, allocations: 0 / 0.688 GB, free: 98.37 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.02125/1.143, allocations: 7.637 MB / 0.6955 GB, free: 96.73 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/1.143, allocations: 119.5 kB / 0.6956 GB, free: 96.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004082/1.147, allocations: 2.494 MB / 0.6981 GB, free: 96.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002578/1.147, allocations: 42.48 kB / 0.6981 GB, free: 96.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00203/1.149, allocations: 2.498 MB / 0.7005 GB, free: 94.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006243/1.15, allocations: 434.3 kB / 0.7009 GB, free: 94.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/1.15, allocations: 81.09 kB / 0.701 GB, free: 94.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002255/1.15, allocations: 478.7 kB / 0.7015 GB, free: 94.44 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/1.152, allocations: 1.406 MB / 0.7029 GB, free: 94.42 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003048/1.156, allocations: 3.718 MB / 0.7065 GB, free: 91.43 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002618/1.158, allocations: 2.215 MB / 0.7086 GB, free: 91.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.571e-05/1.158, allocations: 26.72 kB / 0.7087 GB, free: 91.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.006746/1.165, allocations: 5.088 MB / 0.7136 GB, free: 91.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.767e-05/1.165, allocations: 46.09 kB / 0.7137 GB, free: 91.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-05/1.165, allocations: 79.91 kB / 0.7138 GB, free: 91.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001017/1.165, allocations: 121.8 kB / 0.7139 GB, free: 91.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002945/1.168, allocations: 0.9997 MB / 0.7149 GB, free: 91.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001011/1.168, allocations: 165.1 kB / 0.715 GB, free: 91.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/1.171, allocations: 246 kB / 0.7152 GB, free: 90.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000299/1.171, allocations: 237.3 kB / 0.7155 GB, free: 90.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 46 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[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 (521): * Single equations (assignments): 520 * 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.000465/1.172, allocations: 432.4 kB / 0.7159 GB, free: 90.56 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/1.172, allocations: 237 kB / 0.7161 GB, free: 90.43 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/1.175, allocations: 2.044 MB / 0.7181 GB, free: 89.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/1.175, allocations: 10.19 kB / 0.7181 GB, free: 89.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.175, allocations: 3.25 kB / 0.7181 GB, free: 89.52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/1.175, allocations: 7.359 kB / 0.7181 GB, free: 89.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009834/1.185, allocations: 6.967 MB / 0.7249 GB, free: 86.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-05/1.185, allocations: 18.06 kB / 0.7249 GB, free: 86.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009946/1.186, allocations: 290.1 kB / 0.7252 GB, free: 86.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.466e-05/1.186, allocations: 28.97 kB / 0.7253 GB, free: 86.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.201e-05/1.186, allocations: 47.91 kB / 0.7253 GB, free: 86.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.31e-05/1.186, allocations: 41.23 kB / 0.7253 GB, free: 86.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/1.186, allocations: 33.11 kB / 0.7254 GB, free: 86.03 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002966/1.189, allocations: 4.227 MB / 0.7295 GB, free: 82.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006921/1.19, allocations: 356.6 kB / 0.7298 GB, free: 82.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/1.19, allocations: 56.81 kB / 0.7299 GB, free: 82.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009744/1.191, allocations: 72.52 kB / 0.73 GB, free: 82.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/1.191, allocations: 153.9 kB / 0.7301 GB, free: 82.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.76e-05/1.191, allocations: 60.91 kB / 0.7302 GB, free: 82.06 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002409/1.194, allocations: 1.756 MB / 0.7319 GB, free: 81.38 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.212e-06/1.194, allocations: 0 / 0.7319 GB, free: 81.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003941/1.198, allocations: 0.7634 MB / 0.7326 GB, free: 81.29 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 155 * 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.0004828/1.198, allocations: 218.8 kB / 0.7328 GB, free: 81.14 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004747/1.203, allocations: 3.156 MB / 0.7359 GB, free: 79.94 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/1.203, allocations: 3.594 kB / 0.7359 GB, free: 79.94 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/1.204, allocations: 0.8789 MB / 0.7368 GB, free: 79.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/1.206, allocations: 309.3 kB / 0.7371 GB, free: 79.47 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/1.219, allocations: 6.32 MB / 0.7432 GB, free: 76.49 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002763/1.222, allocations: 3.026 MB / 0.7462 GB, free: 75.22 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002825/1.225, allocations: 1.045 MB / 0.7472 GB, free: 75.11 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005056/1.226, allocations: 194.5 kB / 0.7474 GB, free: 75.09 MB / 474.7 MB Notification: Performance of SimCode: time 1.473e-06/1.226, allocations: 0 / 0.7474 GB, free: 75.09 MB / 474.7 MB Notification: Performance of Templates: time 0.04305/1.269, allocations: 24.58 MB / 0.7714 GB, free: 60.43 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1)