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.002145/0.002145, allocations: 182.6 kB / 7.652 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.592/1.592, allocations: 194.3 MB / 202.4 MB, free: 8.555 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.001685/0.001685, allocations: 107.3 kB / 247.4 MB, free: 6.227 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.1913/0.1913, allocations: 39.94 MB / 332.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.99e-05/1.992e-05, allocations: 8 kB / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09906/0.0991, allocations: 54.88 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3714/0.4705, allocations: 99.39 MB / 0.5348 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.4708, allocations: 78.89 kB / 0.5348 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1733/0.6441, allocations: 72.73 MB / 0.6059 GB, free: 15.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6441, allocations: 0 / 0.6059 GB, free: 15.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001933/0.6443, allocations: 72 kB / 0.6059 GB, free: 15.87 MB / 426.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.01033/0.6547, allocations: 3.581 MB / 0.6094 GB, free: 12.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.6547, allocations: 8.031 kB / 0.6094 GB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003915/0.6587, allocations: 0.666 MB / 0.6101 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005445/0.6641, allocations: 2.185 MB / 0.6122 GB, free: 9.316 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/0.6644, allocations: 124 kB / 0.6123 GB, free: 9.195 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0015/0.6659, allocations: 232 kB / 0.6126 GB, free: 8.969 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009985/0.6759, allocations: 5.227 MB / 0.6177 GB, free: 3.738 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01784/0.6938, allocations: 6.888 MB / 0.6244 GB, free: 12.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001786/0.694, allocations: 19.81 kB / 0.6244 GB, free: 12.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001463/0.6955, allocations: 8 kB / 0.6244 GB, free: 12.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00178/0.6973, allocations: 0.788 MB / 0.6252 GB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03888/0.7362, allocations: 25.96 MB / 0.6505 GB, free: 1.039 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.7381, allocations: 1.107 MB / 0.6516 GB, free: 15.89 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009688/0.7391, allocations: 0.7359 MB / 0.6523 GB, free: 15.15 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007754/0.7469, allocations: 5.926 MB / 0.6581 GB, free: 8.738 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.7469, allocations: 51.06 kB / 0.6582 GB, free: 8.68 MB / 474.7 MB Notification: Performance of pre-optimization done (n=67): time 3.076e-06/0.747, allocations: 0 / 0.6582 GB, free: 8.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=76): time 0.01071/0.7577, allocations: 4.647 MB / 0.6627 GB, free: 3.977 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.7578, allocations: 145.1 kB / 0.6628 GB, free: 3.801 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003375/0.7612, allocations: 1.913 MB / 0.6647 GB, free: 1.859 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.426e-05/0.7613, allocations: 25.7 kB / 0.6647 GB, free: 1.828 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2514/1.013, allocations: 2.466 MB / 0.6671 GB, free: 125.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005052/1.013, allocations: 316.4 kB / 0.6674 GB, free: 125.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/1.013, allocations: 0 / 0.6674 GB, free: 125.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002295/1.014, allocations: 464.4 kB / 0.6679 GB, free: 125 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/1.015, allocations: 0.8297 MB / 0.6687 GB, free: 125 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002461/1.017, allocations: 3.2 MB / 0.6718 GB, free: 121.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003176/1.021, allocations: 1.587 MB / 0.6734 GB, free: 121.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-05/1.021, allocations: 25.78 kB / 0.6734 GB, free: 121.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=488) (initialization): time 0.007199/1.028, allocations: 3.501 MB / 0.6768 GB, free: 121.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.051e-05/1.028, allocations: 47.17 kB / 0.6769 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001315/1.028, allocations: 86.27 kB / 0.6769 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/1.028, allocations: 125.5 kB / 0.6771 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/1.031, allocations: 0.9035 MB / 0.6779 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001456/1.031, allocations: 170.6 kB / 0.6781 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/1.034, allocations: 97.75 kB / 0.6782 GB, free: 121.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003709/1.034, allocations: 238.4 kB / 0.6784 GB, free: 121.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 391 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (488): * Single equations (assignments): 488 * 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.000428/1.035, allocations: 328 kB / 0.6787 GB, free: 121.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/1.035, allocations: 196.6 kB / 0.6789 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/1.037, allocations: 0.8966 MB / 0.6798 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/1.037, allocations: 8.578 kB / 0.6798 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/1.037, allocations: 6.469 kB / 0.6798 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/1.037, allocations: 4.719 kB / 0.6798 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006963/1.044, allocations: 4.277 MB / 0.684 GB, free: 119.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.044, allocations: 20.16 kB / 0.684 GB, free: 119.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006389/1.044, allocations: 205.1 kB / 0.6842 GB, free: 119.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.001e-05/1.044, allocations: 25.09 kB / 0.6842 GB, free: 119.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.747e-05/1.044, allocations: 20.88 kB / 0.6843 GB, free: 119.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.079e-05/1.044, allocations: 29.86 kB / 0.6843 GB, free: 119.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-05/1.045, allocations: 26.75 kB / 0.6843 GB, free: 119.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/1.047, allocations: 2.858 MB / 0.6871 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005794/1.047, allocations: 284.2 kB / 0.6874 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/1.048, allocations: 27.34 kB / 0.6874 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008241/1.048, allocations: 22.8 kB / 0.6874 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/1.049, allocations: 128.8 kB / 0.6875 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/1.049, allocations: 52.03 kB / 0.6876 GB, free: 117 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002083/1.051, allocations: 1.263 MB / 0.6888 GB, free: 116.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-07/1.051, allocations: 0 / 0.6888 GB, free: 116.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003804/1.055, allocations: 0.5502 MB / 0.6894 GB, free: 116.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * 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.0004534/1.055, allocations: 167.9 kB / 0.6895 GB, free: 116.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003271/1.058, allocations: 1.985 MB / 0.6915 GB, free: 116.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/1.058, allocations: 3.844 kB / 0.6915 GB, free: 116.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005332/1.059, allocations: 441.4 kB / 0.6919 GB, free: 116.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/1.06, allocations: 215.5 kB / 0.6921 GB, free: 116.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008714/1.069, allocations: 5.232 MB / 0.6972 GB, free: 114.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002691/1.072, allocations: 2.789 MB / 0.6999 GB, free: 114 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002626/1.074, allocations: 0.9717 MB / 0.7009 GB, free: 113.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/1.075, allocations: 153.5 kB / 0.701 GB, free: 113.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.472e-06/1.075, allocations: 3.938 kB / 0.701 GB, free: 113.9 MB / 474.7 MB Notification: Performance of Templates: time 0.03179/1.107, allocations: 14.62 MB / 0.7153 GB, free: 113 MB / 474.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)