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.001069/0.001069, allocations: 163 kB / 7.635 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.371/1.371, allocations: 170.7 MB / 178.7 MB, free: 7.047 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.001663/0.001663, allocations: 103.8 kB / 218 MB, free: 15.35 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.187/0.187, allocations: 37.97 MB / 295.1 MB, free: 2.098 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.806e-05/1.807e-05, allocations: 0 / 350 MB, free: 32.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3029, allocations: 48.69 MB / 398.7 MB, free: 6.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.4254, allocations: 84.86 MB / 483.6 MB, free: 14.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.4257, allocations: 75.95 kB / 483.7 MB, free: 14.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08957/0.5153, allocations: 33.9 MB / 0.5054 GB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.5154, allocations: 0 / 0.5054 GB, free: 11.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001182/0.5155, allocations: 36 kB / 0.5055 GB, free: 11.95 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.007104/0.5226, allocations: 2.191 MB / 0.5076 GB, free: 9.707 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.5227, allocations: 8.031 kB / 0.5076 GB, free: 9.699 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002612/0.5253, allocations: 392.7 kB / 0.508 GB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/0.5293, allocations: 1.125 MB / 0.5091 GB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.5295, allocations: 64 kB / 0.5091 GB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008101/0.5303, allocations: 112 kB / 0.5092 GB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005471/0.5358, allocations: 2.75 MB / 0.5119 GB, free: 5.215 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007949/0.5437, allocations: 3.765 MB / 0.5156 GB, free: 1.199 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.866e-05/0.5438, allocations: 7.938 kB / 0.5156 GB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004512/0.5443, allocations: 8 kB / 0.5156 GB, free: 1.184 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001097/0.5454, allocations: 0.5267 MB / 0.5161 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02403/0.5695, allocations: 15.51 MB / 0.5313 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.5711, allocations: 0.8448 MB / 0.5321 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.5722, allocations: 0.6559 MB / 0.5327 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005893/0.5781, allocations: 3.497 MB / 0.5362 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.5782, allocations: 34.56 kB / 0.5362 GB, free: 11.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.836e-06/0.5782, allocations: 0 / 0.5362 GB, free: 11.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.003428/0.5816, allocations: 1.069 MB / 0.5372 GB, free: 10.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.5817, allocations: 102.8 kB / 0.5373 GB, free: 10.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002414/0.5841, allocations: 1.27 MB / 0.5386 GB, free: 8.977 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.5842, allocations: 25.7 kB / 0.5386 GB, free: 8.945 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.5853, allocations: 1.467 MB / 0.54 GB, free: 7.453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.5855, allocations: 142.6 kB / 0.5402 GB, free: 7.312 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.863e-05/0.5856, allocations: 0 / 0.5402 GB, free: 7.312 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002393/0.5858, allocations: 443.7 kB / 0.5406 GB, free: 6.871 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007412/0.5866, allocations: 476.6 kB / 0.541 GB, free: 6.402 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.5882, allocations: 2.053 MB / 0.5431 GB, free: 3.523 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.5896, allocations: 0.9438 MB / 0.544 GB, free: 2.578 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.377e-05/0.5896, allocations: 16 kB / 0.544 GB, free: 2.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.003982/0.5936, allocations: 2.132 MB / 0.5461 GB, free: 436 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.198e-05/0.5937, allocations: 31.98 kB / 0.5461 GB, free: 404 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-05/0.5938, allocations: 60 kB / 0.5462 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.754e-05/0.5939, allocations: 88.03 kB / 0.5462 GB, free: 256 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2491/0.843, allocations: 0.5596 MB / 0.5468 GB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001261/0.8431, allocations: 115.8 kB / 0.5469 GB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/0.8451, allocations: 284.7 kB / 0.5472 GB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/0.8454, allocations: 151.7 kB / 0.5473 GB, free: 114.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 265 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (307): * Single equations (assignments): 307 * 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.0003169/0.8457, allocations: 260.2 kB / 0.5476 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.8459, allocations: 117.8 kB / 0.5477 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.8461, allocations: 137.3 kB / 0.5478 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.8462, allocations: 5.766 kB / 0.5478 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.8462, allocations: 3.453 kB / 0.5478 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.8462, allocations: 2.641 kB / 0.5478 GB, free: 114.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003701/0.8499, allocations: 2.511 MB / 0.5503 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.8499, allocations: 8.766 kB / 0.5503 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.8502, allocations: 79.5 kB / 0.5504 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.69e-05/0.8502, allocations: 11.66 kB / 0.5504 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.8502, allocations: 10.81 kB / 0.5504 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.588e-05/0.8503, allocations: 16.47 kB / 0.5504 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.324e-05/0.8503, allocations: 15.25 kB / 0.5504 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008424/0.8511, allocations: 1.201 MB / 0.5516 GB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.8514, allocations: 205 kB / 0.5518 GB, free: 112.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.8515, allocations: 18.02 kB / 0.5518 GB, free: 112.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.8519, allocations: 16.83 kB / 0.5518 GB, free: 112.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.693e-05/0.852, allocations: 51.25 kB / 0.5519 GB, free: 112.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.852, allocations: 20.03 kB / 0.5519 GB, free: 112.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001262/0.8533, allocations: 0.8287 MB / 0.5527 GB, free: 112.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.132e-06/0.8533, allocations: 0 / 0.5527 GB, free: 112.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002107/0.8554, allocations: 454.8 kB / 0.5531 GB, free: 112.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.0001738/0.8556, allocations: 117.3 kB / 0.5532 GB, free: 112.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001845/0.8575, allocations: 1.123 MB / 0.5543 GB, free: 112.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.8575, allocations: 1.5 kB / 0.5543 GB, free: 112.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.8577, allocations: 179 kB / 0.5545 GB, free: 112.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.8582, allocations: 119.7 kB / 0.5546 GB, free: 112.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005165/0.8634, allocations: 2.652 MB / 0.5572 GB, free: 111.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.8653, allocations: 1.727 MB / 0.5589 GB, free: 110.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001986/0.8673, allocations: 0.6145 MB / 0.5595 GB, free: 110.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.8675, allocations: 86.39 kB / 0.5596 GB, free: 110.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/0.8675, allocations: 5.219 kB / 0.5596 GB, free: 110.7 MB / 410.7 MB Notification: Performance of Templates: time 0.01994/0.8874, allocations: 7.702 MB / 0.5671 GB, free: 110.4 MB / 410.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)