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.009722/0.009722, allocations: 174.7 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.715/1.715, 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.001797/0.001796, allocations: 132.5 kB / 255.6 MB, free: 10.22 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.1892/0.1892, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004166/0.0004166, allocations: 11.09 kB / 406.2 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1118, allocations: 54.87 MB / 461 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3937/0.5056, allocations: 100.1 MB / 0.5479 GB, free: 21.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.5059, allocations: 82.11 kB / 0.548 GB, free: 21.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1213/0.6272, allocations: 56.26 MB / 0.603 GB, free: 4.254 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6273, allocations: 0 / 0.603 GB, free: 4.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.569e-05/0.6274, allocations: 52.53 kB / 0.603 GB, free: 4.254 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.007095/0.6345, allocations: 2.694 MB / 0.6056 GB, free: 2.594 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.6345, allocations: 7.719 kB / 0.6057 GB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002674/0.6372, allocations: 487.2 kB / 0.6061 GB, free: 2.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003142/0.6404, allocations: 1.539 MB / 0.6076 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.6405, allocations: 217.8 kB / 0.6078 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004557/0.641, allocations: 281.3 kB / 0.6081 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/0.656, allocations: 6.699 MB / 0.6146 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.999e-05/0.6562, allocations: 15.83 kB / 0.6147 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003275/0.6565, allocations: 123.7 kB / 0.6148 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009103/0.6574, allocations: 0.5242 MB / 0.6153 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01345/0.6709, allocations: 5.529 MB / 0.6207 GB, free: 6.305 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0299/0.7008, allocations: 21.3 MB / 0.6415 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006457/0.7073, allocations: 1.802 MB / 0.6432 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006388/0.7137, allocations: 4.903 MB / 0.648 GB, free: 9.426 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.7138, allocations: 39.11 kB / 0.6481 GB, free: 9.379 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 2.585e-06/0.7138, allocations: 8 kB / 0.6481 GB, free: 9.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=110): time 0.04442/0.7582, allocations: 10.08 MB / 0.6579 GB, free: 15.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.7583, allocations: 90.05 kB / 0.658 GB, free: 15.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002507/0.7609, allocations: 1.725 MB / 0.6597 GB, free: 13.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.761, allocations: 45.7 kB / 0.6597 GB, free: 13.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.7621, allocations: 1.663 MB / 0.6614 GB, free: 11.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003775/0.7625, allocations: 410.3 kB / 0.6617 GB, free: 11.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.7626, allocations: 60 kB / 0.6618 GB, free: 11.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.7629, allocations: 432 kB / 0.6622 GB, free: 10.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.7644, allocations: 1.017 MB / 0.6632 GB, free: 9.824 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002645/0.7671, allocations: 2.619 MB / 0.6658 GB, free: 6.402 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/0.7692, allocations: 1.576 MB / 0.6673 GB, free: 4.828 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.058e-05/0.7692, allocations: 16 kB / 0.6673 GB, free: 4.812 MB / 442.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.005594/0.7748, allocations: 3.64 MB / 0.6709 GB, free: 1.168 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.7749, allocations: 29 kB / 0.6709 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.24e-05/0.775, allocations: 59.98 kB / 0.671 GB, free: 1.082 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.208e-05/0.7751, allocations: 88 kB / 0.671 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002503/0.7776, allocations: 0.7174 MB / 0.6717 GB, free: 284 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.203e-05/0.7777, allocations: 111.6 kB / 0.6719 GB, free: 172 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/0.7796, allocations: 163.7 kB / 0.672 GB, free: 8 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/0.7798, allocations: 168 kB / 0.6722 GB, free: 15.84 MB / 458.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 () * Number of clocked 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.002263/0.7821, allocations: 1.195 MB / 0.6733 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003506/0.7825, allocations: 181.6 kB / 0.6735 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/0.7855, allocations: 1.727 MB / 0.6752 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.7855, allocations: 12 kB / 0.6752 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.7855, allocations: 0 / 0.6752 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.7855, allocations: 7.969 kB / 0.6752 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.7957, allocations: 5.89 MB / 0.681 GB, free: 6.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.7957, allocations: 15.95 kB / 0.681 GB, free: 6.555 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.7967, allocations: 256.2 kB / 0.6812 GB, free: 6.305 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.183e-05/0.7968, allocations: 24 kB / 0.6812 GB, free: 6.281 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.938e-05/0.7968, allocations: 28 kB / 0.6813 GB, free: 6.254 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.471e-05/0.7969, allocations: 23.88 kB / 0.6813 GB, free: 6.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.457e-05/0.7969, allocations: 27.86 kB / 0.6813 GB, free: 6.203 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002858/0.7998, allocations: 2.633 MB / 0.6839 GB, free: 2.973 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005885/0.8004, allocations: 270.7 kB / 0.6842 GB, free: 2.688 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.8006, allocations: 39.98 kB / 0.6842 GB, free: 2.648 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007693/0.8013, allocations: 67.88 kB / 0.6843 GB, free: 2.582 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.8015, allocations: 96.25 kB / 0.6843 GB, free: 2.488 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-05/0.8016, allocations: 40 kB / 0.6844 GB, free: 2.449 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002175/0.8038, allocations: 1.26 MB / 0.6856 GB, free: 1.199 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.265e-06/0.8038, allocations: 0 / 0.6856 GB, free: 1.199 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003012/0.8068, allocations: 0.5467 MB / 0.6862 GB, free: 0.6523 MB / 458.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 () * Number of clocked 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.0004442/0.8072, allocations: 178.9 kB / 0.6863 GB, free: 476 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003819/0.8111, allocations: 2.254 MB / 0.6885 GB, free: 14.22 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.8111, allocations: 0 / 0.6885 GB, free: 14.22 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008595/0.812, allocations: 0.6109 MB / 0.6891 GB, free: 13.61 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.8131, allocations: 227.8 kB / 0.6893 GB, free: 13.39 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008873/0.8219, allocations: 6.165 MB / 0.6954 GB, free: 7.023 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002184/0.8242, allocations: 2.226 MB / 0.6975 GB, free: 4.766 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002287/0.8265, allocations: 0.7779 MB / 0.6983 GB, free: 3.984 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004458/0.8269, allocations: 131.4 kB / 0.6984 GB, free: 3.855 MB / 474.7 MB Notification: Performance of SimCode: time 7.81e-07/0.8269, allocations: 0 / 0.6984 GB, free: 3.855 MB / 474.7 MB Notification: Performance of Templates: time 0.0351/0.862, allocations: 18.05 MB / 0.716 GB, free: 1.859 MB / 490.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)