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.0009578/0.0009578, allocations: 96.67 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2377/0.2377, allocations: 45.9 MB / 344 MB, free: 12.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.000304, allocations: 8 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1495, allocations: 63.46 MB / 481.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.4262/0.5757, allocations: 71.28 MB / 0.5397 GB, free: 4.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04677/0.6226, allocations: 16.53 MB / 0.5559 GB, free: 8.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0192/0.6418, allocations: 384 kB / 0.5562 GB, free: 8.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01446/0.6563, allocations: 3.58 MB / 0.5597 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04557/0.7019, allocations: 10.35 MB / 0.5698 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00661/0.7086, allocations: 1.127 MB / 0.5709 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.1365/0.8451, allocations: 95.12 MB / 0.6638 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01192/0.8571, allocations: 7.003 MB / 0.6707 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004421/0.8616, allocations: 1.713 MB / 0.6723 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004369/0.866, allocations: 2.041 MB / 0.6743 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001523/0.8675, allocations: 180 kB / 0.6745 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003008/0.8706, allocations: 0.8115 MB / 0.6753 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.004447/0.875, allocations: 2.295 MB / 0.6775 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00303/0.8781, allocations: 1.076 MB / 0.6786 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.8912, allocations: 7.329 MB / 0.6857 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8913, allocations: 3.938 kB / 0.6857 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.534e-06/0.8913, allocations: 4 kB / 0.6857 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004335/0.8917, allocations: 0 / 0.6857 GB, free: 6.055 MB / 0.5137 GB 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.02345/0.9152, allocations: 6.761 MB / 0.6923 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.9153, allocations: 8.031 kB / 0.6924 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0731/0.9884, allocations: 12.14 MB / 0.7042 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3787/1.367, allocations: 5.667 MB / 0.7097 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000475/1.368, allocations: 320.1 kB / 0.7101 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002156/1.37, allocations: 411.8 kB / 0.7104 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03646/1.406, allocations: 11.02 MB / 0.7212 GB, free: 123.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003842/1.407, allocations: 64.53 kB / 0.7213 GB, free: 123.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000664/1.407, allocations: 174.9 kB / 0.7214 GB, free: 123.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003598/1.411, allocations: 1.73 MB / 0.7231 GB, free: 123.6 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02303/1.434, allocations: 9.315 MB / 0.7322 GB, free: 123.6 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06465/1.499, allocations: 44.71 MB / 0.7759 GB, free: 91.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0209/1.52, allocations: 7.952 MB / 0.7836 GB, free: 84.96 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02201/1.542, allocations: 12.83 MB / 0.7962 GB, free: 73.36 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.109e-05/1.542, allocations: 68.8 kB / 0.7962 GB, free: 73.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=283): time 6.893e-06/1.542, allocations: 2.625 kB / 0.7962 GB, free: 73.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=406): time 0.2183/1.76, allocations: 76.92 MB / 0.8714 GB, free: 12.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01687/1.777, allocations: 11.38 MB / 0.8825 GB, free: 1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007559/1.785, allocations: 4.792 MB / 0.8871 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001996/1.787, allocations: 89.7 kB / 0.8872 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002921/1.79, allocations: 2.969 MB / 0.8901 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002675/1.792, allocations: 1.412 MB / 0.8915 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004657/1.793, allocations: 108 kB / 0.8916 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0003437/1.793, allocations: 0.5337 MB / 0.8921 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006482/1.8, allocations: 4.63 MB / 0.8967 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008191/1.808, allocations: 6.639 MB / 0.9031 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008261/1.816, allocations: 5.596 MB / 0.9086 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.863e-05/1.816, allocations: 19.95 kB / 0.9086 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.04147/1.858, allocations: 18.98 MB / 0.9272 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/1.858, allocations: 33.5 kB / 0.9272 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001027/1.858, allocations: 64 kB / 0.9272 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3598/2.218, allocations: 8.788 MB / 0.9358 GB, free: 232.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004919/2.223, allocations: 1.016 MB / 0.9368 GB, free: 232.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06997/2.293, allocations: 52.24 MB / 0.9878 GB, free: 206 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007338/2.3, allocations: 0.495 MB / 0.9883 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001553/2.302, allocations: 284.8 kB / 0.9886 GB, free: 205.2 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 (515): * Single equations (assignments): 506 * Array equations: 6 * 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,52.1%) 103,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.005198/2.307, allocations: 2.259 MB / 0.9908 GB, free: 203 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001592/2.309, allocations: 486 kB / 0.9913 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03234/2.341, allocations: 17.95 MB / 1.009 GB, free: 184.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02866/2.37, allocations: 16.45 MB / 1.025 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.179e-05/2.37, allocations: 28 kB / 1.025 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.052e-05/2.37, allocations: 19.92 kB / 1.025 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05969/2.43, allocations: 35.33 MB / 1.059 GB, free: 132.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.37e-05/2.43, allocations: 0 / 1.059 GB, free: 132.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002496/2.432, allocations: 455.2 kB / 1.06 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0226/2.455, allocations: 8.801 MB / 1.068 GB, free: 123.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001079/2.456, allocations: 75.91 kB / 1.068 GB, free: 123.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05797/2.514, allocations: 50.8 MB / 1.118 GB, free: 72.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01242/2.526, allocations: 10.17 MB / 1.128 GB, free: 62.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03965/2.566, allocations: 24.49 MB / 1.152 GB, free: 37.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/2.568, allocations: 0.5379 MB / 1.152 GB, free: 37.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002/2.57, allocations: 70.81 kB / 1.153 GB, free: 36.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004447/2.575, allocations: 391.4 kB / 1.153 GB, free: 36.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001598/2.576, allocations: 323.9 kB / 1.153 GB, free: 36.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004075/2.577, allocations: 104 kB / 1.153 GB, free: 36.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004595/2.581, allocations: 3.199 MB / 1.156 GB, free: 32.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/2.581, allocations: 3.062 kB / 1.156 GB, free: 32.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009043/2.59, allocations: 2.008 MB / 1.158 GB, free: 30.97 MB / 0.5919 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 (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,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.001332/2.592, allocations: 196.1 kB / 1.159 GB, free: 30.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01873/2.61, allocations: 12.61 MB / 1.171 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/2.61, allocations: 0 / 1.171 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01232/2.623, allocations: 7.199 MB / 1.178 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0055/2.628, allocations: 0.7323 MB / 1.179 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2848/2.913, allocations: 17.96 MB / 1.196 GB, free: 222.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007003/2.92, allocations: 4.274 MB / 1.2 GB, free: 221.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00527/2.925, allocations: 1.626 MB / 1.202 GB, free: 221.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/2.927, allocations: 301.2 kB / 1.202 GB, free: 221.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.002e-06/2.927, allocations: 3.938 kB / 1.202 GB, free: 221.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.1584/3.085, allocations: 113.5 MB / 1.313 GB, free: 125.9 MB / 0.5919 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)