Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01284/0.01284, allocations: 165 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.516/1.516, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001649/0.001649, allocations: 101.2 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.362/0.362, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004091, allocations: 12 kB / 362.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.114, allocations: 48.7 MB / 411.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3733/0.4873, allocations: 85.6 MB / 497.2 MB, free: 2.277 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001883/0.4876, allocations: 72.34 kB / 497.3 MB, free: 2.242 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0851/0.5727, allocations: 34.57 MB / 0.5194 GB, free: 4.141 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5727, allocations: 0 / 0.5194 GB, free: 4.141 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.768e-05/0.5728, allocations: 36 kB / 0.5194 GB, free: 4.105 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.004654/0.5774, allocations: 2.285 MB / 0.5216 GB, free: 1.938 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.5775, allocations: 12.03 kB / 0.5216 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.5793, allocations: 380.2 kB / 0.522 GB, free: 1.555 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002672/0.582, allocations: 1.138 MB / 0.5231 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.5821, allocations: 152.5 kB / 0.5233 GB, free: 484 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003228/0.5824, allocations: 188.4 kB / 0.5234 GB, free: 348 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00936/0.5918, allocations: 4.834 MB / 0.5282 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.56e-05/0.5919, allocations: 11.88 kB / 0.5282 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002229/0.5921, allocations: 91.94 kB / 0.5283 GB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009433/0.5931, allocations: 0.5189 MB / 0.5288 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008679/0.6017, allocations: 3.858 MB / 0.5325 GB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02853/0.6303, allocations: 16.63 MB / 0.5488 GB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004277/0.6346, allocations: 1.274 MB / 0.55 GB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006529/0.6412, allocations: 4.074 MB / 0.554 GB, free: 224 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.6413, allocations: 46.31 kB / 0.554 GB, free: 168 kB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 2.174e-06/0.6413, allocations: 0 / 0.554 GB, free: 168 kB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.00607/0.6474, allocations: 1.787 MB / 0.5558 GB, free: 14.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.6474, allocations: 107.1 kB / 0.5559 GB, free: 14.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002574/0.65, allocations: 1.396 MB / 0.5572 GB, free: 12.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.6501, allocations: 29.7 kB / 0.5573 GB, free: 12.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.6512, allocations: 1.398 MB / 0.5586 GB, free: 11.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.6515, allocations: 185.9 kB / 0.5588 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.6516, allocations: 47.94 kB / 0.5589 GB, free: 11.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002599/0.6518, allocations: 451.3 kB / 0.5593 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008033/0.6526, allocations: 0.5041 MB / 0.5598 GB, free: 10.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/0.6545, allocations: 2.017 MB / 0.5618 GB, free: 7.402 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.6559, allocations: 0.9635 MB / 0.5627 GB, free: 6.438 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.175e-05/0.6559, allocations: 16 kB / 0.5627 GB, free: 6.422 MB / 410.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.004057/0.66, allocations: 2.404 MB / 0.5651 GB, free: 4.012 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.6601, allocations: 36.02 kB / 0.5651 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.199e-05/0.6602, allocations: 56 kB / 0.5651 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.124e-05/0.6603, allocations: 80 kB / 0.5652 GB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.6618, allocations: 0.538 MB / 0.5657 GB, free: 3.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001077/0.6619, allocations: 107.6 kB / 0.5658 GB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/0.6638, allocations: 332.4 kB / 0.5662 GB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/0.664, allocations: 144 kB / 0.5663 GB, free: 2.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 30 (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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (292): * Single equations (assignments): 292 * 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.001932/0.666, allocations: 0.8591 MB / 0.5671 GB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004173/0.6664, allocations: 130.3 kB / 0.5673 GB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004083/0.6668, allocations: 153.3 kB / 0.5674 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.6668, allocations: 4 kB / 0.5674 GB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.6668, allocations: 4 kB / 0.5674 GB, free: 1.562 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.6669, allocations: 3.984 kB / 0.5674 GB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00672/0.6736, allocations: 3.229 MB / 0.5706 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/0.6736, allocations: 8 kB / 0.5706 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.674, allocations: 99.92 kB / 0.5707 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-05/0.674, allocations: 20.73 kB / 0.5707 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.382e-05/0.6741, allocations: 23.95 kB / 0.5707 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.02e-05/0.6741, allocations: 31.8 kB / 0.5708 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/0.6741, allocations: 15.94 kB / 0.5708 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.676, allocations: 1.568 MB / 0.5723 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006029/0.6766, allocations: 223.2 kB / 0.5725 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003453/0.677, allocations: 24 kB / 0.5725 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006808/0.6777, allocations: 23.98 kB / 0.5726 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.6778, allocations: 71.73 kB / 0.5726 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.322e-05/0.6778, allocations: 24 kB / 0.5726 GB, free: 11.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002043/0.6799, allocations: 0.9664 MB / 0.5736 GB, free: 10.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6799, allocations: 0 / 0.5736 GB, free: 10.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002692/0.6826, allocations: 486 kB / 0.5741 GB, free: 9.996 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (50): * Single equations (assignments): 50 * 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.0002756/0.6829, allocations: 142.9 kB / 0.5742 GB, free: 9.848 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002531/0.6854, allocations: 1.241 MB / 0.5754 GB, free: 8.621 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/0.6855, allocations: 0 / 0.5754 GB, free: 8.621 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004291/0.6859, allocations: 226.6 kB / 0.5756 GB, free: 8.402 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.6872, allocations: 178.4 kB / 0.5758 GB, free: 8.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008718/0.696, allocations: 4.252 MB / 0.5799 GB, free: 3.797 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002428/0.6984, allocations: 1.733 MB / 0.5816 GB, free: 2.031 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001924/0.7004, allocations: 0.6097 MB / 0.5822 GB, free: 1.414 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.7007, allocations: 95.44 kB / 0.5823 GB, free: 1.32 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.7007, allocations: 3.938 kB / 0.5823 GB, free: 1.316 MB / 426.7 MB Notification: Performance of Templates: time 0.213/0.9137, allocations: 9.644 MB / 0.5917 GB, free: 107.7 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1)