Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP") translateModel(ModelicaTest.MultiBody.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007523/0.0007523, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.000839/0.0008391, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.4 MB / 222.1 MB, free: 5.473 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.2812/0.2812, allocations: 38.04 MB / 308.4 MB, free: 10.5 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.0005779/0.0005779, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1052, allocations: 57.52 MB / 434 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.229/0.3343, allocations: 43.04 MB / 477 MB, free: 30.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01851/0.3528, allocations: 8.857 MB / 485.9 MB, free: 24.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007448/0.3603, allocations: 195.8 kB / 486 MB, free: 24.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005862/0.3662, allocations: 2.054 MB / 488.1 MB, free: 24.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01304/0.3793, allocations: 5.774 MB / 493.9 MB, free: 21.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.3814, allocations: 0.5175 MB / 494.4 MB, free: 21.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002848/0.3843, allocations: 3.016 MB / 497.4 MB, free: 20.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005602/0.3899, allocations: 5.19 MB / 0.4908 GB, free: 18.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.3913, allocations: 0.9462 MB / 0.4917 GB, free: 17.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/0.3932, allocations: 1.428 MB / 0.4931 GB, free: 17.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000321/0.3935, allocations: 127.2 kB / 0.4933 GB, free: 17.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.3946, allocations: 0.5628 MB / 0.4938 GB, free: 17.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.3958, allocations: 1.367 MB / 0.4951 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006204/0.3964, allocations: 0.7016 MB / 0.4958 GB, free: 16.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005661/0.4021, allocations: 4.917 MB / 0.5006 GB, free: 14.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4021, allocations: 4 kB / 0.5006 GB, free: 14.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4021, allocations: 0 / 0.5006 GB, free: 14.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002186/0.4024, allocations: 0 / 0.5006 GB, free: 14.88 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: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.009157/0.4115, allocations: 3.458 MB / 0.504 GB, free: 12.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.4116, allocations: 9.344 kB / 0.504 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/0.4145, allocations: 0.4926 MB / 0.5045 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003784/0.4183, allocations: 1.714 MB / 0.5062 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.4185, allocations: 235.2 kB / 0.5064 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007319/0.4193, allocations: 311.4 kB / 0.5067 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01417/0.4335, allocations: 8.673 MB / 0.5152 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.619e-05/0.4335, allocations: 18.69 kB / 0.5152 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002972/0.4338, allocations: 146.2 kB / 0.5153 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002149/0.436, allocations: 1.562 MB / 0.5169 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.4473, allocations: 6.691 MB / 0.5234 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03328/0.4806, allocations: 26.75 MB / 0.5495 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005747/0.4864, allocations: 2.073 MB / 0.5515 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.4879, allocations: 1.021 MB / 0.5525 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007547/0.4954, allocations: 6.681 MB / 0.5591 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.4955, allocations: 43.16 kB / 0.5591 GB, free: 10.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.144e-06/0.4955, allocations: 0 / 0.5591 GB, free: 10.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.01609/0.5116, allocations: 6.737 MB / 0.5657 GB, free: 3.723 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/0.5117, allocations: 145.6 kB / 0.5658 GB, free: 3.547 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003103/0.5148, allocations: 2.533 MB / 0.5683 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.511e-05/0.5149, allocations: 41.7 kB / 0.5683 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00145/0.5163, allocations: 2.368 MB / 0.5706 GB, free: 14.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000306/0.5166, allocations: 403 kB / 0.571 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.5168, allocations: 80 kB / 0.5711 GB, free: 14.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.517, allocations: 470.3 kB / 0.5715 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.5187, allocations: 1.12 MB / 0.5726 GB, free: 12.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003607/0.5223, allocations: 3.39 MB / 0.5759 GB, free: 7.973 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00259/0.5249, allocations: 1.845 MB / 0.5778 GB, free: 6.129 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.879e-05/0.525, allocations: 20 kB / 0.5778 GB, free: 6.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.007219/0.5322, allocations: 4.436 MB / 0.5821 GB, free: 1.664 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.553e-05/0.5323, allocations: 36 kB / 0.5821 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.317e-05/0.5324, allocations: 80 kB / 0.5822 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.754e-05/0.5325, allocations: 120 kB / 0.5823 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/0.535, allocations: 0.9245 MB / 0.5832 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001276/0.5351, allocations: 159.4 kB / 0.5834 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/0.5373, allocations: 187.8 kB / 0.5836 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/0.5375, allocations: 232 kB / 0.5838 GB, free: 15.94 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 365 * Number of states: 0 () * Number of discrete variables: 40 (jointUSP.prismatic.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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (495): * Single equations (assignments): 495 * 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.002813/0.5403, allocations: 1.594 MB / 0.5853 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003856/0.5407, allocations: 221.1 kB / 0.5855 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.5427, allocations: 1.267 MB / 0.5868 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.5427, allocations: 12 kB / 0.5868 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.5427, allocations: 0 / 0.5868 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.5428, allocations: 3.984 kB / 0.5868 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008063/0.5508, allocations: 6.086 MB / 0.5927 GB, free: 6.422 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/0.5509, allocations: 16 kB / 0.5928 GB, free: 6.406 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008809/0.5518, allocations: 243.6 kB / 0.593 GB, free: 6.168 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-05/0.5518, allocations: 28 kB / 0.593 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.026e-05/0.5519, allocations: 40 kB / 0.5931 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.29e-05/0.5519, allocations: 35.86 kB / 0.5931 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.625e-05/0.5519, allocations: 31.81 kB / 0.5931 GB, free: 6.035 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/0.5543, allocations: 2.088 MB / 0.5952 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004945/0.5548, allocations: 326 kB / 0.5955 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.5551, allocations: 43.98 kB / 0.5955 GB, free: 3.324 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008341/0.5559, allocations: 55.97 kB / 0.5956 GB, free: 3.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.5561, allocations: 135.9 kB / 0.5957 GB, free: 3.137 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.827e-05/0.5561, allocations: 55.98 kB / 0.5958 GB, free: 3.082 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002076/0.5582, allocations: 1.644 MB / 0.5974 GB, free: 1.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5582, allocations: 0 / 0.5974 GB, free: 1.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002775/0.561, allocations: 0.6758 MB / 0.598 GB, free: 0.7539 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * 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 (124): * Single equations (assignments): 124 * 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.0002836/0.5613, allocations: 186.8 kB / 0.5982 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00387/0.5652, allocations: 2.603 MB / 0.6007 GB, free: 13.97 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.5652, allocations: 8.438 kB / 0.6007 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009474/0.5662, allocations: 0.6727 MB / 0.6014 GB, free: 13.29 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.5677, allocations: 317 kB / 0.6017 GB, free: 12.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.5795, allocations: 8.366 MB / 0.6099 GB, free: 4.371 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002644/0.5822, allocations: 2.749 MB / 0.6126 GB, free: 1.594 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00264/0.5849, allocations: 1.017 MB / 0.6136 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/0.5853, allocations: 179.4 kB / 0.6137 GB, free: 404 kB / 478.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5853, allocations: 4 kB / 0.6137 GB, free: 400 kB / 478.1 MB Notification: Performance of Templates: time 0.2102/0.7955, allocations: 20.15 MB / 0.6334 GB, free: 144.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) Environment - environmentSimulation: