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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 118.4 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001237, allocations: 183.8 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2173/0.2173, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 59.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5157/0.517, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.02107/0.5381, allocations: 16.85 MB / 0.5354 GB, free: 7.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01533/0.5535, allocations: 5.474 MB / 0.5407 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005476/0.559, allocations: 132.4 kB / 0.5408 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01047/0.5696, allocations: 4.671 MB / 0.5454 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009964/0.5796, allocations: 2.525 MB / 0.5479 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003592/0.5833, allocations: 1.309 MB / 0.5491 GB, free: 12.99 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01242/0.5957, allocations: 8.395 MB / 0.5573 GB, free: 4.582 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008091/0.6038, allocations: 5.53 MB / 0.5627 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006797/0.6106, allocations: 2.586 MB / 0.5653 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005988/0.6167, allocations: 3.202 MB / 0.5684 GB, free: 9.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002028/0.6187, allocations: 0.4922 MB / 0.5689 GB, free: 8.688 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004245/0.623, allocations: 1.28 MB / 0.5701 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005754/0.6288, allocations: 2.888 MB / 0.573 GB, free: 4.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006706/0.6355, allocations: 3.046 MB / 0.5759 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01494/0.6505, allocations: 9.166 MB / 0.5849 GB, free: 8.254 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.6505, allocations: 4 kB / 0.5849 GB, free: 8.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.6505, allocations: 7.938 kB / 0.5849 GB, free: 8.242 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003025/0.6508, allocations: 0 / 0.5849 GB, free: 8.242 MB / 446.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.02353/0.6744, allocations: 7.156 MB / 0.5919 GB, free: 1.004 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.6744, allocations: 12.02 kB / 0.5919 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/0.6866, allocations: 1.944 MB / 0.5938 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01438/0.701, allocations: 5.668 MB / 0.5993 GB, free: 9.297 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004764/0.7015, allocations: 321.7 kB / 0.5996 GB, free: 8.977 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002546/0.7041, allocations: 415.6 kB / 0.6 GB, free: 8.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02576/0.7299, allocations: 11.01 MB / 0.6108 GB, free: 12.99 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002097/0.7301, allocations: 63.47 kB / 0.6108 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004513/0.7306, allocations: 179.9 kB / 0.611 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003027/0.7336, allocations: 1.721 MB / 0.6127 GB, free: 11.03 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02191/0.7556, allocations: 9.54 MB / 0.622 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07819/0.8338, allocations: 45.11 MB / 0.6661 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02265/0.8565, allocations: 7.865 MB / 0.6737 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00833/0.8649, allocations: 5.38 MB / 0.679 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02633/0.8912, allocations: 13.29 MB / 0.692 GB, free: 8.297 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.674e-05/0.8914, allocations: 56.8 kB / 0.692 GB, free: 8.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=283): time 5.851e-06/0.8914, allocations: 0 / 0.692 GB, free: 8.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=406): time 0.6065/1.498, allocations: 77.98 MB / 0.7682 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01418/1.512, allocations: 11.08 MB / 0.779 GB, free: 128 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008152/1.52, allocations: 4.294 MB / 0.7832 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001492/1.522, allocations: 93.45 kB / 0.7833 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001967/1.524, allocations: 2.871 MB / 0.7861 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002607/1.526, allocations: 1.416 MB / 0.7875 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005202/1.532, allocations: 1.28 MB / 0.7887 GB, free: 118 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.778e-05/1.532, allocations: 308.7 kB / 0.789 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006408/1.538, allocations: 5.088 MB / 0.794 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008001/1.546, allocations: 7.148 MB / 0.801 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01642/1.563, allocations: 12.83 MB / 0.8135 GB, free: 90.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.848e-05/1.563, allocations: 24 kB / 0.8135 GB, free: 90.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.04182/1.605, allocations: 20.99 MB / 0.834 GB, free: 69.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.44e-05/1.605, allocations: 34.81 kB / 0.8341 GB, free: 69.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001373/1.605, allocations: 64 kB / 0.8341 GB, free: 69.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02558/1.63, allocations: 9.734 MB / 0.8436 GB, free: 59.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005315/1.636, allocations: 1.131 MB / 0.8447 GB, free: 58.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07266/1.709, allocations: 57.04 MB / 0.9004 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007579/1.716, allocations: 0.5302 MB / 0.901 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00191/1.718, allocations: 295.9 kB / 0.9012 GB, free: 0.4961 MB / 0.5606 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.007246/1.725, allocations: 2.273 MB / 0.9035 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002479/1.728, allocations: 466.1 kB / 0.9039 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04705/1.775, allocations: 19.45 MB / 0.9229 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04519/1.82, allocations: 17.92 MB / 0.9404 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001464/1.82, allocations: 28 kB / 0.9404 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001408/1.821, allocations: 19.92 kB / 0.9404 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4904/2.311, allocations: 36.53 MB / 0.9761 GB, free: 192.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.635e-05/2.311, allocations: 7.438 kB / 0.9761 GB, free: 192.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002429/2.314, allocations: 453.4 kB / 0.9766 GB, free: 192.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02427/2.338, allocations: 9.607 MB / 0.9859 GB, free: 187.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001455/2.339, allocations: 71.98 kB / 0.986 GB, free: 187.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06343/2.403, allocations: 55.56 MB / 1.04 GB, free: 131.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01186/2.415, allocations: 9.818 MB / 1.05 GB, free: 121.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04195/2.457, allocations: 25.92 MB / 1.075 GB, free: 96 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002342/2.459, allocations: 0.5203 MB / 1.076 GB, free: 95.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002677/2.462, allocations: 72 kB / 1.076 GB, free: 95.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006104/2.468, allocations: 418.1 kB / 1.076 GB, free: 95.21 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002569/2.471, allocations: 324.1 kB / 1.076 GB, free: 94.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001118/2.472, allocations: 103.5 kB / 1.077 GB, free: 94.79 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.006519/2.478, allocations: 2.805 MB / 1.079 GB, free: 91.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.2e-07/2.478, allocations: 0 / 1.079 GB, free: 91.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01096/2.489, allocations: 2.109 MB / 1.081 GB, free: 89.88 MB / 0.6075 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.001562/2.491, allocations: 189 kB / 1.082 GB, free: 89.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.02151/2.512, allocations: 13.46 MB / 1.095 GB, free: 76.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/2.512, allocations: 4.188 kB / 1.095 GB, free: 76.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01352/2.526, allocations: 7.4 MB / 1.102 GB, free: 68.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00932/2.535, allocations: 0.7805 MB / 1.103 GB, free: 67.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03504/2.57, allocations: 16.45 MB / 1.119 GB, free: 51.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006255/2.577, allocations: 4.148 MB / 1.123 GB, free: 47.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004153/2.581, allocations: 1.601 MB / 1.124 GB, free: 45.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/2.582, allocations: 299.3 kB / 1.125 GB, free: 45.4 MB / 0.6075 GB Notification: Performance of SimCode: time 1.172e-06/2.582, allocations: 0 / 1.125 GB, free: 45.4 MB / 0.6075 GB Notification: Performance of Templates: time 0.5438/3.126, allocations: 124.9 MB / 1.247 GB, free: 143.3 MB / 0.6075 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)