Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP") translateModel(ModelicaTest.MultiBody.Joints.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009612/0.0009616, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.232/1.232, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001667/0.001667, allocations: 110.8 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1887/0.1887, allocations: 38 MB / 300.4 MB, free: 5.336 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.243e-05/4.244e-05, allocations: 7.984 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09326/0.09332, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.376/0.4694, allocations: 92.39 MB / 498.1 MB, free: 17.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001723/0.4697, allocations: 75.02 kB / 498.2 MB, free: 17.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1178/0.5874, allocations: 54.55 MB / 0.5398 GB, free: 76 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5875, allocations: 4 kB / 0.5398 GB, free: 72 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001214/0.5876, allocations: 48 kB / 0.5398 GB, free: 24 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.00483/0.5925, allocations: 2.364 MB / 0.5421 GB, free: 13.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.5925, allocations: 8.031 kB / 0.5421 GB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/0.5948, allocations: 481.3 kB / 0.5426 GB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002994/0.5978, allocations: 1.515 MB / 0.5441 GB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.598, allocations: 215.5 kB / 0.5443 GB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004703/0.5984, allocations: 281.5 kB / 0.5445 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01224/0.6107, allocations: 5.916 MB / 0.5503 GB, free: 5.492 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.902e-05/0.6108, allocations: 15.88 kB / 0.5503 GB, free: 5.477 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002985/0.6111, allocations: 124 kB / 0.5504 GB, free: 5.355 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007843/0.6119, allocations: 488 kB / 0.5509 GB, free: 4.875 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.6225, allocations: 4.485 MB / 0.5553 GB, free: 392 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02564/0.6481, allocations: 19.87 MB / 0.5747 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003941/0.6521, allocations: 1.227 MB / 0.5759 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005531/0.6527, allocations: 371.3 kB / 0.5763 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001988/0.6547, allocations: 2.081 MB / 0.5783 GB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.6548, allocations: 43.08 kB / 0.5783 GB, free: 7.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 3.045e-06/0.6548, allocations: 0 / 0.5783 GB, free: 7.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=110): time 0.01826/0.673, allocations: 5.375 MB / 0.5836 GB, free: 2.465 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.6731, allocations: 90.11 kB / 0.5837 GB, free: 2.355 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.6753, allocations: 1.58 MB / 0.5852 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.965e-05/0.6754, allocations: 45.7 kB / 0.5852 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.6765, allocations: 1.644 MB / 0.5869 GB, free: 15.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003137/0.6768, allocations: 410.5 kB / 0.5872 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.873e-05/0.6769, allocations: 56 kB / 0.5873 GB, free: 14.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.6771, allocations: 423.8 kB / 0.5877 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.6783, allocations: 0.767 MB / 0.5885 GB, free: 13.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002109/0.6804, allocations: 2.29 MB / 0.5907 GB, free: 10.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.6821, allocations: 1.32 MB / 0.592 GB, free: 9.039 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.271e-05/0.6822, allocations: 19.94 kB / 0.592 GB, free: 9.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.00453/0.6867, allocations: 3.066 MB / 0.595 GB, free: 5.945 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.097e-05/0.6867, allocations: 31.95 kB / 0.595 GB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.793e-05/0.6868, allocations: 56 kB / 0.5951 GB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.728e-05/0.6869, allocations: 80 kB / 0.5952 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/0.6887, allocations: 0.648 MB / 0.5958 GB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.566e-05/0.6888, allocations: 107.6 kB / 0.5959 GB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.6902, allocations: 119.8 kB / 0.596 GB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/0.6904, allocations: 160 kB / 0.5962 GB, free: 4.754 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 247 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (359): * Single equations (assignments): 359 * 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 prepare postOptimizeDAE: time 0.0003408/0.6907, allocations: 334.7 kB / 0.5965 GB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.691, allocations: 165.8 kB / 0.5966 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.6929, allocations: 1.235 MB / 0.5978 GB, free: 3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.6929, allocations: 12 kB / 0.5978 GB, free: 2.988 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6929, allocations: 0 / 0.5978 GB, free: 2.988 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.693, allocations: 4.016 kB / 0.5979 GB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008538/0.7015, allocations: 6.435 MB / 0.6041 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/0.7016, allocations: 20 kB / 0.6042 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006665/0.7022, allocations: 211.7 kB / 0.6044 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.772e-05/0.7023, allocations: 31.95 kB / 0.6044 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.05e-05/0.7023, allocations: 44 kB / 0.6044 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.244e-05/0.7024, allocations: 39.86 kB / 0.6045 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-05/0.7024, allocations: 27.88 kB / 0.6045 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/0.7049, allocations: 3.168 MB / 0.6076 GB, free: 7.551 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/0.7053, allocations: 274.8 kB / 0.6078 GB, free: 7.262 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.7055, allocations: 51.98 kB / 0.6079 GB, free: 7.211 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006428/0.7061, allocations: 36 kB / 0.6079 GB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.7063, allocations: 131.5 kB / 0.6081 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.756e-05/0.7064, allocations: 56 kB / 0.6081 GB, free: 6.992 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00157/0.7079, allocations: 1.177 MB / 0.6093 GB, free: 5.824 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7079, allocations: 0 / 0.6093 GB, free: 5.824 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002034/0.71, allocations: 0.496 MB / 0.6097 GB, free: 5.328 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 109 * 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.000343/0.7103, allocations: 194.6 kB / 0.6099 GB, free: 5.133 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002562/0.7129, allocations: 1.785 MB / 0.6117 GB, free: 3.359 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.7129, allocations: 4.5 kB / 0.6117 GB, free: 3.355 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005811/0.7135, allocations: 482.4 kB / 0.6121 GB, free: 2.887 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000995/0.7145, allocations: 247.9 kB / 0.6124 GB, free: 2.645 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2611/0.9756, allocations: 4.223 MB / 0.6165 GB, free: 111.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002884/0.9786, allocations: 2.239 MB / 0.6187 GB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003296/0.9819, allocations: 0.7024 MB / 0.6194 GB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005043/0.9824, allocations: 132.6 kB / 0.6195 GB, free: 110.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.243e-06/0.9824, allocations: 2.5 kB / 0.6195 GB, free: 110.4 MB / 426.7 MB Notification: Performance of Templates: time 0.05482/1.037, allocations: 15.42 MB / 0.6346 GB, free: 109.9 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1)