Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001235/0.001235, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001304/0.001304, allocations: 189.2 kB / 16.25 MB, free: 6.625 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.633/1.633, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4126/0.4126, allocations: 39.94 MB / 309.4 MB, free: 9.332 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.2. 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.001469/0.001469, allocations: 67.91 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1736, allocations: 56.9 MB / 434 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.4199/0.5936, allocations: 83.38 MB / 0.5053 GB, free: 60 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05507/0.6487, allocations: 16.36 MB / 0.5212 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03044/0.6793, allocations: 385.3 kB / 0.5216 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01265/0.692, allocations: 4.512 MB / 0.526 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01237/0.7045, allocations: 2.3 MB / 0.5283 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005347/0.7099, allocations: 1.24 MB / 0.5295 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02092/0.7308, allocations: 8.142 MB / 0.5374 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009882/0.7408, allocations: 5.808 MB / 0.5431 GB, free: 9.121 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007446/0.7483, allocations: 2.695 MB / 0.5457 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007711/0.756, allocations: 3.576 MB / 0.5492 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002494/0.7586, allocations: 0.4922 MB / 0.5497 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004989/0.7636, allocations: 1.284 MB / 0.5509 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005609/0.7692, allocations: 2.891 MB / 0.5538 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007902/0.7772, allocations: 3.077 MB / 0.5568 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0148/0.792, allocations: 9.074 MB / 0.5656 GB, free: 1.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.7921, allocations: 4 kB / 0.5656 GB, free: 1.957 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.7921, allocations: 0 / 0.5656 GB, free: 1.957 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004329/0.7926, allocations: 0 / 0.5656 GB, free: 1.957 MB / 430.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.02708/0.8196, allocations: 7.176 MB / 0.5726 GB, free: 10.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.375e-05/0.8197, allocations: 11.89 kB / 0.5727 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0135/0.8332, allocations: 1.948 MB / 0.5746 GB, free: 8.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01488/0.8482, allocations: 5.728 MB / 0.5802 GB, free: 2.934 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003765/0.8486, allocations: 325.9 kB / 0.5805 GB, free: 2.609 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001929/0.8505, allocations: 411.6 kB / 0.5809 GB, free: 2.207 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02498/0.8755, allocations: 11 MB / 0.5916 GB, free: 6.637 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003212/0.8759, allocations: 63.45 kB / 0.5917 GB, free: 6.574 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008836/0.8768, allocations: 183.9 kB / 0.5918 GB, free: 6.395 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003732/0.8805, allocations: 1.721 MB / 0.5935 GB, free: 4.668 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02519/0.9058, allocations: 9.547 MB / 0.6028 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4048/1.311, allocations: 45.37 MB / 0.6471 GB, free: 122.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02054/1.331, allocations: 7.88 MB / 0.6548 GB, free: 122.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00647/1.338, allocations: 5.37 MB / 0.6601 GB, free: 120 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02507/1.363, allocations: 13.29 MB / 0.6731 GB, free: 114.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.809e-05/1.363, allocations: 62.2 kB / 0.6731 GB, free: 114 MB / 494.1 MB Notification: Performance of pre-optimization done (n=283): time 6.753e-06/1.363, allocations: 0.6562 kB / 0.6731 GB, free: 114 MB / 494.1 MB Notification: Performance of matching and sorting (n=406): time 0.234/1.597, allocations: 78.1 MB / 0.7494 GB, free: 60.42 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01377/1.611, allocations: 11.11 MB / 0.7602 GB, free: 49.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008164/1.619, allocations: 4.347 MB / 0.7645 GB, free: 44.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002028/1.621, allocations: 93.7 kB / 0.7646 GB, free: 44.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002258/1.623, allocations: 2.868 MB / 0.7674 GB, free: 41.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002434/1.626, allocations: 1.426 MB / 0.7688 GB, free: 40.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002557/1.628, allocations: 1.28 MB / 0.77 GB, free: 39.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.841e-05/1.629, allocations: 305.2 kB / 0.7703 GB, free: 38.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006208/1.635, allocations: 5.088 MB / 0.7753 GB, free: 33.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009005/1.644, allocations: 7.153 MB / 0.7823 GB, free: 25.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01622/1.66, allocations: 12.83 MB / 0.7948 GB, free: 11.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.785e-05/1.66, allocations: 20 kB / 0.7948 GB, free: 11.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.04443/1.705, allocations: 20.99 MB / 0.8153 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.83e-05/1.705, allocations: 32 kB / 0.8153 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/1.705, allocations: 64 kB / 0.8154 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3651/2.07, allocations: 9.762 MB / 0.8249 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004971/2.075, allocations: 1.133 MB / 0.826 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08222/2.157, allocations: 57.04 MB / 0.8818 GB, free: 123 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008464/2.166, allocations: 0.5302 MB / 0.8823 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001683/2.167, allocations: 294.7 kB / 0.8826 GB, free: 122.8 MB / 0.4981 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.005336/2.173, allocations: 2.287 MB / 0.8848 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001545/2.174, allocations: 474.8 kB / 0.8852 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03391/2.208, allocations: 19.44 MB / 0.9042 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0324/2.241, allocations: 17.92 MB / 0.9217 GB, free: 95.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.748e-05/2.241, allocations: 30.34 kB / 0.9217 GB, free: 95.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001226/2.241, allocations: 19.92 kB / 0.9218 GB, free: 95.13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06169/2.303, allocations: 36.77 MB / 0.9577 GB, free: 58.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.927e-05/2.303, allocations: 4 kB / 0.9577 GB, free: 58.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002526/2.305, allocations: 463.2 kB / 0.9581 GB, free: 57.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02307/2.328, allocations: 9.627 MB / 0.9675 GB, free: 48.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001286/2.33, allocations: 75.98 kB / 0.9676 GB, free: 48.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4189/2.749, allocations: 55.44 MB / 1.022 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01316/2.762, allocations: 9.789 MB / 1.031 GB, free: 134.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05659/2.818, allocations: 25.9 MB / 1.057 GB, free: 126 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005429/2.824, allocations: 1.493 MB / 1.058 GB, free: 125.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002333/2.826, allocations: 84.28 kB / 1.058 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00602/2.832, allocations: 412.5 kB / 1.059 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002211/2.835, allocations: 323 kB / 1.059 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005243/2.835, allocations: 105.4 kB / 1.059 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005792/2.841, allocations: 2.835 MB / 1.062 GB, free: 124.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/2.841, allocations: 2.531 kB / 1.062 GB, free: 124.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01118/2.852, allocations: 2.113 MB / 1.064 GB, free: 124.1 MB / 0.4981 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%), (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.001604/2.854, allocations: 203.2 kB / 1.064 GB, free: 124 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.03402/2.888, allocations: 19.81 MB / 1.083 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/2.888, allocations: 4 kB / 1.083 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01379/2.902, allocations: 7.429 MB / 1.091 GB, free: 107.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006539/2.908, allocations: 0.7857 MB / 1.091 GB, free: 106.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02937/2.938, allocations: 19.18 MB / 1.11 GB, free: 89.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006729/2.944, allocations: 4.168 MB / 1.114 GB, free: 85.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005217/2.95, allocations: 1.597 MB / 1.116 GB, free: 83.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/2.951, allocations: 299.3 kB / 1.116 GB, free: 83.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.614e-06/2.951, allocations: 0 / 1.116 GB, free: 83.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.4377/3.389, allocations: 127.6 MB / 1.241 GB, free: 124.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)