Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP") translateModel(ModelicaTest.MultiBody.Joints.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004722/0.004722, allocations: 174.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.566/1.566, allocations: 194.5 MB / 210.3 MB, free: 8.52 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.00183/0.00183, allocations: 112.7 kB / 255.6 MB, free: 11.13 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.2306/0.2306, allocations: 40.02 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004302/0.0004302, allocations: 10.44 kB / 406.2 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1323, allocations: 54.87 MB / 461 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.481/0.6133, allocations: 99 MB / 0.5469 GB, free: 21.87 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.6136, allocations: 84.39 kB / 0.547 GB, free: 21.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.124/0.7376, allocations: 54.5 MB / 0.6002 GB, free: 5.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.7376, allocations: 0 / 0.6002 GB, free: 5.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001618/0.7378, allocations: 51.19 kB / 0.6002 GB, free: 5.504 MB / 378.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.009032/0.7468, allocations: 2.493 MB / 0.6027 GB, free: 3.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.7469, allocations: 7.344 kB / 0.6027 GB, free: 3.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003229/0.7501, allocations: 483.5 kB / 0.6031 GB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004425/0.7546, allocations: 1.511 MB / 0.6046 GB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002851/0.7549, allocations: 215.8 kB / 0.6048 GB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001798/0.7568, allocations: 284.5 kB / 0.6051 GB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02187/0.7787, allocations: 5.992 MB / 0.6109 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002914/0.779, allocations: 11.88 kB / 0.611 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001629/0.7807, allocations: 129.5 kB / 0.6111 GB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00123/0.7819, allocations: 482.5 kB / 0.6115 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0134/0.7954, allocations: 4.569 MB / 0.616 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03449/0.8299, allocations: 19.87 MB / 0.6354 GB, free: 6.707 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004891/0.8349, allocations: 1.247 MB / 0.6366 GB, free: 5.445 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002231/0.8372, allocations: 2.073 MB / 0.6386 GB, free: 3.051 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/0.8372, allocations: 43.12 kB / 0.6387 GB, free: 3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 4.138e-06/0.8373, allocations: 0 / 0.6387 GB, free: 3 MB / 410.7 MB Notification: Performance of matching and sorting (n=110): time 0.02784/0.8651, allocations: 6.63 MB / 0.6452 GB, free: 12.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.8652, allocations: 90.11 kB / 0.6453 GB, free: 12.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004286/0.8695, allocations: 1.596 MB / 0.6468 GB, free: 10.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001758/0.8697, allocations: 45.7 kB / 0.6469 GB, free: 10.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001806/0.8716, allocations: 1.64 MB / 0.6485 GB, free: 8.953 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006433/0.8722, allocations: 412.8 kB / 0.6488 GB, free: 8.555 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.8725, allocations: 56 kB / 0.6489 GB, free: 8.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003753/0.8729, allocations: 431.6 kB / 0.6493 GB, free: 8.074 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001805/0.8747, allocations: 0.7863 MB / 0.6501 GB, free: 7.285 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002999/0.8777, allocations: 2.317 MB / 0.6523 GB, free: 4.211 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.8802, allocations: 1.322 MB / 0.6536 GB, free: 2.887 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.265e-05/0.8802, allocations: 12 kB / 0.6536 GB, free: 2.875 MB / 426.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.006375/0.8866, allocations: 3.118 MB / 0.6567 GB, free: 15.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.3e-05/0.8867, allocations: 29.41 kB / 0.6567 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.406e-05/0.8868, allocations: 52 kB / 0.6568 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.98e-05/0.8869, allocations: 84 kB / 0.6568 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/0.8891, allocations: 0.6395 MB / 0.6575 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001588/0.8893, allocations: 111.6 kB / 0.6576 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/0.8915, allocations: 127.9 kB / 0.6577 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003769/0.8919, allocations: 156 kB / 0.6578 GB, free: 14.56 MB / 442.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 () * Number of clocked 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.002771/0.8947, allocations: 1.199 MB / 0.659 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004431/0.8951, allocations: 169.8 kB / 0.6592 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.8976, allocations: 1.254 MB / 0.6604 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.8977, allocations: 12 kB / 0.6604 GB, free: 11.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.8977, allocations: 0 / 0.6604 GB, free: 11.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.8977, allocations: 7.969 kB / 0.6604 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/0.9121, allocations: 6.433 MB / 0.6667 GB, free: 5.094 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.458e-05/0.9123, allocations: 20 kB / 0.6667 GB, free: 5.074 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007331/0.913, allocations: 208.4 kB / 0.6669 GB, free: 4.871 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-05/0.9131, allocations: 31.83 kB / 0.667 GB, free: 4.844 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.522e-05/0.9132, allocations: 48 kB / 0.667 GB, free: 4.797 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-05/0.9132, allocations: 39.86 kB / 0.667 GB, free: 4.758 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.309e-05/0.9132, allocations: 27.88 kB / 0.6671 GB, free: 4.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00359/0.9168, allocations: 3.178 MB / 0.6702 GB, free: 496 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008158/0.9177, allocations: 274.8 kB / 0.6704 GB, free: 200 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004447/0.9181, allocations: 55.94 kB / 0.6705 GB, free: 144 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.9191, allocations: 39.98 kB / 0.6705 GB, free: 104 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.9193, allocations: 135.5 kB / 0.6707 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.152e-05/0.9194, allocations: 51.94 kB / 0.6707 GB, free: 15.92 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002573/0.922, allocations: 1.196 MB / 0.6719 GB, free: 14.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.922, allocations: 0 / 0.6719 GB, free: 14.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003556/0.9256, allocations: 0.4922 MB / 0.6724 GB, free: 14.23 MB / 458.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 () * Number of clocked 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.0005197/0.9261, allocations: 210.4 kB / 0.6726 GB, free: 14.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0038/0.9299, allocations: 1.813 MB / 0.6743 GB, free: 12.22 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/0.93, allocations: 0 / 0.6743 GB, free: 12.22 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000878/0.9309, allocations: 490.9 kB / 0.6748 GB, free: 11.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.9327, allocations: 251.9 kB / 0.675 GB, free: 11.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.9459, allocations: 6.212 MB / 0.6811 GB, free: 4.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004/0.95, allocations: 2.236 MB / 0.6833 GB, free: 2.707 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002721/0.9527, allocations: 0.7032 MB / 0.684 GB, free: 2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005727/0.9533, allocations: 135.4 kB / 0.6841 GB, free: 1.867 MB / 458.7 MB Notification: Performance of SimCode: time 1.613e-06/0.9533, allocations: 0 / 0.6841 GB, free: 1.867 MB / 458.7 MB Notification: Performance of Templates: time 0.03809/0.9915, allocations: 15.4 MB / 0.6991 GB, free: 2.508 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1)