Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR") translateModel(ModelicaTest.MultiBody.Joints.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001734/0.001734, allocations: 181.9 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.717/1.717, allocations: 194.3 MB / 207.5 MB, free: 3.449 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.001635/0.001635, allocations: 105.9 kB / 252.6 MB, free: 4.828 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.245/0.245, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.133e-05/4.135e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4537/0.5654, allocations: 99.98 MB / 0.5421 GB, free: 7.812 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.5657, allocations: 76.95 kB / 0.5422 GB, free: 7.773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1404/0.7061, allocations: 56.3 MB / 0.5972 GB, free: 7.305 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.7062, allocations: 0 / 0.5972 GB, free: 7.305 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.256e-05/0.7063, allocations: 52 kB / 0.5972 GB, free: 7.254 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.00522/0.7115, allocations: 2.572 MB / 0.5997 GB, free: 4.625 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.7116, allocations: 8.031 kB / 0.5997 GB, free: 4.617 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002097/0.7137, allocations: 483.8 kB / 0.6002 GB, free: 4.141 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003103/0.7168, allocations: 1.54 MB / 0.6017 GB, free: 2.555 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.717, allocations: 217.6 kB / 0.6019 GB, free: 2.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004712/0.7174, allocations: 276 kB / 0.6022 GB, free: 2.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01639/0.7338, allocations: 6.631 MB / 0.6086 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.251e-05/0.734, allocations: 15.83 kB / 0.6087 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003417/0.7343, allocations: 127.9 kB / 0.6088 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009517/0.7353, allocations: 0.5278 MB / 0.6093 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/0.7487, allocations: 5.44 MB / 0.6146 GB, free: 4.984 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02851/0.7773, allocations: 21.29 MB / 0.6354 GB, free: 15.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007081/0.7844, allocations: 1.795 MB / 0.6372 GB, free: 13.27 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009956/0.7854, allocations: 0.6554 MB / 0.6378 GB, free: 12.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007696/0.7932, allocations: 4.902 MB / 0.6426 GB, free: 7.309 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.497e-05/0.7933, allocations: 43.11 kB / 0.6426 GB, free: 7.258 MB / 458.7 MB Notification: Performance of pre-optimization done (n=70): time 2.439e-05/0.7933, allocations: 4 kB / 0.6426 GB, free: 7.254 MB / 458.7 MB Notification: Performance of matching and sorting (n=110): time 0.02976/0.8231, allocations: 7.475 MB / 0.6499 GB, free: 15.76 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.8232, allocations: 90.11 kB / 0.65 GB, free: 15.65 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003514/0.8267, allocations: 1.71 MB / 0.6517 GB, free: 13.95 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.8269, allocations: 41.7 kB / 0.6517 GB, free: 13.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.8281, allocations: 1.667 MB / 0.6534 GB, free: 12.21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003731/0.8285, allocations: 410.5 kB / 0.6537 GB, free: 11.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.8286, allocations: 59.94 kB / 0.6538 GB, free: 11.74 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002223/0.8288, allocations: 428 kB / 0.6542 GB, free: 11.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.8304, allocations: 0.9976 MB / 0.6552 GB, free: 10.32 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002624/0.833, allocations: 2.592 MB / 0.6577 GB, free: 6.926 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/0.8353, allocations: 1.566 MB / 0.6592 GB, free: 5.359 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.589e-05/0.8353, allocations: 23.95 kB / 0.6593 GB, free: 5.336 MB / 474.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.005635/0.841, allocations: 3.583 MB / 0.6628 GB, free: 1.742 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.841, allocations: 28 kB / 0.6628 GB, free: 1.715 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-05/0.8411, allocations: 56 kB / 0.6628 GB, free: 1.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.71e-05/0.8412, allocations: 84 kB / 0.6629 GB, free: 1.578 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/0.8437, allocations: 0.7252 MB / 0.6636 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.544e-05/0.8438, allocations: 111.6 kB / 0.6637 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/0.8457, allocations: 167.8 kB / 0.6639 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002503/0.8459, allocations: 168 kB / 0.6641 GB, free: 424 kB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.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 (371): * Single equations (assignments): 371 * 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.0004279/0.8464, allocations: 330.6 kB / 0.6644 GB, free: 84 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3014/1.148, allocations: 178.2 kB / 0.6645 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005335/1.153, allocations: 1.701 MB / 0.6662 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/1.153, allocations: 10.66 kB / 0.6662 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/1.153, allocations: 9 kB / 0.6662 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/1.153, allocations: 5.438 kB / 0.6662 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01873/1.172, allocations: 5.872 MB / 0.672 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.786e-05/1.172, allocations: 11.09 kB / 0.672 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/1.174, allocations: 246.7 kB / 0.6722 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.797e-05/1.174, allocations: 19.06 kB / 0.6722 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/1.174, allocations: 43.23 kB / 0.6723 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.697e-05/1.174, allocations: 22.92 kB / 0.6723 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.983e-05/1.175, allocations: 20.66 kB / 0.6723 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004052/1.179, allocations: 2.608 MB / 0.6749 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008384/1.179, allocations: 267 kB / 0.6751 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002973/1.18, allocations: 33.7 kB / 0.6751 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009698/1.181, allocations: 64.28 kB / 0.6752 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/1.181, allocations: 99.89 kB / 0.6753 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.109e-05/1.181, allocations: 46.89 kB / 0.6753 GB, free: 126.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002763/1.184, allocations: 1.238 MB / 0.6766 GB, free: 126.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.3e-07/1.184, allocations: 0 / 0.6766 GB, free: 126.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003477/1.187, allocations: 0.5415 MB / 0.6771 GB, free: 126.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 110 * 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.0004218/1.188, allocations: 190.5 kB / 0.6773 GB, free: 126.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004063/1.192, allocations: 2.213 MB / 0.6794 GB, free: 126.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/1.192, allocations: 5.625 kB / 0.6794 GB, free: 126.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/1.193, allocations: 0.6048 MB / 0.68 GB, free: 126.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/1.195, allocations: 234.3 kB / 0.6802 GB, free: 126.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007523/1.202, allocations: 4.172 MB / 0.6843 GB, free: 125 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/1.204, allocations: 2.229 MB / 0.6865 GB, free: 124.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002168/1.206, allocations: 0.7749 MB / 0.6873 GB, free: 124.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000406/1.206, allocations: 132.5 kB / 0.6874 GB, free: 124.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.052e-06/1.206, allocations: 0 / 0.6874 GB, free: 124.2 MB / 474.7 MB Notification: Performance of Templates: time 0.03413/1.241, allocations: 18.06 MB / 0.705 GB, free: 123.5 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1)