Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR") translateModel(ModelicaTest.MultiBody.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005132/0.005132, allocations: 104.3 kB / 15.74 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 190.2 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.1 MB / 222.5 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3448/0.3448, allocations: 38 MB / 307.9 MB, free: 10.12 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 71.89 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3763, allocations: 56.47 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.01365/0.39, allocations: 12.64 MB / 0.4903 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009814/0.3998, allocations: 3.714 MB / 0.494 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003433/0.4033, allocations: 65.06 kB / 0.494 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006597/0.41, allocations: 3.308 MB / 0.4973 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003629/0.4136, allocations: 0.9931 MB / 0.4982 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002737/0.4164, allocations: 0.82 MB / 0.499 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004608/0.421, allocations: 2.401 MB / 0.5014 GB, free: 4.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006391/0.4274, allocations: 4.139 MB / 0.5054 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003402/0.4308, allocations: 1.408 MB / 0.5068 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003167/0.434, allocations: 1.804 MB / 0.5086 GB, free: 428 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00196/0.436, allocations: 372.2 kB / 0.5089 GB, free: 424 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003465/0.4395, allocations: 1.011 MB / 0.5099 GB, free: 64 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002144/0.4416, allocations: 1.689 MB / 0.5115 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002465/0.4441, allocations: 1.97 MB / 0.5135 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007846/0.452, allocations: 6.403 MB / 0.5197 GB, free: 8.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.452, allocations: 3.938 kB / 0.5197 GB, free: 8.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.452, allocations: 0 / 0.5197 GB, free: 8.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001275/0.4521, allocations: 4 kB / 0.5197 GB, free: 8.652 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01072/0.4629, allocations: 4.29 MB / 0.5239 GB, free: 4.297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.4629, allocations: 11.89 kB / 0.5239 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.4648, allocations: 0.4992 MB / 0.5244 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003308/0.4681, allocations: 1.821 MB / 0.5262 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.4682, allocations: 238.1 kB / 0.5264 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004732/0.4687, allocations: 311.9 kB / 0.5267 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01971/0.4884, allocations: 9.228 MB / 0.5357 GB, free: 7.781 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.138e-05/0.4885, allocations: 15.81 kB / 0.5357 GB, free: 7.766 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003291/0.4889, allocations: 139.9 kB / 0.5359 GB, free: 7.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002783/0.4917, allocations: 1.592 MB / 0.5374 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01984/0.5115, allocations: 7.471 MB / 0.5447 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05368/0.5652, allocations: 28.17 MB / 0.5722 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008739/0.574, allocations: 2.466 MB / 0.5746 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.5763, allocations: 1.283 MB / 0.5759 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01292/0.5892, allocations: 7.973 MB / 0.5837 GB, free: 5.305 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.5893, allocations: 43.16 kB / 0.5837 GB, free: 5.254 MB / 462.1 MB Notification: Performance of pre-optimization done (n=85): time 2.975e-06/0.5893, allocations: 8 kB / 0.5837 GB, free: 5.246 MB / 462.1 MB Notification: Performance of matching and sorting (n=101): time 0.02401/0.6133, allocations: 7.671 MB / 0.5912 GB, free: 13.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.6135, allocations: 149.4 kB / 0.5914 GB, free: 13.35 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005543/0.619, allocations: 2.706 MB / 0.594 GB, free: 10.62 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.6192, allocations: 45.7 kB / 0.5941 GB, free: 10.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002344/0.6216, allocations: 2.38 MB / 0.5964 GB, free: 8.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005553/0.6222, allocations: 414.8 kB / 0.5968 GB, free: 7.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001625/0.6238, allocations: 0.8172 MB / 0.5976 GB, free: 6.918 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.624, allocations: 301.1 kB / 0.5979 GB, free: 6.621 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002423/0.6264, allocations: 1.265 MB / 0.5991 GB, free: 5.348 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004225/0.6306, allocations: 3.627 MB / 0.6026 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006865/0.6375, allocations: 5.216 MB / 0.6077 GB, free: 10.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.691e-05/0.6376, allocations: 27.94 kB / 0.6078 GB, free: 10.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=511) (initialization): time 0.009079/0.6467, allocations: 4.792 MB / 0.6124 GB, free: 5.316 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.901e-05/0.6468, allocations: 45 kB / 0.6125 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001537/0.647, allocations: 83.98 kB / 0.6126 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001362/0.6471, allocations: 116 kB / 0.6127 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003223/0.6503, allocations: 0.9825 MB / 0.6136 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001632/0.6505, allocations: 171.3 kB / 0.6138 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00294/0.6535, allocations: 207.8 kB / 0.614 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004632/0.6539, allocations: 240 kB / 0.6142 GB, free: 3.488 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 380 * Number of states: 0 () * Number of discrete variables: 43 (jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (511): * Single equations (assignments): 511 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003213/0.6572, allocations: 1.597 MB / 0.6158 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006485/0.6578, allocations: 233 kB / 0.616 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.6605, allocations: 1.514 MB / 0.6175 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.6605, allocations: 15.94 kB / 0.6175 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.6605, allocations: 7.938 kB / 0.6175 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.6606, allocations: 7.984 kB / 0.6175 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/0.6732, allocations: 6.133 MB / 0.6235 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-05/0.6732, allocations: 12 kB / 0.6235 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.6743, allocations: 251.6 kB / 0.6238 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.061e-05/0.6743, allocations: 20 kB / 0.6238 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/0.6745, allocations: 47.94 kB / 0.6238 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.713e-05/0.6745, allocations: 31.86 kB / 0.6238 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.238e-05/0.6745, allocations: 27.88 kB / 0.6239 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/0.6779, allocations: 2.147 MB / 0.626 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008966/0.6788, allocations: 326 kB / 0.6263 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005541/0.6794, allocations: 39.98 kB / 0.6263 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/0.6808, allocations: 63.95 kB / 0.6264 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00025/0.6811, allocations: 128 kB / 0.6265 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/0.6813, allocations: 52 kB / 0.6266 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004197/0.6855, allocations: 1.731 MB / 0.6282 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6855, allocations: 0 / 0.6282 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004763/0.6903, allocations: 0.6953 MB / 0.6289 GB, free: 3.871 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 67 * 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 (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000645/0.6909, allocations: 218.6 kB / 0.6291 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005869/0.6968, allocations: 2.89 MB / 0.632 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.599e-05/0.6968, allocations: 8 kB / 0.632 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.6981, allocations: 0.7278 MB / 0.6327 GB, free: 40 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3277/1.026, allocations: 322.8 kB / 0.633 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/1.043, allocations: 6.932 MB / 0.6397 GB, free: 128 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004776/1.048, allocations: 2.741 MB / 0.6424 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003786/1.052, allocations: 1.063 MB / 0.6435 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006742/1.053, allocations: 180.2 kB / 0.6436 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.242e-06/1.053, allocations: 1.25 kB / 0.6436 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.05893/1.112, allocations: 21.1 MB / 0.6642 GB, free: 119.8 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1)