Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP") translateModel(ModelicaTest.MultiBody.Joints.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008114/0.008114, allocations: 167.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.208/1.208, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001627/0.001627, allocations: 119.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3271/0.3271, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003814, allocations: 12 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1256, allocations: 48.7 MB / 411.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3952/0.5209, allocations: 95.85 MB / 0.4955 GB, free: 8.195 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.5213, allocations: 77.84 kB / 0.4956 GB, free: 8.156 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1747/0.696, allocations: 72.04 MB / 0.566 GB, free: 4.887 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.6961, allocations: 0 / 0.566 GB, free: 4.887 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001949/0.6963, allocations: 76 kB / 0.566 GB, free: 4.812 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.01607/0.7123, allocations: 4.062 MB / 0.57 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.416e-05/0.7124, allocations: 8.031 kB / 0.57 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006553/0.719, allocations: 0.7402 MB / 0.5707 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/0.7291, allocations: 2.571 MB / 0.5732 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004821/0.7296, allocations: 324.5 kB / 0.5735 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002765/0.7324, allocations: 423.9 kB / 0.574 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02793/0.7604, allocations: 9.176 MB / 0.5829 GB, free: 3.012 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/0.7606, allocations: 19.81 kB / 0.5829 GB, free: 2.992 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001712/0.7623, allocations: 191.9 kB / 0.5831 GB, free: 2.805 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001979/0.7643, allocations: 0.796 MB / 0.5839 GB, free: 2.004 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3566/1.121, allocations: 7.306 MB / 0.591 GB, free: 85.78 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0482/1.169, allocations: 29.67 MB / 0.62 GB, free: 73.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007433/1.177, allocations: 2.165 MB / 0.6221 GB, free: 73.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01149/1.188, allocations: 6.744 MB / 0.6287 GB, free: 70.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.996e-05/1.188, allocations: 42.38 kB / 0.6287 GB, free: 70.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=80): time 4.959e-06/1.188, allocations: 0 / 0.6287 GB, free: 70.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.02241/1.211, allocations: 7.498 MB / 0.6361 GB, free: 66.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.35e-05/1.211, allocations: 174.9 kB / 0.6362 GB, free: 66.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004201/1.215, allocations: 2.385 MB / 0.6386 GB, free: 65.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001409/1.215, allocations: 42.06 kB / 0.6386 GB, free: 65.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001735/1.217, allocations: 2.532 MB / 0.6411 GB, free: 63.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004167/1.217, allocations: 400.1 kB / 0.6415 GB, free: 63.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/1.218, allocations: 83.06 kB / 0.6415 GB, free: 63.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002639/1.218, allocations: 461.5 kB / 0.642 GB, free: 62.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002196/1.22, allocations: 1.1 MB / 0.643 GB, free: 62.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004009/1.224, allocations: 3.414 MB / 0.6464 GB, free: 59.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003717/1.228, allocations: 1.857 MB / 0.6482 GB, free: 58.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-05/1.228, allocations: 23.34 kB / 0.6482 GB, free: 58.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.007629/1.236, allocations: 4.44 MB / 0.6526 GB, free: 56.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.406e-05/1.236, allocations: 38.34 kB / 0.6526 GB, free: 56.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.863e-05/1.236, allocations: 83.06 kB / 0.6527 GB, free: 56.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001192/1.236, allocations: 120.7 kB / 0.6528 GB, free: 56.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/1.239, allocations: 0.9444 MB / 0.6537 GB, free: 56.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001056/1.239, allocations: 160.1 kB / 0.6539 GB, free: 56.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/1.242, allocations: 218.4 kB / 0.6541 GB, free: 56.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002933/1.242, allocations: 239.2 kB / 0.6543 GB, free: 56.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 43 (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.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 (501): * Single equations (assignments): 500 * Array equations: 1 * 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.003579/1.246, allocations: 1.748 MB / 0.656 GB, free: 55.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006616/1.246, allocations: 230.9 kB / 0.6562 GB, free: 55.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/1.248, allocations: 1.185 MB / 0.6574 GB, free: 54.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/1.248, allocations: 10.91 kB / 0.6574 GB, free: 54.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/1.248, allocations: 0 / 0.6574 GB, free: 54.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/1.248, allocations: 7.422 kB / 0.6574 GB, free: 54.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/1.259, allocations: 6.812 MB / 0.664 GB, free: 51.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/1.259, allocations: 21.94 kB / 0.6641 GB, free: 51.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000975/1.26, allocations: 296.8 kB / 0.6644 GB, free: 51.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.103e-05/1.26, allocations: 34.88 kB / 0.6644 GB, free: 51.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.728e-05/1.26, allocations: 64.05 kB / 0.6644 GB, free: 51.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.3e-05/1.26, allocations: 49.06 kB / 0.6645 GB, free: 51.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.056e-05/1.26, allocations: 34.03 kB / 0.6645 GB, free: 51.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003997/1.264, allocations: 4.606 MB / 0.669 GB, free: 47.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008775/1.265, allocations: 350.5 kB / 0.6694 GB, free: 46.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/1.265, allocations: 56.73 kB / 0.6694 GB, free: 46.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009837/1.266, allocations: 69.05 kB / 0.6695 GB, free: 46.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/1.267, allocations: 162.6 kB / 0.6696 GB, free: 46.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/1.267, allocations: 69.55 kB / 0.6697 GB, free: 46.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00282/1.27, allocations: 1.758 MB / 0.6714 GB, free: 46.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-07/1.27, allocations: 0 / 0.6714 GB, free: 46.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004271/1.274, allocations: 0.7104 MB / 0.6721 GB, free: 45.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 100 * 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 (147): * Single equations (assignments): 147 * 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.0005376/1.274, allocations: 216.4 kB / 0.6723 GB, free: 45.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005046/1.279, allocations: 2.63 MB / 0.6749 GB, free: 44.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.059e-05/1.279, allocations: 3.406 kB / 0.6749 GB, free: 44.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001252/1.281, allocations: 0.7237 MB / 0.6756 GB, free: 44.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/1.283, allocations: 334.1 kB / 0.6759 GB, free: 44.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02054/1.304, allocations: 9.137 MB / 0.6848 GB, free: 38.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005261/1.309, allocations: 3.036 MB / 0.6878 GB, free: 37.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003486/1.313, allocations: 1.039 MB / 0.6888 GB, free: 37.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004439/1.313, allocations: 193.8 kB / 0.689 GB, free: 37.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.613e-06/1.313, allocations: 0 / 0.689 GB, free: 37.5 MB / 426.7 MB Notification: Performance of Templates: time 0.04627/1.36, allocations: 21.38 MB / 0.7099 GB, free: 28.4 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1)