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.01194/0.01194, allocations: 166.1 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.521/1.521, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001695/0.001695, allocations: 110.6 kB / 226.2 MB, free: 10.1 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.3606/0.3606, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004041, allocations: 12 kB / 362.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1242, allocations: 48.7 MB / 411.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4044/0.5286, allocations: 101.6 MB / 0.5011 GB, free: 2.523 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004498/0.5292, allocations: 81.27 kB / 0.5012 GB, free: 2.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5738/1.103, allocations: 123.1 MB / 0.6214 GB, free: 81.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.128e-06/1.103, allocations: 1.562 kB / 0.6214 GB, free: 81.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003824/1.103, allocations: 102.5 kB / 0.6215 GB, free: 81.61 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.02857/1.132, allocations: 6.029 MB / 0.6274 GB, free: 79.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.388e-05/1.132, allocations: 9.062 kB / 0.6274 GB, free: 79.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02249/1.155, allocations: 4.723 MB / 0.6321 GB, free: 78.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02188/1.177, allocations: 6.648 MB / 0.6385 GB, free: 78.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000653/1.177, allocations: 442.5 kB / 0.639 GB, free: 78.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004778/1.182, allocations: 0.5391 MB / 0.6395 GB, free: 78.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04377/1.226, allocations: 14.2 MB / 0.6534 GB, free: 73.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005473/1.227, allocations: 78.03 kB / 0.6534 GB, free: 73.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003677/1.23, allocations: 257.9 kB / 0.6537 GB, free: 73.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002215/1.232, allocations: 1.288 MB / 0.6549 GB, free: 72.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02872/1.261, allocations: 11.88 MB / 0.6665 GB, free: 69.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0832/1.344, allocations: 59.23 MB / 0.7244 GB, free: 18.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01206/1.357, allocations: 4.67 MB / 0.7289 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02366/1.38, allocations: 12.61 MB / 0.7413 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.543e-05/1.38, allocations: 63.81 kB / 0.7413 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of pre-optimization done (n=191): time 5.781e-06/1.38, allocations: 0 / 0.7413 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of matching and sorting (n=242): time 0.4278/1.808, allocations: 39.76 MB / 0.7801 GB, free: 73.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/1.808, allocations: 235.6 kB / 0.7804 GB, free: 73.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01126/1.82, allocations: 4.249 MB / 0.7845 GB, free: 72.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008412/1.821, allocations: 61.38 kB / 0.7846 GB, free: 72.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003997/1.825, allocations: 3.899 MB / 0.7884 GB, free: 70.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001889/1.827, allocations: 0.9122 MB / 0.7893 GB, free: 70.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001235/1.828, allocations: 143.2 kB / 0.7894 GB, free: 70.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008658/1.829, allocations: 0.607 MB / 0.79 GB, free: 69.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005532/1.834, allocations: 3.251 MB / 0.7932 GB, free: 68.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009502/1.844, allocations: 7.506 MB / 0.8005 GB, free: 61.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009626/1.853, allocations: 4.789 MB / 0.8052 GB, free: 59.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002731/1.854, allocations: 45.62 kB / 0.8052 GB, free: 59.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.03171/1.886, allocations: 13.84 MB / 0.8187 GB, free: 55.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002717/1.886, allocations: 72.56 kB / 0.8188 GB, free: 55.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003187/1.886, allocations: 150.8 kB / 0.819 GB, free: 55.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01171/1.898, allocations: 3.819 MB / 0.8227 GB, free: 54.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005716/1.904, allocations: 1.603 MB / 0.8243 GB, free: 54.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02675/1.93, allocations: 18.66 MB / 0.8425 GB, free: 43.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007996/1.938, allocations: 485.9 kB / 0.8429 GB, free: 43.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00187/1.94, allocations: 436.8 kB / 0.8434 GB, free: 42.79 MB / 426.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 () * Number of clocked 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.007683/1.948, allocations: 2.661 MB / 0.846 GB, free: 40.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001782/1.95, allocations: 426.5 kB / 0.8464 GB, free: 40.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01941/1.969, allocations: 8.141 MB / 0.8543 GB, free: 33.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-05/1.969, allocations: 24 kB / 0.8543 GB, free: 33.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.323e-05/1.969, allocations: 12 kB / 0.8543 GB, free: 33.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.973e-05/1.97, allocations: 14.45 kB / 0.8544 GB, free: 33.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03844/2.008, allocations: 17.46 MB / 0.8714 GB, free: 18.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-05/2.008, allocations: 0 / 0.8714 GB, free: 18.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002018/2.01, allocations: 390.8 kB / 0.8718 GB, free: 18.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01097/2.021, allocations: 3.863 MB / 0.8756 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007279/2.022, allocations: 41.08 kB / 0.8756 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02221/2.044, allocations: 17.08 MB / 0.8923 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/2.044, allocations: 4 kB / 0.8923 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.305/2.349, allocations: 12.63 MB / 0.9046 GB, free: 81.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004983/2.354, allocations: 0.9379 MB / 0.9055 GB, free: 81.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002244/2.356, allocations: 35.7 kB / 0.9056 GB, free: 81.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005106/2.362, allocations: 217.2 kB / 0.9058 GB, free: 81.31 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/2.363, allocations: 143.5 kB / 0.9059 GB, free: 81.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00037/2.363, allocations: 65.11 kB / 0.906 GB, free: 81.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01039/2.373, allocations: 2.985 MB / 0.9089 GB, free: 81.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.615e-06/2.374, allocations: 0 / 0.9089 GB, free: 81.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01287/2.386, allocations: 1.45 MB / 0.9103 GB, free: 81.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 () * Number of clocked 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.001089/2.388, allocations: 219.8 kB / 0.9105 GB, free: 81.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01882/2.406, allocations: 7.872 MB / 0.9182 GB, free: 80.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/2.406, allocations: 1.594 kB / 0.9182 GB, free: 80.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006978/2.413, allocations: 2.954 MB / 0.9211 GB, free: 80.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00498/2.418, allocations: 499.4 kB / 0.9216 GB, free: 80.67 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03875/2.457, allocations: 14.84 MB / 0.9361 GB, free: 75.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01387/2.471, allocations: 4.202 MB / 0.9402 GB, free: 74.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01289/2.484, allocations: 2.172 MB / 0.9423 GB, free: 74.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002233/2.486, allocations: 284 kB / 0.9426 GB, free: 74.51 MB / 442.7 MB Notification: Performance of SimCode: time 1.543e-06/2.486, allocations: 0 / 0.9426 GB, free: 74.51 MB / 442.7 MB Notification: Performance of Templates: time 0.1695/2.656, allocations: 58.45 MB / 0.9996 GB, free: 59.41 MB / 442.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)