Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001195, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2239/0.2239, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 75.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4018, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01838/0.4202, allocations: 16.82 MB / 0.5474 GB, free: 384 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01534/0.4356, allocations: 5.477 MB / 0.5528 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005886/0.4415, allocations: 131.6 kB / 0.5529 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009003/0.4506, allocations: 4.638 MB / 0.5574 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009161/0.4597, allocations: 2.439 MB / 0.5598 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003522/0.4633, allocations: 1.307 MB / 0.5611 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01398/0.4773, allocations: 8.621 MB / 0.5695 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007362/0.4847, allocations: 5.534 MB / 0.5749 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00531/0.49, allocations: 2.582 MB / 0.5774 GB, free: 2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006244/0.4963, allocations: 3.198 MB / 0.5805 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002223/0.4986, allocations: 0.4922 MB / 0.581 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003356/0.502, allocations: 1.264 MB / 0.5823 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003552/0.5055, allocations: 2.868 MB / 0.5851 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005114/0.5107, allocations: 3.042 MB / 0.588 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01398/0.5247, allocations: 9.131 MB / 0.597 GB, free: 13.94 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.5247, allocations: 8 kB / 0.597 GB, free: 13.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.5247, allocations: 0 / 0.597 GB, free: 13.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003256/0.5251, allocations: 0 / 0.597 GB, free: 13.93 MB / 462.1 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.02168/0.5467, allocations: 7.176 MB / 0.604 GB, free: 6.672 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.383e-05/0.5468, allocations: 13.47 kB / 0.604 GB, free: 6.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/0.5588, allocations: 1.944 MB / 0.6059 GB, free: 4.707 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/0.572, allocations: 5.559 MB / 0.6113 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003475/0.5724, allocations: 325.7 kB / 0.6116 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001787/0.5742, allocations: 415.6 kB / 0.612 GB, free: 14.35 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02591/0.6001, allocations: 11 MB / 0.6228 GB, free: 2.773 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002497/0.6004, allocations: 63.48 kB / 0.6228 GB, free: 2.711 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005298/0.601, allocations: 175.9 kB / 0.623 GB, free: 2.539 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003279/0.6042, allocations: 1.729 MB / 0.6247 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02364/0.6279, allocations: 9.54 MB / 0.634 GB, free: 7.242 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07094/0.6989, allocations: 45.1 MB / 0.678 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02206/0.721, allocations: 7.88 MB / 0.6857 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006651/0.7277, allocations: 5.376 MB / 0.691 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02046/0.7482, allocations: 13.27 MB / 0.7039 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.7484, allocations: 68.73 kB / 0.704 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=283): time 7.434e-06/0.7484, allocations: 0 / 0.704 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=406): time 0.5756/1.324, allocations: 77.97 MB / 0.7802 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01312/1.337, allocations: 11.09 MB / 0.791 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005287/1.342, allocations: 4.292 MB / 0.7952 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001255/1.344, allocations: 97.69 kB / 0.7953 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001529/1.345, allocations: 2.868 MB / 0.7981 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001858/1.347, allocations: 1.414 MB / 0.7995 GB, free: 99.51 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002106/1.349, allocations: 1.277 MB / 0.8007 GB, free: 98.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.002e-05/1.349, allocations: 305.1 kB / 0.801 GB, free: 97.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005766/1.355, allocations: 5.091 MB / 0.806 GB, free: 92.83 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006785/1.362, allocations: 7.156 MB / 0.813 GB, free: 84.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01523/1.377, allocations: 12.83 MB / 0.8255 GB, free: 71.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.937e-05/1.377, allocations: 20 kB / 0.8255 GB, free: 70.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.0413/1.419, allocations: 20.99 MB / 0.846 GB, free: 49.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/1.419, allocations: 34.5 kB / 0.846 GB, free: 49.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-05/1.419, allocations: 64 kB / 0.8461 GB, free: 49.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02549/1.444, allocations: 9.722 MB / 0.8556 GB, free: 40.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004834/1.449, allocations: 1.135 MB / 0.8567 GB, free: 38.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07061/1.52, allocations: 57.04 MB / 0.9124 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008061/1.528, allocations: 0.5304 MB / 0.9129 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002216/1.53, allocations: 299.8 kB / 0.9132 GB, free: 12.71 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 294 * 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 (591): * Single equations (assignments): 582 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(11,104,52.1%), (2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,48)} Notification: Performance of prepare postOptimizeDAE: time 0.007196/1.537, allocations: 2.276 MB / 0.9154 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/1.539, allocations: 470 kB / 0.9159 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04332/1.582, allocations: 19.43 MB / 0.9349 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4079/1.99, allocations: 17.93 MB / 0.9524 GB, free: 207 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.392e-05/1.99, allocations: 27.56 kB / 0.9524 GB, free: 207 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000111/1.99, allocations: 25.66 kB / 0.9524 GB, free: 207 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06281/2.053, allocations: 36.55 MB / 0.9881 GB, free: 195.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.195e-05/2.053, allocations: 3.906 kB / 0.9881 GB, free: 195.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002512/2.056, allocations: 455.1 kB / 0.9885 GB, free: 195.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02481/2.081, allocations: 9.596 MB / 0.9979 GB, free: 188.4 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001091/2.082, allocations: 72 kB / 0.998 GB, free: 188.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06287/2.145, allocations: 55.57 MB / 1.052 GB, free: 132.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01223/2.157, allocations: 9.801 MB / 1.062 GB, free: 122.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04168/2.199, allocations: 25.93 MB / 1.087 GB, free: 97.2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/2.2, allocations: 0.5121 MB / 1.088 GB, free: 96.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001052/2.201, allocations: 79.73 kB / 1.088 GB, free: 96.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003685/2.205, allocations: 415.3 kB / 1.088 GB, free: 96.38 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001403/2.206, allocations: 324.1 kB / 1.088 GB, free: 96.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003377/2.207, allocations: 100 kB / 1.089 GB, free: 95.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003207/2.21, allocations: 2.8 MB / 1.091 GB, free: 93.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8.11e-07/2.21, allocations: 0 / 1.091 GB, free: 93.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.006405/2.216, allocations: 2.108 MB / 1.093 GB, free: 91.05 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (217): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(9,99,61.7%), (4,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006147/2.217, allocations: 188.8 kB / 1.093 GB, free: 90.87 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01751/2.234, allocations: 13.47 MB / 1.107 GB, free: 77.36 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/2.234, allocations: 0 / 1.107 GB, free: 77.36 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.01149/2.246, allocations: 7.396 MB / 1.114 GB, free: 69.92 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005101/2.251, allocations: 0.787 MB / 1.115 GB, free: 69.15 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/2.272, allocations: 16.41 MB / 1.131 GB, free: 52.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003662/2.276, allocations: 4.147 MB / 1.135 GB, free: 48.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003536/2.279, allocations: 1.601 MB / 1.136 GB, free: 46.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/2.28, allocations: 299.3 kB / 1.137 GB, free: 46.61 MB / 0.6231 GB Notification: Performance of SimCode: time 8.12e-07/2.28, allocations: 3.938 kB / 1.137 GB, free: 46.6 MB / 0.6231 GB Notification: Performance of Templates: time 0.4849/2.765, allocations: 124.8 MB / 1.258 GB, free: 150.6 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)