Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP") translateModel(ModelicaTest.MultiBody.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001281/0.001281, 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.00179/0.00179, allocations: 197.9 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.684/1.684, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.375/0.375, allocations: 39.95 MB / 309.7 MB, free: 9.223 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.001538/0.001538, allocations: 75.89 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1618, allocations: 56.87 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.01598/0.1778, allocations: 12.59 MB / 447.1 MB, free: 7.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.1886, allocations: 3.568 MB / 450.6 MB, free: 3.457 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002989/0.1916, allocations: 63.88 kB / 450.7 MB, free: 3.395 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007557/0.1993, allocations: 3.333 MB / 454 MB, free: 52 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3032/0.5025, allocations: 0.9387 MB / 455 MB, free: 36.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.5047, allocations: 0.6593 MB / 455.6 MB, free: 36.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003794/0.5085, allocations: 2.316 MB / 458 MB, free: 36.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004155/0.5127, allocations: 4.081 MB / 462 MB, free: 35.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002593/0.5153, allocations: 1.371 MB / 463.4 MB, free: 35.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002763/0.5181, allocations: 1.762 MB / 465.2 MB, free: 35.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007165/0.5189, allocations: 362.6 kB / 465.5 MB, free: 35.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.5206, allocations: 0.897 MB / 466.4 MB, free: 35.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001396/0.522, allocations: 1.682 MB / 468.1 MB, free: 34.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001971/0.524, allocations: 1.949 MB / 470.1 MB, free: 33.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005952/0.5299, allocations: 6.088 MB / 476.1 MB, free: 31.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.53, allocations: 0 / 476.1 MB, free: 31.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.53, allocations: 0 / 476.1 MB, free: 31.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001751/0.5302, allocations: 0 / 476.1 MB, free: 31.34 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.009718/0.5399, allocations: 4.15 MB / 480.3 MB, free: 29.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.5399, allocations: 12.89 kB / 480.3 MB, free: 29.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.5417, allocations: 497.9 kB / 480.8 MB, free: 28.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/0.5445, allocations: 1.751 MB / 482.5 MB, free: 27.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.5447, allocations: 234.3 kB / 482.8 MB, free: 27.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004285/0.5451, allocations: 320.5 kB / 483.1 MB, free: 27.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01903/0.5642, allocations: 8.676 MB / 491.8 MB, free: 24.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.1e-05/0.5643, allocations: 17.47 kB / 491.8 MB, free: 24.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003672/0.5647, allocations: 138.3 kB / 491.9 MB, free: 24.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002894/0.5676, allocations: 1.564 MB / 493.5 MB, free: 24.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01886/0.5864, allocations: 6.699 MB / 0.4885 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03843/0.6249, allocations: 26.76 MB / 0.5146 GB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005833/0.6308, allocations: 2.073 MB / 0.5166 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.6323, allocations: 1.027 MB / 0.5176 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009169/0.6415, allocations: 6.668 MB / 0.5241 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.6416, allocations: 51.16 kB / 0.5242 GB, free: 8.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 2.876e-06/0.6416, allocations: 0 / 0.5242 GB, free: 8.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=100): time 0.01797/0.6596, allocations: 6.736 MB / 0.5307 GB, free: 1.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/0.6597, allocations: 145.5 kB / 0.5309 GB, free: 1.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003464/0.6632, allocations: 2.559 MB / 0.5334 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.6633, allocations: 45.55 kB / 0.5334 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00139/0.6647, allocations: 2.371 MB / 0.5357 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/0.6651, allocations: 404.5 kB / 0.5361 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008747/0.6659, allocations: 0.7894 MB / 0.5369 GB, free: 10.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.6661, allocations: 301.1 kB / 0.5372 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.6678, allocations: 1.14 MB / 0.5383 GB, free: 9.465 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003153/0.671, allocations: 3.401 MB / 0.5416 GB, free: 4.945 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006734/0.6777, allocations: 4.848 MB / 0.5464 GB, free: 15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.28e-05/0.6778, allocations: 24 kB / 0.5464 GB, free: 14.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.009708/0.6876, allocations: 4.45 MB / 0.5507 GB, free: 10.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.495e-05/0.6876, allocations: 40.94 kB / 0.5508 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-05/0.6877, allocations: 83.98 kB / 0.5508 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001192/0.6879, allocations: 104 kB / 0.5509 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002925/0.6908, allocations: 0.928 MB / 0.5518 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001175/0.6909, allocations: 155.4 kB / 0.552 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/0.6935, allocations: 191.8 kB / 0.5522 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002903/0.6938, allocations: 236 kB / 0.5524 GB, free: 8.797 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00283/0.6967, allocations: 1.585 MB / 0.554 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004523/0.6971, allocations: 221.2 kB / 0.5542 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/0.6993, allocations: 1.263 MB / 0.5554 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.6993, allocations: 12 kB / 0.5554 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.6993, allocations: 7.984 kB / 0.5554 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.6993, allocations: 3.984 kB / 0.5554 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009136/0.7085, allocations: 6.094 MB / 0.5614 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.7085, allocations: 16 kB / 0.5614 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009862/0.7095, allocations: 247.5 kB / 0.5616 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.389e-05/0.7096, allocations: 27.98 kB / 0.5617 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.512e-05/0.7096, allocations: 40.66 kB / 0.5617 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.429e-05/0.7097, allocations: 39.86 kB / 0.5617 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-05/0.7097, allocations: 27.88 kB / 0.5618 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003681/0.7134, allocations: 2.086 MB / 0.5638 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006724/0.7141, allocations: 322 kB / 0.5641 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/0.7143, allocations: 39.98 kB / 0.5641 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009298/0.7153, allocations: 59.97 kB / 0.5642 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.7154, allocations: 131.9 kB / 0.5643 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.7155, allocations: 59.98 kB / 0.5644 GB, free: 11.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002651/0.7182, allocations: 1.667 MB / 0.566 GB, free: 10.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.883e-06/0.7182, allocations: 0 / 0.566 GB, free: 10.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004092/0.7223, allocations: 0.6757 MB / 0.5667 GB, free: 9.605 MB / 446.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 (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.000454/0.7228, allocations: 213.5 kB / 0.5669 GB, free: 9.391 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005082/0.7279, allocations: 2.828 MB / 0.5696 GB, free: 6.578 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/0.7279, allocations: 9.75 kB / 0.5696 GB, free: 6.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.7291, allocations: 0.6737 MB / 0.5703 GB, free: 5.902 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/0.7312, allocations: 325.1 kB / 0.5706 GB, free: 5.586 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.7443, allocations: 7.029 MB / 0.5775 GB, free: 14.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003268/0.7476, allocations: 2.745 MB / 0.5802 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003112/0.7507, allocations: 1.025 MB / 0.5812 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004557/0.7512, allocations: 175.4 kB / 0.5813 GB, free: 10.34 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.7512, allocations: 0 / 0.5813 GB, free: 10.34 MB / 462.1 MB Notification: Performance of Templates: time 0.04462/0.7958, allocations: 21.53 MB / 0.6023 GB, free: 4.887 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1)