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.00814/0.008139, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001653/0.001653, allocations: 196.9 kB / 16.68 MB, free: 5.926 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.553/1.553, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.3644/0.3644, allocations: 38 MB / 307.9 MB, free: 10.12 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.001671/0.001671, allocations: 67.91 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.412, allocations: 56.47 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01894/0.431, allocations: 16.98 MB / 0.4946 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0184/0.4495, allocations: 5.435 MB / 0.4999 GB, free: 4.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007316/0.4568, allocations: 130.6 kB / 0.5 GB, free: 4.109 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01265/0.4696, allocations: 4.668 MB / 0.5046 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01397/0.4836, allocations: 2.475 MB / 0.507 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005706/0.4894, allocations: 1.31 MB / 0.5083 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01862/0.5081, allocations: 7.731 MB / 0.5158 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01167/0.5198, allocations: 5.547 MB / 0.5212 GB, free: 7.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007192/0.527, allocations: 2.602 MB / 0.5238 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007912/0.535, allocations: 3.206 MB / 0.5269 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0031/0.5382, allocations: 0.4922 MB / 0.5274 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00585/0.5441, allocations: 1.28 MB / 0.5286 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006028/0.5501, allocations: 2.86 MB / 0.5314 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009179/0.5594, allocations: 3.058 MB / 0.5344 GB, free: 9.582 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01769/0.5771, allocations: 9.205 MB / 0.5434 GB, free: 356 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.5772, allocations: 0 / 0.5434 GB, free: 356 kB / 414.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.5772, allocations: 0 / 0.5434 GB, free: 356 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003596/0.5775, allocations: 0 / 0.5434 GB, free: 356 kB / 414.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.02566/0.6032, allocations: 7.176 MB / 0.5504 GB, free: 9.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.378e-05/0.6033, allocations: 11.89 kB / 0.5504 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01426/0.6176, allocations: 1.948 MB / 0.5523 GB, free: 7.121 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01817/0.6358, allocations: 5.868 MB / 0.5581 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000408/0.6363, allocations: 325.7 kB / 0.5584 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002507/0.6388, allocations: 415.6 kB / 0.5588 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02812/0.6669, allocations: 11.01 MB / 0.5695 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002715/0.6672, allocations: 63.45 kB / 0.5696 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006082/0.6679, allocations: 179.9 kB / 0.5698 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003445/0.6713, allocations: 1.729 MB / 0.5714 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02576/0.6971, allocations: 9.54 MB / 0.5808 GB, free: 9.34 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08215/0.7793, allocations: 45.14 MB / 0.6248 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02365/0.803, allocations: 7.857 MB / 0.6325 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3984/1.201, allocations: 5.375 MB / 0.6378 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03102/1.233, allocations: 13.29 MB / 0.6507 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.912e-05/1.233, allocations: 63.64 kB / 0.6508 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=283): time 5.711e-06/1.233, allocations: 2.844 kB / 0.6508 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=406): time 0.2464/1.479, allocations: 78.05 MB / 0.727 GB, free: 62.83 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01373/1.493, allocations: 11.09 MB / 0.7379 GB, free: 51.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006035/1.499, allocations: 4.343 MB / 0.7421 GB, free: 47.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001596/1.501, allocations: 101.4 kB / 0.7422 GB, free: 47.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001998/1.503, allocations: 2.872 MB / 0.745 GB, free: 44.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002317/1.505, allocations: 1.408 MB / 0.7464 GB, free: 42.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00222/1.507, allocations: 1.285 MB / 0.7476 GB, free: 41.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.528e-05/1.507, allocations: 305.2 kB / 0.7479 GB, free: 41.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005633/1.513, allocations: 5.094 MB / 0.7529 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006695/1.52, allocations: 7.154 MB / 0.7599 GB, free: 28.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01452/1.534, allocations: 12.83 MB / 0.7724 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-05/1.534, allocations: 20 kB / 0.7724 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.04291/1.577, allocations: 21 MB / 0.7929 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.479e-05/1.577, allocations: 39.94 kB / 0.793 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/1.577, allocations: 64 kB / 0.793 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02934/1.607, allocations: 9.723 MB / 0.8025 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005065/1.612, allocations: 1.131 MB / 0.8036 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4752/2.087, allocations: 57.04 MB / 0.8593 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008404/2.095, allocations: 0.5236 MB / 0.8598 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002017/2.097, allocations: 298.1 kB / 0.8601 GB, free: 163.4 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.007011/2.105, allocations: 2.279 MB / 0.8624 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001601/2.106, allocations: 473.8 kB / 0.8628 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04673/2.153, allocations: 19.45 MB / 0.8818 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03935/2.192, allocations: 17.92 MB / 0.8993 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.692e-05/2.192, allocations: 26.19 kB / 0.8993 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001161/2.193, allocations: 20.06 kB / 0.8993 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06665/2.259, allocations: 36.57 MB / 0.9351 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.516e-05/2.259, allocations: 4 kB / 0.9351 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002712/2.262, allocations: 464.4 kB / 0.9355 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02551/2.288, allocations: 9.593 MB / 0.9449 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001458/2.289, allocations: 68 kB / 0.9449 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06659/2.356, allocations: 55.56 MB / 0.9992 GB, free: 56.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01245/2.368, allocations: 9.821 MB / 1.009 GB, free: 46.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04416/2.412, allocations: 25.92 MB / 1.034 GB, free: 20.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005303/2.418, allocations: 1.491 MB / 1.036 GB, free: 18.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002/2.42, allocations: 79.94 kB / 1.036 GB, free: 18.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005139/2.425, allocations: 415.3 kB / 1.036 GB, free: 18.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001954/2.427, allocations: 320.2 kB / 1.036 GB, free: 18.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004604/2.427, allocations: 107.9 kB / 1.036 GB, free: 17.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004822/2.432, allocations: 2.837 MB / 1.039 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/2.432, allocations: 0 / 1.039 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009754/2.442, allocations: 2.109 MB / 1.041 GB, free: 13.04 MB / 0.5606 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.001211/2.443, allocations: 199.2 kB / 1.041 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02163/2.465, allocations: 13.46 MB / 1.055 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/2.465, allocations: 320 / 1.055 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01523/2.48, allocations: 7.406 MB / 1.062 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3079/2.788, allocations: 0.7892 MB / 1.063 GB, free: 184.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03721/2.825, allocations: 16.49 MB / 1.079 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008198/2.834, allocations: 4.165 MB / 1.083 GB, free: 180 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005864/2.84, allocations: 1.6 MB / 1.084 GB, free: 180 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001834/2.841, allocations: 297.4 kB / 1.085 GB, free: 180 MB / 0.5762 GB Notification: Performance of SimCode: time 1.683e-06/2.841, allocations: 1.156 kB / 1.085 GB, free: 180 MB / 0.5762 GB Notification: Performance of Templates: time 0.1788/3.02, allocations: 125.1 MB / 1.207 GB, free: 79.71 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)