Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.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.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008544/0.008544, allocations: 176 kB / 15.12 MB, free: 5.98 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.835/1.835, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.001867/0.001867, allocations: 124.5 kB / 255.6 MB, free: 10.23 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.1969/0.1969, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004314, allocations: 15.31 kB / 406.2 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1216, allocations: 54.88 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4072/0.5289, allocations: 92.1 MB / 0.5402 GB, free: 21.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.5291, allocations: 78.02 kB / 0.5402 GB, free: 21.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07934/0.6084, allocations: 34.56 MB / 0.574 GB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.6085, allocations: 0 / 0.574 GB, free: 14.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.96e-05/0.6086, allocations: 38.62 kB / 0.574 GB, free: 14.73 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: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.004154/0.6127, allocations: 2.294 MB / 0.5763 GB, free: 13.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.6128, allocations: 15.56 kB / 0.5763 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.6144, allocations: 379.6 kB / 0.5766 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.6168, allocations: 1.135 MB / 0.5778 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.6169, allocations: 149.5 kB / 0.5779 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002887/0.6172, allocations: 184.8 kB / 0.5781 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008541/0.6257, allocations: 4.837 MB / 0.5828 GB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.227e-05/0.6258, allocations: 7.719 kB / 0.5828 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002264/0.6261, allocations: 91.78 kB / 0.5829 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008115/0.6269, allocations: 0.5296 MB / 0.5834 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008418/0.6353, allocations: 3.854 MB / 0.5872 GB, free: 10 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01888/0.6542, allocations: 16.62 MB / 0.6034 GB, free: 16.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003824/0.6581, allocations: 1.279 MB / 0.6047 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005346/0.6635, allocations: 4.071 MB / 0.6086 GB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.6635, allocations: 42.88 kB / 0.6087 GB, free: 13.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=41): time 2.494e-06/0.6635, allocations: 0 / 0.6087 GB, free: 13.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=41): time 0.005855/0.6694, allocations: 1.786 MB / 0.6104 GB, free: 12.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.6695, allocations: 114 kB / 0.6105 GB, free: 12.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.6716, allocations: 1.39 MB / 0.6119 GB, free: 12.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/0.6717, allocations: 31.83 kB / 0.6119 GB, free: 12.13 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009715/0.6726, allocations: 1.403 MB / 0.6133 GB, free: 10.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.6728, allocations: 177.6 kB / 0.6135 GB, free: 10.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.71e-05/0.6729, allocations: 48 kB / 0.6135 GB, free: 10.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000271/0.6732, allocations: 459.3 kB / 0.6139 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007517/0.6739, allocations: 0.4924 MB / 0.6144 GB, free: 9.738 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/0.6758, allocations: 2.028 MB / 0.6164 GB, free: 6.938 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.677, allocations: 0.9518 MB / 0.6173 GB, free: 5.984 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.163e-05/0.6771, allocations: 20 kB / 0.6173 GB, free: 5.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.003729/0.6808, allocations: 2.407 MB / 0.6197 GB, free: 3.551 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.711e-05/0.6809, allocations: 28 kB / 0.6197 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.899e-05/0.6809, allocations: 52 kB / 0.6198 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.103e-05/0.681, allocations: 84.06 kB / 0.6199 GB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.6825, allocations: 0.5458 MB / 0.6204 GB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.377e-05/0.6826, allocations: 107.6 kB / 0.6205 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.6842, allocations: 328.6 kB / 0.6208 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/0.6844, allocations: 140 kB / 0.6209 GB, free: 2.277 MB / 394.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.001439/0.6858, allocations: 0.8659 MB / 0.6218 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/0.686, allocations: 138.2 kB / 0.6219 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.6863, allocations: 149.3 kB / 0.6221 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.6863, allocations: 8 kB / 0.6221 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.6864, allocations: 4 kB / 0.6221 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6864, allocations: 0 / 0.6221 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004853/0.6912, allocations: 3.24 MB / 0.6252 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.6913, allocations: 12 kB / 0.6252 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.6916, allocations: 91.83 kB / 0.6253 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-05/0.6916, allocations: 16 kB / 0.6253 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.6917, allocations: 24 kB / 0.6254 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.086e-05/0.6917, allocations: 19.92 kB / 0.6254 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/0.6917, allocations: 24.34 kB / 0.6254 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.6932, allocations: 1.564 MB / 0.6269 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004358/0.6937, allocations: 223.3 kB / 0.6272 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.6938, allocations: 27.92 kB / 0.6272 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004337/0.6942, allocations: 31.94 kB / 0.6272 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.6943, allocations: 67.67 kB / 0.6273 GB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.6944, allocations: 28 kB / 0.6273 GB, free: 10.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001436/0.6958, allocations: 0.9664 MB / 0.6282 GB, free: 10.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6958, allocations: 0 / 0.6282 GB, free: 10.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002193/0.698, allocations: 482 kB / 0.6287 GB, free: 9.543 MB / 410.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.6983, allocations: 135 kB / 0.6288 GB, free: 9.398 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002522/0.7008, allocations: 1.246 MB / 0.6301 GB, free: 8.164 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.7009, allocations: 4 kB / 0.6301 GB, free: 8.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.7012, allocations: 222.5 kB / 0.6303 GB, free: 7.945 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000861/0.702, allocations: 165.4 kB / 0.6304 GB, free: 7.785 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006856/0.7089, allocations: 4.255 MB / 0.6346 GB, free: 3.348 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/0.7107, allocations: 1.733 MB / 0.6363 GB, free: 1.582 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001739/0.7124, allocations: 0.6019 MB / 0.6369 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.7126, allocations: 95.42 kB / 0.637 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.7126, allocations: 0 / 0.637 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of Templates: time 0.02145/0.7341, allocations: 9.667 MB / 0.6464 GB, free: 7.266 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1)