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/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 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006917/0.006917, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001317/0.001317, allocations: 192.2 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2291/0.2291, allocations: 38 MB / 307.9 MB, free: 5.98 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 75.89 kB / 433 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1448, allocations: 56.47 MB / 489.5 MB, free: 5.855 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01883/0.1637, allocations: 16.97 MB / 0.4946 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01261/0.1764, allocations: 5.444 MB / 0.4999 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00347/0.1799, allocations: 131.6 kB / 0.5 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008317/0.1883, allocations: 4.661 MB / 0.5046 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006667/0.195, allocations: 2.556 MB / 0.5071 GB, free: 7.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003007/0.198, allocations: 1.307 MB / 0.5083 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.3259/0.5239, allocations: 7.739 MB / 0.5159 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01494/0.5389, allocations: 5.539 MB / 0.5213 GB, free: 6.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007646/0.5466, allocations: 2.615 MB / 0.5239 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009892/0.5566, allocations: 3.218 MB / 0.527 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004122/0.5608, allocations: 0.4941 MB / 0.5275 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006955/0.5678, allocations: 1.284 MB / 0.5287 GB, free: 6.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00687/0.5747, allocations: 2.899 MB / 0.5316 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01035/0.5851, allocations: 3.058 MB / 0.5346 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01613/0.6012, allocations: 9.208 MB / 0.5436 GB, free: 492 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.6013, allocations: 0 / 0.5436 GB, free: 492 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6013, allocations: 2.719 kB / 0.5436 GB, free: 492 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000503/0.6018, allocations: 0 / 0.5436 GB, free: 492 kB / 398.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.02927/0.6311, allocations: 7.171 MB / 0.5506 GB, free: 11.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.6311, allocations: 13.73 kB / 0.5506 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01404/0.6452, allocations: 1.955 MB / 0.5525 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01526/0.6605, allocations: 5.873 MB / 0.5582 GB, free: 6.684 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004025/0.6609, allocations: 321.6 kB / 0.5585 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002/0.663, allocations: 417.6 kB / 0.5589 GB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0262/0.6892, allocations: 11.01 MB / 0.5697 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003728/0.6896, allocations: 66.41 kB / 0.5697 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001653/0.6913, allocations: 180 kB / 0.5699 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003498/0.6948, allocations: 1.721 MB / 0.5716 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02618/0.721, allocations: 9.538 MB / 0.5809 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07313/0.7942, allocations: 45.13 MB / 0.625 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02208/0.8163, allocations: 7.866 MB / 0.6327 GB, free: 9.629 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007227/0.8235, allocations: 5.38 MB / 0.6379 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02574/0.8493, allocations: 13.3 MB / 0.6509 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.099e-05/0.8495, allocations: 64.8 kB / 0.651 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=283): time 6.743e-06/0.8495, allocations: 2.25 kB / 0.651 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=406): time 0.2433/1.093, allocations: 78.04 MB / 0.7272 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3143/1.407, allocations: 11.1 MB / 0.738 GB, free: 201.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01156/1.419, allocations: 4.349 MB / 0.7423 GB, free: 201.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001551/1.42, allocations: 91.47 kB / 0.7423 GB, free: 201.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003177/1.424, allocations: 2.88 MB / 0.7452 GB, free: 200.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002871/1.426, allocations: 1.412 MB / 0.7465 GB, free: 199 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00681/1.433, allocations: 1.278 MB / 0.7478 GB, free: 198.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.39e-05/1.433, allocations: 305.9 kB / 0.7481 GB, free: 198.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01035/1.444, allocations: 5.086 MB / 0.753 GB, free: 196.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01155/1.455, allocations: 7.155 MB / 0.76 GB, free: 191.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01749/1.473, allocations: 12.83 MB / 0.7726 GB, free: 184.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001827/1.473, allocations: 19.41 kB / 0.7726 GB, free: 184.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.04652/1.52, allocations: 20.99 MB / 0.7931 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002104/1.52, allocations: 37 kB / 0.7931 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001934/1.52, allocations: 64 kB / 0.7932 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02535/1.545, allocations: 9.738 MB / 0.8027 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004805/1.55, allocations: 1.128 MB / 0.8038 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07103/1.621, allocations: 57.05 MB / 0.8595 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008759/1.63, allocations: 0.5283 MB / 0.86 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002054/1.632, allocations: 299.9 kB / 0.8603 GB, free: 104.3 MB / 0.5762 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.007544/1.64, allocations: 2.279 MB / 0.8625 GB, free: 102 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002114/1.642, allocations: 466.1 kB / 0.863 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03674/1.679, allocations: 19.44 MB / 0.8819 GB, free: 82.04 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03482/1.714, allocations: 17.92 MB / 0.8995 GB, free: 64.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001087/1.714, allocations: 28 kB / 0.8995 GB, free: 64.04 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001158/1.714, allocations: 23.61 kB / 0.8995 GB, free: 64.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0696/1.783, allocations: 36.57 MB / 0.9352 GB, free: 27.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-05/1.784, allocations: 4 kB / 0.9352 GB, free: 27.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002631/1.786, allocations: 447.3 kB / 0.9356 GB, free: 26.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02475/1.811, allocations: 9.592 MB / 0.945 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00152/1.813, allocations: 79.94 kB / 0.9451 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3802/2.193, allocations: 55.57 MB / 0.9994 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01251/2.205, allocations: 9.807 MB / 1.009 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04223/2.248, allocations: 25.93 MB / 1.034 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004054/2.252, allocations: 1.498 MB / 1.036 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001807/2.254, allocations: 75.98 kB / 1.036 GB, free: 140 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004334/2.258, allocations: 415.3 kB / 1.036 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001695/2.26, allocations: 324 kB / 1.036 GB, free: 139.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005297/2.26, allocations: 104 kB / 1.037 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005179/2.265, allocations: 2.837 MB / 1.039 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.322e-06/2.265, allocations: 0 / 1.039 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008067/2.273, allocations: 2.12 MB / 1.041 GB, free: 134.2 MB / 0.5762 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.0007386/2.274, allocations: 190.2 kB / 1.042 GB, free: 134 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01849/2.293, allocations: 13.46 MB / 1.055 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/2.293, allocations: 0 / 1.055 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01263/2.305, allocations: 7.398 MB / 1.062 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006832/2.312, allocations: 0.7885 MB / 1.063 GB, free: 112.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02759/2.34, allocations: 16.51 MB / 1.079 GB, free: 95.88 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006034/2.346, allocations: 4.17 MB / 1.083 GB, free: 91.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004447/2.35, allocations: 1.593 MB / 1.084 GB, free: 90.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001806/2.352, allocations: 303.3 kB / 1.085 GB, free: 89.79 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/2.352, allocations: 3.938 kB / 1.085 GB, free: 89.79 MB / 0.5762 GB Notification: Performance of Templates: time 0.4509/2.803, allocations: 125.1 MB / 1.207 GB, free: 172.6 MB / 0.5762 GB 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)