Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009252/0.0009252, allocations: 180.5 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.524/1.524, allocations: 194.3 MB / 202.4 MB, free: 8.539 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.00166/0.00166, allocations: 119.1 kB / 247.4 MB, free: 6.223 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.2131/0.2131, allocations: 39.93 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.769e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1105, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4246/0.5352, allocations: 97.87 MB / 0.5333 GB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.5355, allocations: 77.27 kB / 0.5333 GB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2878/0.8234, allocations: 107.3 MB / 0.6381 GB, free: 14.99 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.8234, allocations: 0 / 0.6381 GB, free: 14.99 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009138/0.8244, allocations: 116 kB / 0.6382 GB, free: 14.88 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1493 * Number of variables: 1493 Notification: Performance of Generate backend data structure: time 0.02337/0.8478, allocations: 6.099 MB / 0.6442 GB, free: 8.711 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.8479, allocations: 8.031 kB / 0.6442 GB, free: 8.703 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04238/0.8903, allocations: 10.14 MB / 0.6541 GB, free: 14.54 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02711/0.9174, allocations: 9.816 MB / 0.6637 GB, free: 4.652 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004347/0.9179, allocations: 214.7 kB / 0.6639 GB, free: 4.434 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002284/0.9202, allocations: 291.7 kB / 0.6642 GB, free: 4.148 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3605/1.281, allocations: 6.29 MB / 0.6703 GB, free: 99.31 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03171/1.312, allocations: 8.869 MB / 0.679 GB, free: 97.72 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004055/1.313, allocations: 62.91 kB / 0.679 GB, free: 97.72 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00108/1.314, allocations: 18.62 kB / 0.679 GB, free: 97.72 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002429/1.316, allocations: 0.9949 MB / 0.68 GB, free: 97.71 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07364/1.39, allocations: 42.94 MB / 0.7219 GB, free: 79.67 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007753/1.398, allocations: 5.709 MB / 0.7275 GB, free: 77.38 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004932/1.403, allocations: 4.843 MB / 0.7323 GB, free: 75.33 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/1.404, allocations: 1.121 MB / 0.7333 GB, free: 74.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.277e-05/1.404, allocations: 74.83 kB / 0.7334 GB, free: 74.36 MB / 474.7 MB Notification: Performance of pre-optimization done (n=286): time 6.001e-06/1.404, allocations: 1.125 kB / 0.7334 GB, free: 74.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=415): time 0.1445/1.549, allocations: 59.79 MB / 0.7918 GB, free: 43.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.816e-05/1.549, allocations: 201.5 kB / 0.792 GB, free: 42.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007628/1.557, allocations: 3.216 MB / 0.7951 GB, free: 40.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001275/1.558, allocations: 29.7 kB / 0.7952 GB, free: 40.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002419/1.56, allocations: 3.008 MB / 0.7981 GB, free: 37.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002277/1.563, allocations: 1.376 MB / 0.7995 GB, free: 36.44 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/1.564, allocations: 0 / 0.7995 GB, free: 36.44 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003429/1.564, allocations: 0.5332 MB / 0.8 GB, free: 35.96 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004849/1.569, allocations: 4.25 MB / 0.8041 GB, free: 32.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00565/1.575, allocations: 6.241 MB / 0.8102 GB, free: 25.55 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006241/1.581, allocations: 5.224 MB / 0.8153 GB, free: 21.18 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.62e-05/1.581, allocations: 20.84 kB / 0.8153 GB, free: 21.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.03296/1.614, allocations: 17.63 MB / 0.8326 GB, free: 5.445 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/1.614, allocations: 32 kB / 0.8326 GB, free: 5.414 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.284e-05/1.614, allocations: 68 kB / 0.8327 GB, free: 5.348 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0227/1.637, allocations: 8.357 MB / 0.8408 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00465/1.642, allocations: 1.037 MB / 0.8418 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3399/1.982, allocations: 45.33 MB / 0.8861 GB, free: 99.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005929/1.988, allocations: 381.4 kB / 0.8865 GB, free: 99.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001147/1.989, allocations: 281.8 kB / 0.8867 GB, free: 99.73 MB / 490.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 () * 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,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.001059/1.99, allocations: 324.2 kB / 0.887 GB, free: 99.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008941/1.991, allocations: 461 kB / 0.8875 GB, free: 99.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03047/2.021, allocations: 16.95 MB / 0.904 GB, free: 96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02982/2.051, allocations: 15.58 MB / 0.9192 GB, free: 91.63 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.435e-05/2.051, allocations: 33.2 kB / 0.9193 GB, free: 91.63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001099/2.052, allocations: 20.62 kB / 0.9193 GB, free: 91.63 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05379/2.105, allocations: 33.39 MB / 0.9519 GB, free: 77.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-05/2.105, allocations: 4 kB / 0.9519 GB, free: 77.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00239/2.108, allocations: 448.9 kB / 0.9523 GB, free: 77.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0204/2.128, allocations: 7.947 MB / 0.9601 GB, free: 71.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009708/2.129, allocations: 11.33 kB / 0.9601 GB, free: 71.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05389/2.183, allocations: 44.37 MB / 1.003 GB, free: 29.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01154/2.195, allocations: 9.131 MB / 1.012 GB, free: 20.63 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3787/2.573, allocations: 23.13 MB / 1.035 GB, free: 94.19 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004549/2.578, allocations: 1.368 MB / 1.036 GB, free: 94.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001387/2.579, allocations: 13.89 kB / 1.036 GB, free: 94.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004482/2.584, allocations: 290.6 kB / 1.037 GB, free: 94.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001725/2.586, allocations: 337.8 kB / 1.037 GB, free: 94.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004908/2.586, allocations: 107.4 kB / 1.037 GB, free: 94.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004677/2.591, allocations: 2.326 MB / 1.039 GB, free: 93.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.072e-06/2.591, allocations: 0 / 1.039 GB, free: 93.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00848/2.599, allocations: 1.755 MB / 1.041 GB, free: 93.91 MB / 490.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 () * 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 {(11,54.5%) 97,(5,84.0%) 36} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008043/2.6, allocations: 144 kB / 1.041 GB, free: 93.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01857/2.619, allocations: 11.62 MB / 1.052 GB, free: 93.28 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/2.619, allocations: 3.5 kB / 1.052 GB, free: 93.28 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01232/2.631, allocations: 6.722 MB / 1.059 GB, free: 92.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004964/2.636, allocations: 0.6133 MB / 1.06 GB, free: 92.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02637/2.663, allocations: 13.33 MB / 1.073 GB, free: 90.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006691/2.669, allocations: 4.308 MB / 1.077 GB, free: 89.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005426/2.675, allocations: 1.625 MB / 1.078 GB, free: 89.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001605/2.676, allocations: 291 kB / 1.079 GB, free: 89.64 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/2.676, allocations: 0 / 1.079 GB, free: 89.64 MB / 490.7 MB Notification: Performance of Templates: time 0.1498/2.826, allocations: 101.5 MB / 1.178 GB, free: 30.34 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)