Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006171/0.006171, allocations: 163.8 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.374/1.374, allocations: 170.8 MB / 186.6 MB, free: 1.039 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.0017/0.0017, allocations: 113.3 kB / 226.2 MB, free: 10.09 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.3994/0.3994, allocations: 38.05 MB / 303.7 MB, free: 42.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.0004547, allocations: 12 kB / 362.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.139, allocations: 48.7 MB / 411.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4412/0.5803, allocations: 91.81 MB / 0.4916 GB, free: 12.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/0.5807, allocations: 82.7 kB / 0.4917 GB, free: 12.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.608/1.189, allocations: 109.2 MB / 0.5983 GB, free: 70.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.816e-06/1.189, allocations: 0 / 0.5983 GB, free: 70.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000687/1.189, allocations: 105.6 kB / 0.5984 GB, free: 70.64 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: 1490 * Number of variables: 1490 Notification: Performance of Generate backend data structure: time 0.02887/1.218, allocations: 6.944 MB / 0.6052 GB, free: 68.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/1.218, allocations: 9.344 kB / 0.6052 GB, free: 68.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03958/1.258, allocations: 10.12 MB / 0.6151 GB, free: 67.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02921/1.287, allocations: 9.877 MB / 0.6247 GB, free: 66.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005911/1.288, allocations: 363.5 kB / 0.6251 GB, free: 66.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003166/1.291, allocations: 473.2 kB / 0.6255 GB, free: 66.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03128/1.322, allocations: 10.73 MB / 0.636 GB, free: 65.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002879/1.323, allocations: 54.84 kB / 0.6361 GB, free: 65.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000811/1.324, allocations: 210.4 kB / 0.6363 GB, free: 65.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001418/1.325, allocations: 0.9904 MB / 0.6372 GB, free: 65.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02395/1.349, allocations: 9.046 MB / 0.6461 GB, free: 64.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06524/1.414, allocations: 43.95 MB / 0.689 GB, free: 37.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02143/1.436, allocations: 7.923 MB / 0.6967 GB, free: 35.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/1.437, allocations: 1.124 MB / 0.6978 GB, free: 34.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/1.437, allocations: 64.28 kB / 0.6979 GB, free: 34.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 7.114e-06/1.437, allocations: 0 / 0.6979 GB, free: 34.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=415): time 0.5462/1.983, allocations: 76.49 MB / 0.7726 GB, free: 76.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01731/2.001, allocations: 11.35 MB / 0.7837 GB, free: 74.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009198/2.01, allocations: 3.737 MB / 0.7873 GB, free: 74.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001526/2.011, allocations: 93.8 kB / 0.7874 GB, free: 74.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002612/2.014, allocations: 2.987 MB / 0.7903 GB, free: 73.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002517/2.017, allocations: 1.438 MB / 0.7917 GB, free: 72.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004828/2.017, allocations: 112.8 kB / 0.7918 GB, free: 72.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002857/2.017, allocations: 0.5347 MB / 0.7924 GB, free: 72.47 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006863/2.024, allocations: 4.474 MB / 0.7967 GB, free: 71.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01028/2.035, allocations: 6.509 MB / 0.8031 GB, free: 67.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009546/2.044, allocations: 5.447 MB / 0.8084 GB, free: 65.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.619e-05/2.044, allocations: 19.16 kB / 0.8084 GB, free: 65.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.03899/2.083, allocations: 18.57 MB / 0.8266 GB, free: 59.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.457e-05/2.083, allocations: 36.27 kB / 0.8266 GB, free: 59.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.7e-05/2.084, allocations: 62.81 kB / 0.8266 GB, free: 59.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02225/2.106, allocations: 8.622 MB / 0.8351 GB, free: 58.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004393/2.11, allocations: 1.035 MB / 0.8361 GB, free: 58.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06216/2.172, allocations: 50.53 MB / 0.8854 GB, free: 29.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007012/2.179, allocations: 492.8 kB / 0.8859 GB, free: 29.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001456/2.181, allocations: 276.8 kB / 0.8862 GB, free: 29.08 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 54 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (528): * Single equations (assignments): 523 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 103,(3,88.9%) 23} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.006139/2.187, allocations: 2.286 MB / 0.8884 GB, free: 27.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001882/2.189, allocations: 485.8 kB / 0.8889 GB, free: 26.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03134/2.22, allocations: 17.6 MB / 0.906 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3374/2.558, allocations: 16.11 MB / 0.9218 GB, free: 70.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.023e-05/2.558, allocations: 28.94 kB / 0.9218 GB, free: 70.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001155/2.558, allocations: 22.27 kB / 0.9218 GB, free: 70.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07577/2.634, allocations: 34.74 MB / 0.9558 GB, free: 67.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.375e-05/2.634, allocations: 5.625 kB / 0.9558 GB, free: 67.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002753/2.637, allocations: 447.6 kB / 0.9562 GB, free: 67.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02445/2.661, allocations: 8.06 MB / 0.9641 GB, free: 67.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001648/2.663, allocations: 76.52 kB / 0.9641 GB, free: 67.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06637/2.729, allocations: 49.78 MB / 1.013 GB, free: 46.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01468/2.744, allocations: 10.13 MB / 1.023 GB, free: 42.31 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04324/2.787, allocations: 23.96 MB / 1.046 GB, free: 25.63 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005767/2.793, allocations: 1.424 MB / 1.047 GB, free: 24.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002476/2.796, allocations: 76 kB / 1.047 GB, free: 24.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004925/2.801, allocations: 356.7 kB / 1.048 GB, free: 24.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001557/2.802, allocations: 338.8 kB / 1.048 GB, free: 23.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003693/2.803, allocations: 107 kB / 1.048 GB, free: 23.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005341/2.808, allocations: 2.775 MB / 1.051 GB, free: 21.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.71e-07/2.808, allocations: 0 / 1.051 GB, free: 21.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01006/2.818, allocations: 1.975 MB / 1.053 GB, free: 19.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * 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 (226): * Single equations (assignments): 223 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 96,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.001191/2.819, allocations: 203.4 kB / 1.053 GB, free: 19.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01938/2.839, allocations: 12.34 MB / 1.065 GB, free: 7.676 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/2.839, allocations: 4 kB / 1.065 GB, free: 7.672 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01275/2.851, allocations: 7.122 MB / 1.072 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006175/2.858, allocations: 0.7536 MB / 1.073 GB, free: 15.85 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2751/3.133, allocations: 17.98 MB / 1.09 GB, free: 76.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00824/3.141, allocations: 4.297 MB / 1.095 GB, free: 75.77 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005379/3.147, allocations: 1.679 MB / 1.096 GB, free: 75.72 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/3.148, allocations: 300.1 kB / 1.097 GB, free: 75.72 MB / 458.7 MB Notification: Performance of SimCode: time 1.743e-06/3.148, allocations: 0 / 1.097 GB, free: 75.72 MB / 458.7 MB Notification: Performance of Templates: time 0.1594/3.307, allocations: 109 MB / 1.203 GB, free: 35.42 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)