Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001005/0.001005, allocations: 170.2 kB / 12.72 MB, free: 2.594 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.149/1.149, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001607/0.001607, allocations: 103.5 kB / 223.2 MB, free: 4.117 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.1742/0.1742, allocations: 37.99 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.416e-05/3.438e-05, allocations: 4 kB / 357 MB, free: 32.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09322/0.09327, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.383/0.4763, allocations: 101.5 MB / 0.4953 GB, free: 13.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.4766, allocations: 75.11 kB / 0.4954 GB, free: 13.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3172/0.7938, allocations: 123.2 MB / 0.6157 GB, free: 2.496 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.7938, allocations: 0 / 0.6157 GB, free: 2.496 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004618/0.7943, allocations: 108 kB / 0.6158 GB, free: 2.391 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1928 * Number of variables: 1928 Notification: Performance of Generate backend data structure: time 0.2686/1.063, allocations: 5.641 MB / 0.6213 GB, free: 77.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/1.063, allocations: 11.06 kB / 0.6213 GB, free: 77.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02079/1.084, allocations: 4.719 MB / 0.6259 GB, free: 76.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02032/1.104, allocations: 6.621 MB / 0.6324 GB, free: 76.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006416/1.105, allocations: 449.3 kB / 0.6328 GB, free: 76.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003423/1.108, allocations: 0.535 MB / 0.6334 GB, free: 76.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02996/1.138, allocations: 14.06 MB / 0.6471 GB, free: 73.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002095/1.139, allocations: 71.75 kB / 0.6472 GB, free: 73.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001065/1.14, allocations: 260 kB / 0.6474 GB, free: 73.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001524/1.141, allocations: 1.288 MB / 0.6487 GB, free: 73.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0252/1.166, allocations: 11.66 MB / 0.6601 GB, free: 73.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06972/1.236, allocations: 59.21 MB / 0.7179 GB, free: 31.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/1.248, allocations: 4.627 MB / 0.7224 GB, free: 30.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003156/1.251, allocations: 2.72 MB / 0.7251 GB, free: 28.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0165/1.267, allocations: 12.6 MB / 0.7374 GB, free: 19.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/1.268, allocations: 61.02 kB / 0.7374 GB, free: 19.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=191): time 4.749e-06/1.268, allocations: 0 / 0.7374 GB, free: 19.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=242): time 0.09216/1.36, allocations: 32.81 MB / 0.7695 GB, free: 9.336 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/1.36, allocations: 235.6 kB / 0.7697 GB, free: 9.059 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006955/1.367, allocations: 4.17 MB / 0.7738 GB, free: 5.352 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000532/1.367, allocations: 64.98 kB / 0.7738 GB, free: 5.285 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002731/1.37, allocations: 3.904 MB / 0.7776 GB, free: 1.785 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001132/1.371, allocations: 0.919 MB / 0.7785 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003895/1.372, allocations: 140 kB / 0.7787 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004239/1.372, allocations: 0.6086 MB / 0.7793 GB, free: 272 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2614/1.634, allocations: 3.151 MB / 0.7823 GB, free: 88.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007606/1.641, allocations: 7.409 MB / 0.7896 GB, free: 83.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008285/1.65, allocations: 4.739 MB / 0.7942 GB, free: 83.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002054/1.65, allocations: 42.91 kB / 0.7942 GB, free: 83.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02978/1.68, allocations: 13.64 MB / 0.8076 GB, free: 82.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000121/1.68, allocations: 72.62 kB / 0.8076 GB, free: 82.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001908/1.68, allocations: 148.3 kB / 0.8078 GB, free: 82.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01113/1.691, allocations: 3.8 MB / 0.8115 GB, free: 82.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005509/1.697, allocations: 1.613 MB / 0.8131 GB, free: 82.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02464/1.721, allocations: 18 MB / 0.8306 GB, free: 78.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007119/1.728, allocations: 487.5 kB / 0.8311 GB, free: 78.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001692/1.73, allocations: 431.1 kB / 0.8315 GB, free: 78.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 34 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (856): * Single equations (assignments): 852 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002711/1.733, allocations: 0.6522 MB / 0.8322 GB, free: 78.15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001403/1.734, allocations: 430.3 kB / 0.8326 GB, free: 78.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01845/1.753, allocations: 8.081 MB / 0.8405 GB, free: 75.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.687e-05/1.753, allocations: 27.41 kB / 0.8405 GB, free: 75.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-05/1.753, allocations: 9.031 kB / 0.8405 GB, free: 75.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.252e-05/1.753, allocations: 14.14 kB / 0.8405 GB, free: 75.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03852/1.792, allocations: 17.38 MB / 0.8575 GB, free: 69.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.553e-05/1.792, allocations: 3.875 kB / 0.8575 GB, free: 69.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/1.794, allocations: 388.2 kB / 0.8579 GB, free: 69.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01131/1.805, allocations: 3.849 MB / 0.8616 GB, free: 68.78 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006255/1.806, allocations: 44.36 kB / 0.8617 GB, free: 68.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02147/1.827, allocations: 16.45 MB / 0.8777 GB, free: 56.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.827, allocations: 3.938 kB / 0.8777 GB, free: 56.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02219/1.849, allocations: 12.55 MB / 0.89 GB, free: 46.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003087/1.853, allocations: 0.9357 MB / 0.8909 GB, free: 45.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001647/1.854, allocations: 36.06 kB / 0.8909 GB, free: 45.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003688/1.858, allocations: 217.3 kB / 0.8911 GB, free: 45.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001055/1.859, allocations: 140.8 kB / 0.8913 GB, free: 45.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004981/1.86, allocations: 63.23 kB / 0.8913 GB, free: 45.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00661/1.866, allocations: 2.907 MB / 0.8942 GB, free: 42.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.713e-06/1.866, allocations: 0 / 0.8942 GB, free: 42.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00869/1.875, allocations: 1.459 MB / 0.8956 GB, free: 41.13 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001065/1.876, allocations: 209.2 kB / 0.8958 GB, free: 40.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01216/1.888, allocations: 7.732 MB / 0.9033 GB, free: 33.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.497e-06/1.888, allocations: 4 kB / 0.9034 GB, free: 33.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004368/1.893, allocations: 2.91 MB / 0.9062 GB, free: 31.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003507/1.896, allocations: 497.8 kB / 0.9067 GB, free: 30.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02572/1.922, allocations: 10.61 MB / 0.917 GB, free: 21.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00825/1.93, allocations: 4.205 MB / 0.9211 GB, free: 16.91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006512/1.937, allocations: 2.176 MB / 0.9233 GB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/1.938, allocations: 279.4 kB / 0.9235 GB, free: 14.48 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/1.938, allocations: 4 kB / 0.9235 GB, free: 14.48 MB / 442.7 MB Notification: Performance of Templates: time 0.3445/2.283, allocations: 58.42 MB / 0.9806 GB, free: 85.78 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)