Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.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.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP") translateModel(ModelicaTest.MultiBody.Joints.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001582/0.001582, allocations: 187.3 kB / 7.654 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.391/1.391, allocations: 194.3 MB / 202.4 MB, free: 8.469 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.001582/0.001582, allocations: 109.8 kB / 247.4 MB, free: 6.207 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.2129/0.2129, allocations: 39.95 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.807e-05/1.809e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1107, allocations: 54.88 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4779/0.5886, allocations: 101.6 MB / 0.5369 GB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.5889, allocations: 71.78 kB / 0.537 GB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.186/0.775, allocations: 70.3 MB / 0.6056 GB, free: 292 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.775, allocations: 0 / 0.6056 GB, free: 292 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003273/0.7754, allocations: 76 kB / 0.6057 GB, free: 216 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.01627/0.7917, allocations: 3.871 MB / 0.6095 GB, free: 12.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.7917, allocations: 8.031 kB / 0.6095 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005532/0.7973, allocations: 0.7202 MB / 0.6102 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008029/0.8053, allocations: 2.579 MB / 0.6127 GB, free: 8.914 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/0.8057, allocations: 136 kB / 0.6128 GB, free: 8.781 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00242/0.8081, allocations: 248 kB / 0.6131 GB, free: 8.539 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01443/0.8225, allocations: 5.709 MB / 0.6187 GB, free: 2.824 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02395/0.8466, allocations: 7.442 MB / 0.6259 GB, free: 11.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002067/0.8468, allocations: 15.86 kB / 0.6259 GB, free: 10.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001946/0.8488, allocations: 12 kB / 0.626 GB, free: 10.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001892/0.8507, allocations: 0.8043 MB / 0.6267 GB, free: 10.17 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05381/0.9045, allocations: 27.62 MB / 0.6537 GB, free: 13.89 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/0.9073, allocations: 1.308 MB / 0.655 GB, free: 12.53 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.9088, allocations: 0.8421 MB / 0.6558 GB, free: 11.68 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/0.919, allocations: 6.305 MB / 0.662 GB, free: 4.891 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.245e-05/0.9191, allocations: 51.05 kB / 0.662 GB, free: 4.832 MB / 474.7 MB Notification: Performance of pre-optimization done (n=70): time 4.839e-06/0.9191, allocations: 0 / 0.662 GB, free: 4.832 MB / 474.7 MB Notification: Performance of matching and sorting (n=79): time 0.3378/1.257, allocations: 5.704 MB / 0.6676 GB, free: 121.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.382e-05/1.257, allocations: 163.2 kB / 0.6677 GB, free: 121.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003984/1.261, allocations: 2.046 MB / 0.6697 GB, free: 121.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002244/1.261, allocations: 25.7 kB / 0.6698 GB, free: 121.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002028/1.263, allocations: 2.608 MB / 0.6723 GB, free: 120 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004242/1.264, allocations: 331.6 kB / 0.6726 GB, free: 119.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/1.264, allocations: 2.312 kB / 0.6726 GB, free: 119.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002782/1.264, allocations: 470.2 kB / 0.6731 GB, free: 119.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/1.266, allocations: 0.9388 MB / 0.674 GB, free: 119.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003221/1.269, allocations: 3.342 MB / 0.6773 GB, free: 116.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003015/1.272, allocations: 1.722 MB / 0.6789 GB, free: 116.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-05/1.272, allocations: 31.44 kB / 0.679 GB, free: 116.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.007077/1.279, allocations: 3.748 MB / 0.6826 GB, free: 116.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/1.279, allocations: 42.44 kB / 0.6827 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001593/1.279, allocations: 89.25 kB / 0.6828 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001859/1.28, allocations: 127.8 kB / 0.6829 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003475/1.283, allocations: 0.9358 MB / 0.6838 GB, free: 116.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002156/1.283, allocations: 173.7 kB / 0.684 GB, free: 116.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003235/1.287, allocations: 139.7 kB / 0.6841 GB, free: 116.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004544/1.287, allocations: 243.6 kB / 0.6843 GB, free: 116.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 397 * Number of states: 0 () * Number of discrete variables: 43 (jointRRP.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],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.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 (498): * Single equations (assignments): 497 * Array equations: 1 * 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.0005448/1.288, allocations: 337.2 kB / 0.6846 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005994/1.288, allocations: 211.6 kB / 0.6848 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/1.29, allocations: 0.9399 MB / 0.6858 GB, free: 115.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/1.29, allocations: 9.641 kB / 0.6858 GB, free: 115.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/1.29, allocations: 5.344 kB / 0.6858 GB, free: 115.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/1.29, allocations: 11.95 kB / 0.6858 GB, free: 115.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009548/1.3, allocations: 4.713 MB / 0.6904 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/1.3, allocations: 20 kB / 0.6904 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009179/1.301, allocations: 252.9 kB / 0.6906 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.891e-05/1.301, allocations: 28.28 kB / 0.6907 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.839e-05/1.301, allocations: 28.59 kB / 0.6907 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.449e-05/1.301, allocations: 38.17 kB / 0.6907 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.738e-05/1.301, allocations: 29.78 kB / 0.6908 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/1.303, allocations: 3.581 MB / 0.6943 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005619/1.304, allocations: 304.3 kB / 0.6946 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/1.304, allocations: 38.28 kB / 0.6946 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009038/1.305, allocations: 36.31 kB / 0.6946 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/1.305, allocations: 139.4 kB / 0.6948 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.521e-05/1.305, allocations: 65.3 kB / 0.6948 GB, free: 110.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001899/1.307, allocations: 1.356 MB / 0.6961 GB, free: 110.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.307, allocations: 0 / 0.6961 GB, free: 110.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003969/1.311, allocations: 0.5912 MB / 0.6967 GB, free: 110.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * 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.0003382/1.311, allocations: 173 kB / 0.6969 GB, free: 110.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003381/1.315, allocations: 2.233 MB / 0.6991 GB, free: 110.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.315, allocations: 3.781 kB / 0.6991 GB, free: 110.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005784/1.315, allocations: 0.5615 MB / 0.6996 GB, free: 110.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/1.317, allocations: 241.1 kB / 0.6999 GB, free: 110.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/1.327, allocations: 5.888 MB / 0.7056 GB, free: 108.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003147/1.33, allocations: 3.024 MB / 0.7086 GB, free: 107.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002916/1.333, allocations: 1.007 MB / 0.7095 GB, free: 107.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/1.334, allocations: 167.3 kB / 0.7097 GB, free: 107.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.794e-06/1.334, allocations: 0 / 0.7097 GB, free: 107.4 MB / 474.7 MB Notification: Performance of Templates: time 0.03406/1.368, allocations: 16.62 MB / 0.7259 GB, free: 106.4 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1)