Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 184.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 223.2 MB / 241 MB, free: 10.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008526/0.0008525, allocations: 94.03 kB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3183/0.3183, allocations: 44.21 MB / 387.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004518/0.0004519, allocations: 12 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.316, allocations: 61.89 MB / 0.5096 GB, free: 37.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.4474, allocations: 106.5 MB / 0.6135 GB, free: 4.633 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.4476, allocations: 79.95 kB / 0.6136 GB, free: 4.555 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5131/0.9608, allocations: 112.5 MB / 0.7235 GB, free: 93.06 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.9608, allocations: 0 / 0.7235 GB, free: 93.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004383/0.9613, allocations: 110.1 kB / 0.7236 GB, free: 93.06 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02225/0.9835, allocations: 6.904 MB / 0.7303 GB, free: 89.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.9836, allocations: 7.719 kB / 0.7304 GB, free: 89.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03474/1.018, allocations: 10.12 MB / 0.7402 GB, free: 88.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01995/1.038, allocations: 9.271 MB / 0.7493 GB, free: 85.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002724/1.039, allocations: 365.6 kB / 0.7496 GB, free: 85.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001421/1.04, allocations: 477.2 kB / 0.7501 GB, free: 84.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.021/1.061, allocations: 10.75 MB / 0.7606 GB, free: 80.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002568/1.061, allocations: 66.56 kB / 0.7607 GB, free: 80.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006261/1.062, allocations: 199.4 kB / 0.7608 GB, free: 80.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00118/1.063, allocations: 0.9924 MB / 0.7618 GB, free: 79.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0183/1.081, allocations: 9.062 MB / 0.7707 GB, free: 73.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0482/1.13, allocations: 43.98 MB / 0.8136 GB, free: 28.65 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01949/1.149, allocations: 7.914 MB / 0.8214 GB, free: 20.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/1.15, allocations: 1.133 MB / 0.8225 GB, free: 19.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/1.15, allocations: 64.84 kB / 0.8225 GB, free: 19.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=286): time 4.469e-06/1.15, allocations: 0 / 0.8225 GB, free: 19.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=415): time 0.4985/1.649, allocations: 76.27 MB / 0.897 GB, free: 112 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01867/1.668, allocations: 11.36 MB / 0.9081 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01039/1.678, allocations: 3.687 MB / 0.9117 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001376/1.68, allocations: 97.39 kB / 0.9118 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002842/1.682, allocations: 2.99 MB / 0.9147 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002367/1.685, allocations: 1.439 MB / 0.9161 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/1.686, allocations: 114.3 kB / 0.9162 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003084/1.686, allocations: 0.5258 MB / 0.9167 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005394/1.692, allocations: 4.487 MB / 0.9211 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006039/1.698, allocations: 6.529 MB / 0.9275 GB, free: 95.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006351/1.704, allocations: 5.454 MB / 0.9328 GB, free: 93.69 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.981e-05/1.704, allocations: 21.97 kB / 0.9328 GB, free: 93.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.03687/1.741, allocations: 18.59 MB / 0.951 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.768e-05/1.741, allocations: 34.75 kB / 0.951 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.746e-05/1.741, allocations: 65.53 kB / 0.9511 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02384/1.765, allocations: 8.63 MB / 0.9595 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004544/1.77, allocations: 1.032 MB / 0.9605 GB, free: 86.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06521/1.835, allocations: 50.54 MB / 1.01 GB, free: 45.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006808/1.842, allocations: 495.1 kB / 1.01 GB, free: 45.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001641/1.844, allocations: 284.4 kB / 1.011 GB, free: 45.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 57 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (531): * Single equations (assignments): 526 * 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.00743/1.851, allocations: 2.271 MB / 1.013 GB, free: 42.83 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001872/1.853, allocations: 491.7 kB / 1.013 GB, free: 42.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03531/1.888, allocations: 17.6 MB / 1.03 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03392/1.922, allocations: 16.11 MB / 1.046 GB, free: 8.555 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001154/1.922, allocations: 31.98 kB / 1.046 GB, free: 8.523 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001344/1.922, allocations: 19.92 kB / 1.046 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3893/2.312, allocations: 34.73 MB / 1.08 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.649e-05/2.312, allocations: 7.125 kB / 1.08 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002462/2.314, allocations: 452.3 kB / 1.081 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02341/2.338, allocations: 8.054 MB / 1.088 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001178/2.339, allocations: 79.55 kB / 1.089 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07141/2.41, allocations: 49.77 MB / 1.137 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01328/2.424, allocations: 10.15 MB / 1.147 GB, free: 96.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04144/2.465, allocations: 23.94 MB / 1.17 GB, free: 85.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/2.467, allocations: 0.5121 MB / 1.171 GB, free: 84.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002413/2.47, allocations: 83.8 kB / 1.171 GB, free: 84.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005152/2.475, allocations: 351.7 kB / 1.171 GB, free: 84.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002197/2.477, allocations: 337.8 kB / 1.172 GB, free: 84.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00103/2.478, allocations: 106.9 kB / 1.172 GB, free: 84.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006249/2.484, allocations: 2.744 MB / 1.174 GB, free: 82.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/2.484, allocations: 0.875 kB / 1.174 GB, free: 82.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01087/2.495, allocations: 1.971 MB / 1.176 GB, free: 80.05 MB / 0.5261 GB 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.001361/2.497, allocations: 197.4 kB / 1.177 GB, free: 79.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01952/2.516, allocations: 12.37 MB / 1.189 GB, free: 69.19 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/2.516, allocations: 0 / 1.189 GB, free: 69.19 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01251/2.529, allocations: 7.111 MB / 1.196 GB, free: 63.09 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005715/2.534, allocations: 0.7387 MB / 1.196 GB, free: 62.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03083/2.565, allocations: 17.97 MB / 1.214 GB, free: 46.31 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007821/2.573, allocations: 4.286 MB / 1.218 GB, free: 42.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005222/2.578, allocations: 1.678 MB / 1.22 GB, free: 40.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/2.58, allocations: 303.3 kB / 1.22 GB, free: 40.66 MB / 0.5261 GB Notification: Performance of SimCode: time 2.274e-06/2.58, allocations: 0 / 1.22 GB, free: 40.66 MB / 0.5261 GB Notification: Performance of Templates: time 0.4679/3.048, allocations: 108.8 MB / 1.326 GB, free: 114.9 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)