Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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 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.2_ModelicaTest.MultiBody.Joints.JointUSR") translateModel(ModelicaTest.MultiBody.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001696/0.001696, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002198/0.002198, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.691/1.691, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3741/0.3741, allocations: 39.95 MB / 309.7 MB, free: 9.258 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.2. 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.001737/0.001737, allocations: 63.89 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1412, allocations: 56.88 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.01424/0.1554, allocations: 12.64 MB / 447.1 MB, free: 6.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00993/0.1654, allocations: 3.72 MB / 450.9 MB, free: 3.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002275/0.1678, allocations: 63.94 kB / 450.9 MB, free: 3.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2583/0.4261, allocations: 3.293 MB / 454.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003973/0.4301, allocations: 0.9447 MB / 455.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.4322, allocations: 0.8217 MB / 456 MB, free: 36.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002843/0.4351, allocations: 2.395 MB / 458.4 MB, free: 36.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003623/0.4387, allocations: 4.156 MB / 462.5 MB, free: 35.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.4403, allocations: 1.397 MB / 463.9 MB, free: 35.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.4422, allocations: 1.808 MB / 465.7 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005583/0.4427, allocations: 369.8 kB / 466.1 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.4445, allocations: 1.012 MB / 467.1 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0012/0.4457, allocations: 1.69 MB / 468.8 MB, free: 34.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00157/0.4473, allocations: 1.972 MB / 470.8 MB, free: 33.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005593/0.4529, allocations: 6.227 MB / 477 MB, free: 31.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4529, allocations: 0 / 477 MB, free: 31.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4529, allocations: 0 / 477 MB, free: 31.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001477/0.4531, allocations: 0 / 477 MB, free: 31.03 MB / 382.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.009076/0.4621, allocations: 4.29 MB / 481.3 MB, free: 28.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.4622, allocations: 13.39 kB / 481.3 MB, free: 28.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/0.4639, allocations: 0.4994 MB / 481.8 MB, free: 28.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002939/0.4669, allocations: 1.808 MB / 483.6 MB, free: 27.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.4671, allocations: 234.7 kB / 483.8 MB, free: 27.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006119/0.4677, allocations: 315 kB / 484.1 MB, free: 27.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03151/0.4992, allocations: 9.222 MB / 493.4 MB, free: 23.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002301/0.4995, allocations: 17.19 kB / 493.4 MB, free: 23.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001545/0.5011, allocations: 139.6 kB / 493.5 MB, free: 23.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004283/0.5054, allocations: 1.593 MB / 495.1 MB, free: 23.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02729/0.5327, allocations: 7.47 MB / 0.4908 GB, free: 21.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04447/0.5772, allocations: 28.35 MB / 0.5185 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008746/0.586, allocations: 2.461 MB / 0.5209 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002129/0.5882, allocations: 1.289 MB / 0.5221 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01352/0.6017, allocations: 7.968 MB / 0.5299 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.815e-05/0.6018, allocations: 47.2 kB / 0.53 GB, free: 2.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=85): time 3.507e-06/0.6018, allocations: 11.22 kB / 0.53 GB, free: 2.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=101): time 0.02438/0.6262, allocations: 7.667 MB / 0.5375 GB, free: 10.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.882e-05/0.6264, allocations: 141.5 kB / 0.5376 GB, free: 10.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005012/0.6314, allocations: 2.714 MB / 0.5403 GB, free: 7.426 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003405/0.6318, allocations: 41.7 kB / 0.5403 GB, free: 7.379 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002623/0.6344, allocations: 2.382 MB / 0.5426 GB, free: 4.996 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008654/0.6353, allocations: 413.6 kB / 0.543 GB, free: 4.594 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001755/0.6371, allocations: 0.8132 MB / 0.5438 GB, free: 3.766 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6372, allocations: 313.1 kB / 0.5441 GB, free: 3.457 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002199/0.6394, allocations: 1.261 MB / 0.5453 GB, free: 2.188 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003693/0.6431, allocations: 3.622 MB / 0.5489 GB, free: 13.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006571/0.6497, allocations: 5.2 MB / 0.554 GB, free: 7.035 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-05/0.6498, allocations: 27.98 kB / 0.554 GB, free: 7.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=511) (initialization): time 0.00807/0.6579, allocations: 4.806 MB / 0.5587 GB, free: 2.191 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.903e-05/0.658, allocations: 40 kB / 0.5587 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/0.6581, allocations: 84.88 kB / 0.5588 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001248/0.6582, allocations: 112 kB / 0.5589 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003035/0.6612, allocations: 0.9865 MB / 0.5599 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001292/0.6614, allocations: 163.4 kB / 0.56 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/0.6641, allocations: 211.8 kB / 0.5602 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003176/0.6644, allocations: 240 kB / 0.5604 GB, free: 380 kB / 430.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.002884/0.6673, allocations: 1.603 MB / 0.562 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004918/0.6678, allocations: 233 kB / 0.5622 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002878/0.6707, allocations: 1.514 MB / 0.5637 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.6708, allocations: 12 kB / 0.5637 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.6708, allocations: 0 / 0.5637 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.6708, allocations: 11.92 kB / 0.5637 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/0.6816, allocations: 6.147 MB / 0.5697 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-05/0.6817, allocations: 16 kB / 0.5698 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.6828, allocations: 251.5 kB / 0.57 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-05/0.6828, allocations: 20 kB / 0.57 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.35e-05/0.6829, allocations: 47.98 kB / 0.5701 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.372e-05/0.6829, allocations: 31.86 kB / 0.5701 GB, free: 6.215 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-05/0.683, allocations: 20.41 kB / 0.5701 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/0.686, allocations: 2.15 MB / 0.5722 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006859/0.6867, allocations: 325.8 kB / 0.5725 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002705/0.6869, allocations: 43.98 kB / 0.5726 GB, free: 3.457 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009601/0.6879, allocations: 59.95 kB / 0.5726 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.6881, allocations: 124.1 kB / 0.5727 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.221e-05/0.6882, allocations: 55.98 kB / 0.5728 GB, free: 3.223 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002788/0.691, allocations: 1.728 MB / 0.5745 GB, free: 1.488 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.691, allocations: 0 / 0.5745 GB, free: 1.488 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003521/0.6945, allocations: 0.7031 MB / 0.5752 GB, free: 0.7852 MB / 446.1 MB 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.0004362/0.695, allocations: 213.7 kB / 0.5754 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005835/0.7008, allocations: 3.112 MB / 0.5784 GB, free: 13.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-05/0.7009, allocations: 4 kB / 0.5784 GB, free: 13.47 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.7021, allocations: 0.7236 MB / 0.5791 GB, free: 12.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/0.7047, allocations: 330.8 kB / 0.5794 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.7174, allocations: 7.039 MB / 0.5863 GB, free: 5.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00322/0.7207, allocations: 2.739 MB / 0.589 GB, free: 2.398 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002876/0.7236, allocations: 1.072 MB / 0.59 GB, free: 1.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004652/0.7241, allocations: 179.4 kB / 0.5902 GB, free: 1.148 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7241, allocations: 0 / 0.5902 GB, free: 1.148 MB / 462.1 MB Notification: Performance of Templates: time 0.04781/0.7719, allocations: 23.52 MB / 0.6132 GB, free: 9.711 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1)