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.006285/0.006284, allocations: 102.8 kB / 15.73 MB, free: 6.059 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.001223/0.001223, allocations: 194.4 kB / 16.67 MB, free: 5.973 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.53/1.53, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.2053/0.2053, allocations: 38 MB / 307.9 MB, free: 5.977 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.00162/0.00162, allocations: 63.91 kB / 433 MB, free: 14.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1562, allocations: 56.47 MB / 489.5 MB, free: 5.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.02132/0.1776, allocations: 16.97 MB / 0.4946 GB, free: 4.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0152/0.1929, allocations: 5.441 MB / 0.4999 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004862/0.1979, allocations: 131.6 kB / 0.5 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009465/0.2074, allocations: 4.673 MB / 0.5046 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008204/0.2156, allocations: 2.467 MB / 0.507 GB, free: 8.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003685/0.2193, allocations: 1.314 MB / 0.5083 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.4037/0.623, allocations: 7.735 MB / 0.5158 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0142/0.6373, allocations: 5.537 MB / 0.5212 GB, free: 6.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00971/0.6471, allocations: 2.611 MB / 0.5238 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008199/0.6553, allocations: 3.22 MB / 0.5269 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002606/0.6579, allocations: 0.4927 MB / 0.5274 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004652/0.6626, allocations: 1.283 MB / 0.5287 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004863/0.6675, allocations: 2.899 MB / 0.5315 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007443/0.6749, allocations: 3.064 MB / 0.5345 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01532/0.6903, allocations: 9.2 MB / 0.5435 GB, free: 476 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.6903, allocations: 0 / 0.5435 GB, free: 476 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6903, allocations: 2.688 kB / 0.5435 GB, free: 476 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005381/0.6909, allocations: 4 kB / 0.5435 GB, free: 472 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.03286/0.7238, allocations: 7.174 MB / 0.5505 GB, free: 11.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.7238, allocations: 14.86 kB / 0.5505 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/0.7364, allocations: 1.955 MB / 0.5524 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01591/0.7524, allocations: 5.865 MB / 0.5581 GB, free: 6.777 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00037/0.7528, allocations: 322.4 kB / 0.5584 GB, free: 6.484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00198/0.7548, allocations: 421.2 kB / 0.5588 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02567/0.7804, allocations: 11.01 MB / 0.5696 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002772/0.7808, allocations: 64.77 kB / 0.5697 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005151/0.7813, allocations: 175.1 kB / 0.5698 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003509/0.7848, allocations: 1.733 MB / 0.5715 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02504/0.8099, allocations: 9.534 MB / 0.5808 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0824/0.8923, allocations: 45.13 MB / 0.6249 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02361/0.916, allocations: 7.872 MB / 0.6326 GB, free: 9.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008317/0.9244, allocations: 5.373 MB / 0.6378 GB, free: 4.344 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02375/0.9482, allocations: 13.3 MB / 0.6508 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.916e-05/0.9483, allocations: 60.8 kB / 0.6509 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=283): time 6.181e-06/0.9484, allocations: 0 / 0.6509 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=406): time 0.2725/1.221, allocations: 78.04 MB / 0.7271 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3946/1.615, allocations: 11.09 MB / 0.7379 GB, free: 201.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009059/1.625, allocations: 4.346 MB / 0.7422 GB, free: 201.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001746/1.626, allocations: 93.08 kB / 0.7423 GB, free: 201.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002774/1.629, allocations: 2.875 MB / 0.7451 GB, free: 199.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002946/1.632, allocations: 1.419 MB / 0.7465 GB, free: 198.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003306/1.635, allocations: 1.279 MB / 0.7477 GB, free: 198.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.348e-05/1.636, allocations: 306.4 kB / 0.748 GB, free: 198 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01138/1.647, allocations: 5.085 MB / 0.753 GB, free: 196.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01332/1.66, allocations: 7.157 MB / 0.7599 GB, free: 191.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01896/1.679, allocations: 12.84 MB / 0.7725 GB, free: 184.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002012/1.68, allocations: 19.59 kB / 0.7725 GB, free: 184.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.04817/1.728, allocations: 21 MB / 0.793 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/1.728, allocations: 32 kB / 0.793 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001817/1.728, allocations: 68.16 kB / 0.7931 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02756/1.756, allocations: 9.726 MB / 0.8026 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005058/1.761, allocations: 1.135 MB / 0.8037 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07742/1.838, allocations: 57.03 MB / 0.8594 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00889/1.847, allocations: 0.5361 MB / 0.8599 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002147/1.849, allocations: 295.9 kB / 0.8602 GB, free: 104.4 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.006863/1.856, allocations: 2.273 MB / 0.8624 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002328/1.859, allocations: 474 kB / 0.8629 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0403/1.899, allocations: 19.44 MB / 0.8819 GB, free: 82.15 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03742/1.936, allocations: 17.93 MB / 0.8994 GB, free: 64.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001092/1.937, allocations: 28 kB / 0.8994 GB, free: 64.15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001108/1.937, allocations: 18.14 kB / 0.8994 GB, free: 64.13 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06578/2.002, allocations: 36.56 MB / 0.9351 GB, free: 27.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-05/2.003, allocations: 4 kB / 0.9351 GB, free: 27.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002413/2.005, allocations: 455.2 kB / 0.9356 GB, free: 26.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02523/2.03, allocations: 9.592 MB / 0.9449 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001279/2.032, allocations: 71.98 kB / 0.945 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3847/2.416, allocations: 55.57 MB / 0.9993 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01225/2.429, allocations: 9.806 MB / 1.009 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04633/2.475, allocations: 25.93 MB / 1.034 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005713/2.481, allocations: 1.5 MB / 1.036 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001589/2.482, allocations: 72 kB / 1.036 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004228/2.486, allocations: 419.3 kB / 1.036 GB, free: 139.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001505/2.488, allocations: 318.9 kB / 1.036 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003635/2.488, allocations: 104 kB / 1.037 GB, free: 139.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004062/2.492, allocations: 2.837 MB / 1.039 GB, free: 136.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/2.492, allocations: 0 / 1.039 GB, free: 136.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008774/2.501, allocations: 2.119 MB / 1.041 GB, free: 134.3 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.0009133/2.502, allocations: 192.7 kB / 1.042 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01917/2.521, allocations: 13.45 MB / 1.055 GB, free: 120.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/2.521, allocations: 0 / 1.055 GB, free: 120.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01256/2.534, allocations: 7.403 MB / 1.062 GB, free: 113.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005968/2.54, allocations: 0.7916 MB / 1.063 GB, free: 112.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02817/2.568, allocations: 16.51 MB / 1.079 GB, free: 95.99 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006152/2.574, allocations: 4.172 MB / 1.083 GB, free: 91.79 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004641/2.579, allocations: 1.602 MB / 1.084 GB, free: 90.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/2.581, allocations: 299.3 kB / 1.085 GB, free: 89.89 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/2.581, allocations: 0 / 1.085 GB, free: 89.89 MB / 0.5762 GB Notification: Performance of Templates: time 0.4947/3.075, allocations: 127.8 MB / 1.21 GB, free: 170.5 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)