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.00101/0.00101, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.27/1.27, allocations: 170.6 MB / 183.8 MB, free: 11.47 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.00153/0.00153, allocations: 103.5 kB / 223.2 MB, free: 4.105 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.1882/0.1882, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.879e-05/2.882e-05, allocations: 4 kB / 357 MB, free: 32.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08106/0.0811, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3362/0.4174, allocations: 91.72 MB / 497.4 MB, free: 18.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.4176, allocations: 74.86 kB / 497.5 MB, free: 18.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2747/0.6924, allocations: 109.3 MB / 0.5926 GB, free: 10.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.992e-06/0.6925, allocations: 3.938 kB / 0.5926 GB, free: 10.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005896/0.6931, allocations: 108 kB / 0.5927 GB, free: 10.48 MB / 410.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.02233/0.7154, allocations: 6.111 MB / 0.5986 GB, free: 4.301 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.7155, allocations: 12.03 kB / 0.5986 GB, free: 4.289 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04003/0.7556, allocations: 10.13 MB / 0.6085 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02636/0.782, allocations: 9.828 MB / 0.6181 GB, free: 236 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2338/1.016, allocations: 359.4 kB / 0.6185 GB, free: 78.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00218/1.018, allocations: 466.2 kB / 0.6189 GB, free: 78.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02657/1.045, allocations: 10.64 MB / 0.6293 GB, free: 76.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003254/1.045, allocations: 59.67 kB / 0.6294 GB, free: 76.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009958/1.046, allocations: 200 kB / 0.6296 GB, free: 76.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001609/1.048, allocations: 0.9925 MB / 0.6305 GB, free: 76.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02202/1.07, allocations: 8.935 MB / 0.6393 GB, free: 76.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05599/1.126, allocations: 43.95 MB / 0.6822 GB, free: 55.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02142/1.147, allocations: 7.879 MB / 0.6899 GB, free: 53.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00559/1.153, allocations: 4.93 MB / 0.6947 GB, free: 51.19 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/1.154, allocations: 1.13 MB / 0.6958 GB, free: 50.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.295e-05/1.154, allocations: 67.62 kB / 0.6958 GB, free: 50.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 6.142e-06/1.154, allocations: 0 / 0.6958 GB, free: 50.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=415): time 0.1913/1.345, allocations: 64.99 MB / 0.7593 GB, free: 8.152 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01551/1.361, allocations: 10.91 MB / 0.77 GB, free: 13.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00856/1.37, allocations: 3.686 MB / 0.7736 GB, free: 9.445 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001199/1.371, allocations: 89.7 kB / 0.7736 GB, free: 9.352 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003415/1.374, allocations: 3 MB / 0.7766 GB, free: 6.625 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002594/1.377, allocations: 1.433 MB / 0.778 GB, free: 5.203 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001159/1.378, allocations: 108.9 kB / 0.7781 GB, free: 5.098 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005352/1.379, allocations: 0.5336 MB / 0.7786 GB, free: 4.559 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007187/1.386, allocations: 4.416 MB / 0.7829 GB, free: 140 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2439/1.63, allocations: 6.444 MB / 0.7892 GB, free: 83.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008324/1.638, allocations: 5.405 MB / 0.7945 GB, free: 83.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.194e-05/1.638, allocations: 18.78 kB / 0.7945 GB, free: 83.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.03475/1.673, allocations: 18.44 MB / 0.8125 GB, free: 83.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.79e-05/1.673, allocations: 32.16 kB / 0.8125 GB, free: 83.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.439e-05/1.673, allocations: 66.62 kB / 0.8126 GB, free: 83.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0216/1.695, allocations: 8.61 MB / 0.821 GB, free: 82.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004009/1.699, allocations: 1.03 MB / 0.822 GB, free: 82.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0612/1.76, allocations: 48.45 MB / 0.8693 GB, free: 65.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006528/1.767, allocations: 492.6 kB / 0.8698 GB, free: 64.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/1.768, allocations: 279.6 kB / 0.8701 GB, free: 64.9 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 () * 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.001374/1.769, allocations: 0.4888 MB / 0.8705 GB, free: 64.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/1.771, allocations: 483.4 kB / 0.871 GB, free: 64.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03419/1.805, allocations: 17.51 MB / 0.8881 GB, free: 51.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0333/1.838, allocations: 16.01 MB / 0.9037 GB, free: 39.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.613e-05/1.838, allocations: 31.61 kB / 0.9038 GB, free: 38.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.491e-05/1.838, allocations: 21.19 kB / 0.9038 GB, free: 38.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0655/1.904, allocations: 34.58 MB / 0.9376 GB, free: 6.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-05/1.904, allocations: 8 kB / 0.9376 GB, free: 6.473 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002369/1.906, allocations: 451.3 kB / 0.938 GB, free: 6.031 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2979/2.204, allocations: 8.029 MB / 0.9458 GB, free: 76.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001165/2.205, allocations: 81.11 kB / 0.9459 GB, free: 76.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06335/2.269, allocations: 47.51 MB / 0.9923 GB, free: 70.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01293/2.282, allocations: 9.677 MB / 1.002 GB, free: 66.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03994/2.322, allocations: 23.78 MB / 1.025 GB, free: 57.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005588/2.327, allocations: 1.42 MB / 1.026 GB, free: 56.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001869/2.329, allocations: 82.16 kB / 1.026 GB, free: 56.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004252/2.334, allocations: 361 kB / 1.027 GB, free: 56.65 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00134/2.335, allocations: 337.3 kB / 1.027 GB, free: 56.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000338/2.335, allocations: 112.6 kB / 1.027 GB, free: 56.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004091/2.339, allocations: 2.733 MB / 1.03 GB, free: 55.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/2.339, allocations: 0 / 1.03 GB, free: 55.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007172/2.347, allocations: 1.971 MB / 1.032 GB, free: 55.43 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 () * 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.0007435/2.347, allocations: 206.5 kB / 1.032 GB, free: 55.28 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01885/2.366, allocations: 12.18 MB / 1.044 GB, free: 46.53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/2.366, allocations: 0 / 1.044 GB, free: 46.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01256/2.379, allocations: 7.018 MB / 1.051 GB, free: 40.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005447/2.384, allocations: 0.7473 MB / 1.051 GB, free: 39.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02335/2.408, allocations: 13.68 MB / 1.065 GB, free: 27.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004362/2.412, allocations: 4.296 MB / 1.069 GB, free: 24.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004333/2.417, allocations: 1.674 MB / 1.071 GB, free: 23.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/2.418, allocations: 299.2 kB / 1.071 GB, free: 23.18 MB / 442.7 MB Notification: Performance of SimCode: time 1.203e-06/2.418, allocations: 6.75 kB / 1.071 GB, free: 23.18 MB / 442.7 MB Notification: Performance of Templates: time 0.4778/2.895, allocations: 108.9 MB / 1.177 GB, free: 79.58 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)