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.001275/0.001275, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 195.5 kB / 16.53 MB, free: 6.668 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.593/1.593, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3832/0.3832, allocations: 37.99 MB / 307.8 MB, free: 9.957 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.001731/0.001731, allocations: 70.41 kB / 375.2 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1689, allocations: 56.46 MB / 431.7 MB, free: 6.609 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01901/0.188, allocations: 16.97 MB / 448.7 MB, free: 5.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01571/0.2038, allocations: 5.456 MB / 454.1 MB, free: 80 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.3519/0.5558, allocations: 130 kB / 454.3 MB, free: 35.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00956/0.5655, allocations: 4.652 MB / 458.9 MB, free: 35.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00831/0.5738, allocations: 2.472 MB / 461.4 MB, free: 35.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003408/0.5773, allocations: 1.307 MB / 462.7 MB, free: 35.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0123/0.5896, allocations: 7.742 MB / 470.4 MB, free: 34.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007931/0.5976, allocations: 5.555 MB / 476 MB, free: 32.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008075/0.6057, allocations: 2.592 MB / 478.6 MB, free: 31.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009046/0.6148, allocations: 3.207 MB / 481.8 MB, free: 30.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002909/0.6178, allocations: 0.498 MB / 482.3 MB, free: 30.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006021/0.6238, allocations: 1.272 MB / 483.6 MB, free: 30.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008185/0.632, allocations: 2.864 MB / 486.4 MB, free: 29.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0143/0.6464, allocations: 3.062 MB / 489.5 MB, free: 27.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02398/0.6704, allocations: 9.029 MB / 498.5 MB, free: 24.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.597e-05/0.6705, allocations: 2.531 kB / 498.5 MB, free: 24.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.6705, allocations: 0 / 498.5 MB, free: 24.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000822/0.6713, allocations: 1.219 kB / 498.5 MB, free: 24.21 MB / 382.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.04516/0.7165, allocations: 7.18 MB / 0.4938 GB, free: 19.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.992e-05/0.7167, allocations: 13.17 kB / 0.4939 GB, free: 19.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01771/0.7344, allocations: 1.948 MB / 0.4958 GB, free: 18.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02105/0.7555, allocations: 5.723 MB / 0.5013 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005457/0.7561, allocations: 322.1 kB / 0.5017 GB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003546/0.7597, allocations: 411.8 kB / 0.502 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03105/0.7907, allocations: 11.02 MB / 0.5128 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003154/0.7911, allocations: 59.45 kB / 0.5129 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007575/0.7919, allocations: 180.4 kB / 0.513 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003272/0.7952, allocations: 1.726 MB / 0.5147 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02762/0.8228, allocations: 9.542 MB / 0.524 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09771/0.9206, allocations: 45.36 MB / 0.5683 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02557/0.9463, allocations: 7.879 MB / 0.576 GB, free: 4.004 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008373/0.9547, allocations: 5.377 MB / 0.5813 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0323/0.987, allocations: 13.3 MB / 0.5943 GB, free: 1.148 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.9872, allocations: 64.73 kB / 0.5943 GB, free: 1.074 MB / 462.1 MB Notification: Performance of pre-optimization done (n=283): time 9.187e-06/0.9873, allocations: 0 / 0.5943 GB, free: 1.074 MB / 462.1 MB Notification: Performance of matching and sorting (n=406): time 0.6404/1.628, allocations: 78.09 MB / 0.6706 GB, free: 139 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01503/1.643, allocations: 11.1 MB / 0.6814 GB, free: 132.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008268/1.651, allocations: 4.349 MB / 0.6857 GB, free: 130 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001829/1.653, allocations: 88.11 kB / 0.6858 GB, free: 129.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002477/1.655, allocations: 2.879 MB / 0.6886 GB, free: 127.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0032/1.659, allocations: 1.412 MB / 0.69 GB, free: 125.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002825/1.661, allocations: 1.285 MB / 0.6912 GB, free: 124.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/1.662, allocations: 309 kB / 0.6915 GB, free: 124.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006708/1.668, allocations: 5.091 MB / 0.6965 GB, free: 119.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007245/1.676, allocations: 7.152 MB / 0.7035 GB, free: 111.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01672/1.692, allocations: 12.83 MB / 0.716 GB, free: 97.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.426e-05/1.692, allocations: 24 kB / 0.716 GB, free: 97.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.04809/1.741, allocations: 20.98 MB / 0.7365 GB, free: 76.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.489e-05/1.741, allocations: 35.98 kB / 0.7365 GB, free: 76.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/1.741, allocations: 67.47 kB / 0.7366 GB, free: 76.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02687/1.768, allocations: 9.76 MB / 0.7461 GB, free: 66.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005301/1.773, allocations: 1.127 MB / 0.7472 GB, free: 65.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07559/1.849, allocations: 57.06 MB / 0.803 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00828/1.857, allocations: 0.5262 MB / 0.8035 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001556/1.859, allocations: 299.9 kB / 0.8038 GB, free: 7.027 MB / 494.1 MB 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.005937/1.865, allocations: 2.283 MB / 0.806 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/1.866, allocations: 470 kB / 0.8064 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3458/2.212, allocations: 19.44 MB / 0.8254 GB, free: 137.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0411/2.253, allocations: 17.92 MB / 0.8429 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001472/2.253, allocations: 28.31 kB / 0.8429 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001462/2.253, allocations: 22.45 kB / 0.843 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08847/2.342, allocations: 36.77 MB / 0.8789 GB, free: 109.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.229e-05/2.342, allocations: 4 kB / 0.8789 GB, free: 109.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002999/2.345, allocations: 463.2 kB / 0.8793 GB, free: 109.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02752/2.373, allocations: 9.628 MB / 0.8887 GB, free: 99.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001757/2.374, allocations: 75.98 kB / 0.8888 GB, free: 99.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07286/2.447, allocations: 55.45 MB / 0.9429 GB, free: 44.03 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01323/2.46, allocations: 9.781 MB / 0.9525 GB, free: 34.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05127/2.512, allocations: 25.91 MB / 0.9778 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007003/2.519, allocations: 1.493 MB / 0.9793 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003774/2.523, allocations: 68 kB / 0.9793 GB, free: 6.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007269/2.53, allocations: 417.9 kB / 0.9797 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003553/2.534, allocations: 328.1 kB / 0.98 GB, free: 6.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001668/2.535, allocations: 99.98 kB / 0.9801 GB, free: 6.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008417/2.544, allocations: 2.837 MB / 0.9829 GB, free: 3.324 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.714e-06/2.544, allocations: 0 / 0.9829 GB, free: 3.324 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01581/2.56, allocations: 2.117 MB / 0.985 GB, free: 1.207 MB / 494.1 MB 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%), (5,36,88.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.001848/2.561, allocations: 195.6 kB / 0.9851 GB, free: 1.008 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2842/2.846, allocations: 19.82 MB / 1.005 GB, free: 152.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/2.846, allocations: 0 / 1.005 GB, free: 152.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01307/2.859, allocations: 7.426 MB / 1.012 GB, free: 149.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00566/2.864, allocations: 0.7827 MB / 1.013 GB, free: 149.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03435/2.899, allocations: 16.66 MB / 1.029 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007267/2.906, allocations: 4.17 MB / 1.033 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005591/2.912, allocations: 1.595 MB / 1.034 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/2.913, allocations: 306.1 kB / 1.035 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.873e-06/2.913, allocations: 0 / 1.035 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.1895/3.103, allocations: 127.5 MB / 1.159 GB, free: 28.15 MB / 0.4981 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)