Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00112/0.00112, allocations: 180.9 kB / 12.74 MB, free: 2.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.599/1.599, allocations: 194.3 MB / 207.5 MB, free: 3.445 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001691/0.001691, allocations: 101.3 kB / 252.6 MB, free: 4.797 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2161/0.2161, allocations: 39.94 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.951e-05/2.952e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09725/0.09729, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4522/0.5495, allocations: 98.96 MB / 0.5411 GB, free: 8.809 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.5498, allocations: 69.97 kB / 0.5412 GB, free: 8.777 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2341/0.784, allocations: 90.75 MB / 0.6298 GB, free: 5.566 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.138e-06/0.784, allocations: 4 kB / 0.6298 GB, free: 5.562 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002248/0.7842, allocations: 76 kB / 0.6299 GB, free: 5.488 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1681 * Number of variables: 1681 Notification: Performance of Generate backend data structure: time 0.01523/0.7995, allocations: 3.969 MB / 0.6338 GB, free: 1.453 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.7996, allocations: 8.031 kB / 0.6338 GB, free: 1.445 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01666/0.8162, allocations: 3.543 MB / 0.6372 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01365/0.8299, allocations: 4.424 MB / 0.6415 GB, free: 9.414 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004144/0.8304, allocations: 324.5 kB / 0.6419 GB, free: 9.094 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003687/0.8341, allocations: 439.7 kB / 0.6423 GB, free: 8.664 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02961/0.8637, allocations: 10.82 MB / 0.6528 GB, free: 13.37 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002012/0.864, allocations: 31.72 kB / 0.6529 GB, free: 13.34 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001438/0.8654, allocations: 195.8 kB / 0.6531 GB, free: 13.14 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00205/0.8675, allocations: 1.251 MB / 0.6543 GB, free: 11.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02358/0.8911, allocations: 10.32 MB / 0.6644 GB, free: 1.551 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3489/1.24, allocations: 37.74 MB / 0.7012 GB, free: 93.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01413/1.254, allocations: 4.557 MB / 0.7057 GB, free: 91.95 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004772/1.259, allocations: 2.375 MB / 0.708 GB, free: 91.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001574/1.261, allocations: 1.318 MB / 0.7093 GB, free: 90.79 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/1.261, allocations: 68.22 kB / 0.7093 GB, free: 90.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=242): time 6.732e-06/1.261, allocations: 0 / 0.7093 GB, free: 90.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=254): time 0.04899/1.31, allocations: 14.58 MB / 0.7236 GB, free: 87.06 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/1.31, allocations: 71.69 kB / 0.7236 GB, free: 86.99 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004583/1.314, allocations: 2.447 MB / 0.726 GB, free: 86.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004166/1.315, allocations: 61.55 kB / 0.7261 GB, free: 86.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00169/1.317, allocations: 2.841 MB / 0.7289 GB, free: 84.13 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001028/1.318, allocations: 0.9164 MB / 0.7298 GB, free: 83.45 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004958/1.318, allocations: 107.4 kB / 0.7299 GB, free: 83.37 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003951/1.318, allocations: 0.5389 MB / 0.7304 GB, free: 82.97 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003113/1.322, allocations: 2.248 MB / 0.7326 GB, free: 82.25 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004454/1.326, allocations: 5.193 MB / 0.7377 GB, free: 77.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004762/1.331, allocations: 3.464 MB / 0.741 GB, free: 76.65 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.807e-05/1.331, allocations: 29.34 kB / 0.7411 GB, free: 76.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01392/1.345, allocations: 8.198 MB / 0.7491 GB, free: 74.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.765e-05/1.345, allocations: 53.67 kB / 0.7491 GB, free: 74.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001295/1.345, allocations: 101.4 kB / 0.7492 GB, free: 74.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002529/1.348, allocations: 0.9504 MB / 0.7501 GB, free: 73.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003976/1.352, allocations: 1.237 MB / 0.7514 GB, free: 73.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00575/1.357, allocations: 4.737 MB / 0.756 GB, free: 71.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003708/1.361, allocations: 300.8 kB / 0.7563 GB, free: 70.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008618/1.362, allocations: 308.8 kB / 0.7566 GB, free: 70.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 30 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 654 * Array equations: 6 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001308/1.363, allocations: 0.509 MB / 0.7571 GB, free: 70.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006339/1.364, allocations: 276.3 kB / 0.7573 GB, free: 69.92 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00806/1.372, allocations: 5.064 MB / 0.7623 GB, free: 65.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.057e-05/1.372, allocations: 46.86 kB / 0.7623 GB, free: 65.76 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/1.372, allocations: 4 kB / 0.7623 GB, free: 65.75 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/1.372, allocations: 13.42 kB / 0.7623 GB, free: 65.75 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01934/1.392, allocations: 11.94 MB / 0.774 GB, free: 55.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/1.392, allocations: 8 kB / 0.774 GB, free: 55.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/1.393, allocations: 405.7 kB / 0.7744 GB, free: 55.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002161/1.395, allocations: 0.7682 MB / 0.7751 GB, free: 54.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002773/1.396, allocations: 52.98 kB / 0.7752 GB, free: 54.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004347/1.4, allocations: 4.015 MB / 0.7791 GB, free: 51.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.4, allocations: 15.94 kB / 0.7791 GB, free: 51.33 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009425/1.41, allocations: 8.39 MB / 0.7873 GB, free: 43.57 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002307/1.412, allocations: 0.683 MB / 0.788 GB, free: 42.92 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006529/1.413, allocations: 44.7 kB / 0.788 GB, free: 42.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/1.414, allocations: 147.8 kB / 0.7882 GB, free: 42.79 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003577/1.415, allocations: 160 kB / 0.7883 GB, free: 42.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/1.415, allocations: 68.86 kB / 0.7884 GB, free: 42.61 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003101/1.418, allocations: 1.667 MB / 0.79 GB, free: 41.13 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/1.418, allocations: 0 / 0.79 GB, free: 41.13 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004774/1.423, allocations: 1.003 MB / 0.791 GB, free: 40.13 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 189 * Array equations: 6 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005507/1.423, allocations: 192 kB / 0.7912 GB, free: 39.95 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006852/1.43, allocations: 5.534 MB / 0.7966 GB, free: 34.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.43, allocations: 3.938 kB / 0.7966 GB, free: 34.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002515/1.433, allocations: 2.124 MB / 0.7987 GB, free: 32.96 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/1.435, allocations: 335.9 kB / 0.799 GB, free: 32.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/1.45, allocations: 8.639 MB / 0.8074 GB, free: 24.82 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007788/1.458, allocations: 3.524 MB / 0.8109 GB, free: 21.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005114/1.463, allocations: 1.994 MB / 0.8128 GB, free: 19.61 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/1.464, allocations: 215.3 kB / 0.813 GB, free: 19.39 MB / 474.7 MB Notification: Performance of SimCode: time 1.863e-06/1.464, allocations: 0 / 0.813 GB, free: 19.39 MB / 474.7 MB Notification: Performance of Templates: time 0.05656/1.521, allocations: 31.58 MB / 0.8439 GB, free: 4.324 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1)