Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001143/0.001143, allocations: 180.5 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.564/1.564, allocations: 194.3 MB / 202.4 MB, free: 8.539 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.001835/0.001835, allocations: 115.9 kB / 247.4 MB, free: 6.215 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.194/0.194, allocations: 39.94 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.786e-05/1.788e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 54.88 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3976/0.5018, allocations: 107.7 MB / 0.5428 GB, free: 8.723 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.5021, allocations: 79 kB / 0.5429 GB, free: 8.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3132/0.8153, allocations: 120.8 MB / 0.6609 GB, free: 7.352 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.8154, allocations: 0 / 0.6609 GB, free: 7.352 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003435/0.8157, allocations: 112 kB / 0.661 GB, free: 7.242 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1929 * Number of variables: 1929 Notification: Performance of Generate backend data structure: time 0.01914/0.8349, allocations: 5.638 MB / 0.6665 GB, free: 1.535 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.835, allocations: 8.031 kB / 0.6665 GB, free: 1.527 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2992/1.134, allocations: 4.723 MB / 0.6711 GB, free: 98.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01825/1.153, allocations: 6.611 MB / 0.6775 GB, free: 97.95 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004635/1.153, allocations: 265 kB / 0.6778 GB, free: 97.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002534/1.156, allocations: 327.9 kB / 0.6781 GB, free: 97.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01598/1.172, allocations: 8.454 MB / 0.6864 GB, free: 97.87 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02394/1.196, allocations: 12.05 MB / 0.6981 GB, free: 94.85 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002204/1.196, allocations: 71.36 kB / 0.6982 GB, free: 94.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008783/1.197, allocations: 36.59 kB / 0.6982 GB, free: 94.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001598/1.198, allocations: 1.291 MB / 0.6995 GB, free: 94.83 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06013/1.258, allocations: 57.54 MB / 0.7557 GB, free: 57.05 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004917/1.263, allocations: 3.924 MB / 0.7595 GB, free: 55 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003175/1.267, allocations: 2.619 MB / 0.7621 GB, free: 53.85 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01649/1.283, allocations: 11.73 MB / 0.7735 GB, free: 47.25 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/1.283, allocations: 57.66 kB / 0.7736 GB, free: 47.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=191): time 6.483e-06/1.283, allocations: 3.938 kB / 0.7736 GB, free: 47.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=242): time 0.07617/1.359, allocations: 33.53 MB / 0.8063 GB, free: 23.77 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/1.36, allocations: 231.6 kB / 0.8066 GB, free: 23.49 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006887/1.366, allocations: 3.66 MB / 0.8101 GB, free: 20.26 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004908/1.367, allocations: 25.7 kB / 0.8102 GB, free: 20.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0018/1.369, allocations: 3.96 MB / 0.814 GB, free: 16.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000713/1.369, allocations: 0.8841 MB / 0.8149 GB, free: 15.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003021/1.37, allocations: 4 kB / 0.8149 GB, free: 15.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003037/1.37, allocations: 0.6124 MB / 0.8155 GB, free: 15.31 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003158/1.373, allocations: 3.059 MB / 0.8185 GB, free: 12.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005145/1.378, allocations: 7.429 MB / 0.8257 GB, free: 3.398 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005794/1.384, allocations: 4.715 MB / 0.8303 GB, free: 15.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.331e-05/1.384, allocations: 44 kB / 0.8304 GB, free: 15.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=965) (initialization): time 0.0263/1.411, allocations: 12.81 MB / 0.8429 GB, free: 4.969 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/1.411, allocations: 75.95 kB / 0.843 GB, free: 4.895 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001975/1.411, allocations: 156.9 kB / 0.8431 GB, free: 4.742 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01131/1.422, allocations: 3.785 MB / 0.8468 GB, free: 1.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005783/1.428, allocations: 1.654 MB / 0.8484 GB, free: 168 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3236/1.752, allocations: 16.52 MB / 0.8646 GB, free: 97.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006488/1.758, allocations: 353.7 kB / 0.8649 GB, free: 97.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001307/1.76, allocations: 450 kB / 0.8653 GB, free: 97.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * Number of states: 0 () * Number of discrete variables: 34 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (882): * Single equations (assignments): 878 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001247/1.761, allocations: 491.1 kB / 0.8658 GB, free: 97.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008524/1.762, allocations: 407.1 kB / 0.8662 GB, free: 97.51 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01671/1.778, allocations: 7.876 MB / 0.8739 GB, free: 97.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.143e-05/1.779, allocations: 29.88 kB / 0.8739 GB, free: 97.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.178e-05/1.779, allocations: 14.5 kB / 0.8739 GB, free: 97.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.264e-05/1.779, allocations: 10.22 kB / 0.8739 GB, free: 97.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02978/1.808, allocations: 16.21 MB / 0.8898 GB, free: 95.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.769e-05/1.809, allocations: 4.656 kB / 0.8898 GB, free: 95.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/1.811, allocations: 395.3 kB / 0.8901 GB, free: 95.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01113/1.822, allocations: 3.814 MB / 0.8939 GB, free: 95.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005563/1.822, allocations: 15.03 kB / 0.8939 GB, free: 95.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01904/1.841, allocations: 15.01 MB / 0.9085 GB, free: 88.92 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/1.841, allocations: 3.688 kB / 0.9085 GB, free: 88.92 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02077/1.862, allocations: 12.34 MB / 0.9206 GB, free: 84.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002377/1.865, allocations: 0.8958 MB / 0.9215 GB, free: 84.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006317/1.865, allocations: 7.922 kB / 0.9215 GB, free: 84.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/1.867, allocations: 176.1 kB / 0.9216 GB, free: 84.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004891/1.868, allocations: 153.9 kB / 0.9218 GB, free: 84.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/1.868, allocations: 59.27 kB / 0.9218 GB, free: 84.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00347/1.872, allocations: 2.443 MB / 0.9242 GB, free: 83.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.872, allocations: 0 / 0.9242 GB, free: 83.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006738/1.878, allocations: 1.267 MB / 0.9255 GB, free: 83.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006113/1.879, allocations: 178.6 kB / 0.9256 GB, free: 83.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01017/1.889, allocations: 7.41 MB / 0.9329 GB, free: 80.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.889, allocations: 1.344 kB / 0.9329 GB, free: 80.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003478/1.893, allocations: 2.841 MB / 0.9356 GB, free: 79.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/1.895, allocations: 402.6 kB / 0.936 GB, free: 79.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02058/1.916, allocations: 10.48 MB / 0.9463 GB, free: 72.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004052/1.92, allocations: 4.204 MB / 0.9504 GB, free: 69.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005392/1.925, allocations: 2.206 MB / 0.9525 GB, free: 68.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007953/1.926, allocations: 273.5 kB / 0.9528 GB, free: 67.88 MB / 490.7 MB Notification: Performance of SimCode: time 2.154e-06/1.926, allocations: 0 / 0.9528 GB, free: 67.88 MB / 490.7 MB Notification: Performance of Templates: time 0.07786/2.004, allocations: 53.53 MB / 1.005 GB, free: 19.64 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)