Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.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.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP") translateModel(ModelicaTest.MultiBody.Joints.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, 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.001376/0.001377, allocations: 192 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.547/1.547, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.341/0.341, allocations: 39.93 MB / 309.7 MB, free: 9.305 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.001465/0.001465, allocations: 70.41 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1313, allocations: 56.89 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01418/0.1455, allocations: 14.25 MB / 448.8 MB, free: 5.359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009321/0.1549, allocations: 3.852 MB / 452.6 MB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002843/0.1578, allocations: 75.88 kB / 452.7 MB, free: 1.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2661/0.424, allocations: 3.942 MB / 456.6 MB, free: 36.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004865/0.4289, allocations: 1.011 MB / 457.6 MB, free: 35.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.431, allocations: 0.7132 MB / 458.3 MB, free: 35.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004645/0.4357, allocations: 2.536 MB / 460.9 MB, free: 35.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005375/0.4411, allocations: 5.055 MB / 465.9 MB, free: 35.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/0.4437, allocations: 1.586 MB / 467.5 MB, free: 34.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.4464, allocations: 2.043 MB / 469.6 MB, free: 33.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007284/0.4471, allocations: 464.8 kB / 470 MB, free: 33.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.4488, allocations: 1.007 MB / 471 MB, free: 33.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001379/0.4502, allocations: 1.912 MB / 472.9 MB, free: 32.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.4521, allocations: 2.244 MB / 475.2 MB, free: 31.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006129/0.4583, allocations: 7.285 MB / 482.5 MB, free: 28.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4583, allocations: 0 / 482.5 MB, free: 28.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4583, allocations: 0 / 482.5 MB, free: 28.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000224/0.4585, allocations: 4 kB / 482.5 MB, free: 28.86 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: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.0121/0.4706, allocations: 4.542 MB / 487 MB, free: 26.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.4707, allocations: 17.48 kB / 487 MB, free: 26.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/0.4729, allocations: 0.5287 MB / 487.6 MB, free: 26.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004852/0.4778, allocations: 2.109 MB / 489.7 MB, free: 25.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003271/0.4781, allocations: 267.7 kB / 489.9 MB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008231/0.4789, allocations: 362.4 kB / 490.3 MB, free: 24.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0257/0.5047, allocations: 9.251 MB / 499.5 MB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-05/0.5048, allocations: 18.55 kB / 499.6 MB, free: 21.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004447/0.5053, allocations: 159.7 kB / 499.7 MB, free: 21.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003701/0.509, allocations: 1.558 MB / 0.4895 GB, free: 20.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0202/0.5292, allocations: 7.222 MB / 0.4966 GB, free: 18.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04236/0.5716, allocations: 28.15 MB / 0.5241 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007164/0.5789, allocations: 2.179 MB / 0.5262 GB, free: 6.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.5807, allocations: 1.082 MB / 0.5272 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0111/0.5918, allocations: 7.026 MB / 0.5341 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/0.5919, allocations: 51.14 kB / 0.5342 GB, free: 13.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 3.116e-06/0.5919, allocations: 0 / 0.5342 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.01946/0.6114, allocations: 7.755 MB / 0.5417 GB, free: 5.809 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.6116, allocations: 175.2 kB / 0.5419 GB, free: 5.602 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003827/0.6154, allocations: 2.748 MB / 0.5446 GB, free: 2.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001614/0.6156, allocations: 41.7 kB / 0.5446 GB, free: 2.793 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00171/0.6173, allocations: 2.499 MB / 0.5471 GB, free: 300 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005166/0.6178, allocations: 421.2 kB / 0.5475 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.6189, allocations: 0.825 MB / 0.5483 GB, free: 15.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.619, allocations: 305.1 kB / 0.5486 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/0.6209, allocations: 1.214 MB / 0.5497 GB, free: 13.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003306/0.6242, allocations: 3.546 MB / 0.5532 GB, free: 8.809 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006052/0.6303, allocations: 5.062 MB / 0.5581 GB, free: 2.602 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.085e-05/0.6304, allocations: 24 kB / 0.5582 GB, free: 2.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.009364/0.6397, allocations: 4.688 MB / 0.5627 GB, free: 13.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.974e-05/0.6398, allocations: 43.98 kB / 0.5628 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001117/0.64, allocations: 80 kB / 0.5629 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001179/0.6401, allocations: 108 kB / 0.563 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002864/0.6429, allocations: 0.948 MB / 0.5639 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001476/0.6431, allocations: 175.3 kB / 0.5641 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003027/0.6461, allocations: 210.1 kB / 0.5643 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003448/0.6465, allocations: 244 kB / 0.5645 GB, free: 12.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 46 (jointRRP.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],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.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 (514): * Single equations (assignments): 513 * Array equations: 1 * 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.003453/0.65, allocations: 1.759 MB / 0.5662 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006606/0.6506, allocations: 229 kB / 0.5664 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/0.653, allocations: 1.342 MB / 0.5677 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.653, allocations: 12 kB / 0.5678 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.653, allocations: 3.938 kB / 0.5678 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.6531, allocations: 7.984 kB / 0.5678 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/0.6645, allocations: 6.654 MB / 0.5743 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/0.6645, allocations: 16 kB / 0.5743 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009399/0.6655, allocations: 252.4 kB / 0.5745 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.664e-05/0.6655, allocations: 24 kB / 0.5745 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.572e-05/0.6656, allocations: 51.98 kB / 0.5746 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-05/0.6657, allocations: 35.86 kB / 0.5746 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.806e-05/0.6657, allocations: 19.94 kB / 0.5746 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002978/0.6687, allocations: 2.241 MB / 0.5768 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007196/0.6694, allocations: 341.8 kB / 0.5772 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/0.6697, allocations: 47.92 kB / 0.5772 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000954/0.6706, allocations: 63.95 kB / 0.5773 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.6708, allocations: 131.9 kB / 0.5774 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.873e-05/0.6709, allocations: 60 kB / 0.5774 GB, free: 14.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00285/0.6738, allocations: 1.805 MB / 0.5792 GB, free: 12.44 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6738, allocations: 0 / 0.5792 GB, free: 12.44 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004091/0.6779, allocations: 0.7187 MB / 0.5799 GB, free: 11.72 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 76 * 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.0004622/0.6784, allocations: 217.1 kB / 0.5801 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005349/0.6837, allocations: 2.972 MB / 0.583 GB, free: 8.543 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.742e-05/0.6838, allocations: 4 kB / 0.583 GB, free: 8.539 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.6849, allocations: 0.7174 MB / 0.5837 GB, free: 7.828 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/0.6874, allocations: 335.9 kB / 0.584 GB, free: 7.504 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/0.7035, allocations: 7.622 MB / 0.5915 GB, free: 15.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00382/0.7073, allocations: 2.963 MB / 0.5944 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003218/0.7106, allocations: 1.026 MB / 0.5954 GB, free: 11.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004622/0.7111, allocations: 183.4 kB / 0.5956 GB, free: 11.42 MB / 478.1 MB Notification: Performance of SimCode: time 1.232e-06/0.7111, allocations: 0 / 0.5956 GB, free: 11.42 MB / 478.1 MB Notification: Performance of Templates: time 0.05429/0.7654, allocations: 23.1 MB / 0.6181 GB, free: 4.414 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1)