Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP") translateModel(ModelicaTest.MultiBody.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009735/0.009734, allocations: 175.1 kB / 15.12 MB, free: 5.973 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.733/1.733, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.001955/0.001955, allocations: 116.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1945/0.1945, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003725, allocations: 14.34 kB / 406.2 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1225, allocations: 54.88 MB / 461 MB, free: 3.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.552/0.6745, allocations: 100.2 MB / 0.548 GB, free: 21.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.6748, allocations: 76.3 kB / 0.5481 GB, free: 21.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1583/0.8331, allocations: 74.45 MB / 0.6208 GB, free: 6.211 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.8331, allocations: 0 / 0.6208 GB, free: 6.211 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000151/0.8333, allocations: 72 kB / 0.6209 GB, free: 6.141 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.0108/0.8441, allocations: 3.745 MB / 0.6245 GB, free: 2.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.8442, allocations: 8.031 kB / 0.6245 GB, free: 2.652 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003891/0.8481, allocations: 0.6723 MB / 0.6252 GB, free: 1.977 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005669/0.8538, allocations: 2.188 MB / 0.6273 GB, free: 268 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/0.854, allocations: 298.1 kB / 0.6276 GB, free: 80 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009764/0.855, allocations: 387.9 kB / 0.628 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02065/0.8757, allocations: 8.565 MB / 0.6364 GB, free: 6.887 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.99e-05/0.8758, allocations: 15.88 kB / 0.6364 GB, free: 6.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004799/0.8763, allocations: 175.9 kB / 0.6365 GB, free: 6.699 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001505/0.8778, allocations: 0.7797 MB / 0.6373 GB, free: 5.914 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01569/0.8935, allocations: 6.773 MB / 0.6439 GB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04206/0.9356, allocations: 27.72 MB / 0.671 GB, free: 2.652 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006405/0.9421, allocations: 1.936 MB / 0.6729 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009545/0.9517, allocations: 6.361 MB / 0.6791 GB, free: 9.781 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.9517, allocations: 47.2 kB / 0.6791 GB, free: 9.727 MB / 458.7 MB Notification: Performance of pre-optimization done (n=77): time 3.626e-06/0.9518, allocations: 0 / 0.6791 GB, free: 9.727 MB / 458.7 MB Notification: Performance of matching and sorting (n=95): time 0.01684/0.9686, allocations: 6.284 MB / 0.6853 GB, free: 3.391 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/0.9687, allocations: 145.9 kB / 0.6854 GB, free: 3.219 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003669/0.9724, allocations: 2.199 MB / 0.6876 GB, free: 1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.9726, allocations: 41.7 kB / 0.6876 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001825/0.9744, allocations: 2.395 MB / 0.6899 GB, free: 14.52 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003892/0.9748, allocations: 387.2 kB / 0.6903 GB, free: 14.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.975, allocations: 72 kB / 0.6904 GB, free: 14.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002979/0.9753, allocations: 466 kB / 0.6908 GB, free: 13.61 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/0.9768, allocations: 0.9325 MB / 0.6917 GB, free: 12.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00307/0.9799, allocations: 3.228 MB / 0.6949 GB, free: 8.301 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002266/0.9822, allocations: 1.673 MB / 0.6965 GB, free: 6.629 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.233e-05/0.9822, allocations: 24 kB / 0.6965 GB, free: 6.605 MB / 474.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.00619/0.9884, allocations: 4.059 MB / 0.7005 GB, free: 2.539 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.295e-05/0.9885, allocations: 45.52 kB / 0.7006 GB, free: 2.496 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-05/0.9886, allocations: 80 kB / 0.7006 GB, free: 2.418 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001154/0.9887, allocations: 120 kB / 0.7007 GB, free: 2.301 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/0.9911, allocations: 0.8932 MB / 0.7016 GB, free: 1.406 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001247/0.9913, allocations: 167.4 kB / 0.7018 GB, free: 1.242 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/0.9934, allocations: 163.9 kB / 0.7019 GB, free: 1.082 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002755/0.9936, allocations: 228 kB / 0.7021 GB, free: 0.8594 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: 37 (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.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 (480): * Single equations (assignments): 480 * 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.00266/0.9963, allocations: 1.577 MB / 0.7037 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003735/0.9967, allocations: 217.2 kB / 0.7039 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.9986, allocations: 1.13 MB / 0.705 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.9986, allocations: 12 kB / 0.705 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.9987, allocations: 0 / 0.705 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.9987, allocations: 11.92 kB / 0.705 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009756/1.008, allocations: 6.159 MB / 0.711 GB, free: 7.379 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/1.009, allocations: 20 kB / 0.7111 GB, free: 7.359 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007528/1.009, allocations: 247.5 kB / 0.7113 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.03e-05/1.009, allocations: 28.69 kB / 0.7113 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.858e-05/1.009, allocations: 48 kB / 0.7114 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.713e-05/1.009, allocations: 39.86 kB / 0.7114 GB, free: 7.004 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.98e-05/1.009, allocations: 31.88 kB / 0.7114 GB, free: 6.973 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003361/1.013, allocations: 3.765 MB / 0.7151 GB, free: 2.508 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007501/1.014, allocations: 330 kB / 0.7154 GB, free: 2.164 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/1.014, allocations: 47.98 kB / 0.7155 GB, free: 2.117 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007571/1.015, allocations: 47.98 kB / 0.7155 GB, free: 2.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/1.015, allocations: 143.5 kB / 0.7157 GB, free: 1.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.467e-05/1.015, allocations: 63.98 kB / 0.7157 GB, free: 1.867 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002651/1.018, allocations: 1.604 MB / 0.7173 GB, free: 260 kB / 490.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.018, allocations: 0 / 0.7173 GB, free: 260 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.2237/1.241, allocations: 0.6437 MB / 0.7179 GB, free: 127.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * 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 (133): * Single equations (assignments): 133 * 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.0004928/1.242, allocations: 207.1 kB / 0.7181 GB, free: 127.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003872/1.246, allocations: 2.295 MB / 0.7203 GB, free: 127.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/1.246, allocations: 7.125 kB / 0.7204 GB, free: 127.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008268/1.246, allocations: 0.5775 MB / 0.7209 GB, free: 127.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/1.248, allocations: 304.2 kB / 0.7212 GB, free: 127.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/1.262, allocations: 8.229 MB / 0.7292 GB, free: 123.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004147/1.266, allocations: 2.81 MB / 0.732 GB, free: 123 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003561/1.27, allocations: 0.9995 MB / 0.733 GB, free: 123 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005361/1.271, allocations: 170.1 kB / 0.7331 GB, free: 123 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/1.271, allocations: 0 / 0.7331 GB, free: 123 MB / 490.7 MB Notification: Performance of Templates: time 0.03426/1.305, allocations: 18.81 MB / 0.7515 GB, free: 122.2 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1)