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.001104/0.001104, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001305/0.001305, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.588/1.588, allocations: 205.1 MB / 222 MB, free: 4.746 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.3567/0.3567, allocations: 37.98 MB / 307.3 MB, free: 10.04 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.002109/0.002109, allocations: 59.91 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1791, allocations: 56.48 MB / 431 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.4501/0.6293, allocations: 83.39 MB / 0.5024 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05982/0.6891, allocations: 16.46 MB / 0.5184 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03216/0.7213, allocations: 383.2 kB / 0.5188 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01105/0.7325, allocations: 4.672 MB / 0.5234 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.7437, allocations: 2.33 MB / 0.5256 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004505/0.7482, allocations: 1.204 MB / 0.5268 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02131/0.7696, allocations: 10.79 MB / 0.5373 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009049/0.7787, allocations: 5.39 MB / 0.5426 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006555/0.7853, allocations: 2.363 MB / 0.5449 GB, free: 8.543 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006797/0.7921, allocations: 3.447 MB / 0.5483 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001996/0.7941, allocations: 344 kB / 0.5486 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00458/0.7987, allocations: 1.194 MB / 0.5498 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003782/0.8025, allocations: 2.731 MB / 0.5524 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005693/0.8082, allocations: 2.898 MB / 0.5553 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01367/0.8219, allocations: 8.882 MB / 0.564 GB, free: 4.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.822, allocations: 3.938 kB / 0.564 GB, free: 4.988 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.822, allocations: 0 / 0.564 GB, free: 4.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000647/0.8227, allocations: 0 / 0.564 GB, free: 4.988 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.02942/0.8521, allocations: 7.172 MB / 0.571 GB, free: 13.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.578e-05/0.8522, allocations: 8.031 kB / 0.571 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01375/0.866, allocations: 1.955 MB / 0.5729 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01497/0.881, allocations: 5.724 MB / 0.5785 GB, free: 5.969 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004405/0.8814, allocations: 317.9 kB / 0.5788 GB, free: 5.652 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002302/0.8838, allocations: 419.5 kB / 0.5792 GB, free: 5.242 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03091/0.9147, allocations: 11.02 MB / 0.5899 GB, free: 9.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004212/0.9152, allocations: 63.45 kB / 0.59 GB, free: 9.598 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00101/0.9162, allocations: 179.9 kB / 0.5902 GB, free: 9.422 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003523/0.9198, allocations: 1.721 MB / 0.5918 GB, free: 7.695 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02391/0.9437, allocations: 9.544 MB / 0.6012 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4448/1.389, allocations: 45.36 MB / 0.6455 GB, free: 127.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02191/1.411, allocations: 7.876 MB / 0.6532 GB, free: 126.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00747/1.418, allocations: 5.377 MB / 0.6584 GB, free: 124.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02417/1.442, allocations: 13.3 MB / 0.6714 GB, free: 118.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.671e-05/1.442, allocations: 63.61 kB / 0.6714 GB, free: 118.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=283): time 6.112e-06/1.442, allocations: 3.812 kB / 0.6714 GB, free: 118.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=406): time 0.2715/1.714, allocations: 78.03 MB / 0.7477 GB, free: 64.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01593/1.73, allocations: 10.94 MB / 0.7583 GB, free: 52.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01092/1.741, allocations: 4.347 MB / 0.7626 GB, free: 48.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001912/1.743, allocations: 93.61 kB / 0.7627 GB, free: 48.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002323/1.745, allocations: 2.876 MB / 0.7655 GB, free: 45.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002954/1.748, allocations: 1.408 MB / 0.7669 GB, free: 44.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006608/1.755, allocations: 1.285 MB / 0.7681 GB, free: 42.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.014e-05/1.755, allocations: 305.1 kB / 0.7684 GB, free: 42.65 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007546/1.763, allocations: 5.084 MB / 0.7734 GB, free: 37.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009338/1.772, allocations: 7.156 MB / 0.7804 GB, free: 29.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01762/1.79, allocations: 12.83 MB / 0.7929 GB, free: 15.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.982e-05/1.79, allocations: 20 kB / 0.7929 GB, free: 15.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.04785/1.838, allocations: 21 MB / 0.8134 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/1.838, allocations: 32 kB / 0.8134 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001434/1.838, allocations: 64 kB / 0.8135 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02834/1.866, allocations: 9.734 MB / 0.823 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3561/2.222, allocations: 1.128 MB / 0.8241 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07828/2.301, allocations: 53.05 MB / 0.8759 GB, free: 128.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0092/2.31, allocations: 0.5258 MB / 0.8764 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002483/2.313, allocations: 297 kB / 0.8767 GB, free: 128.6 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.008303/2.321, allocations: 2.291 MB / 0.8789 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002152/2.323, allocations: 471.5 kB / 0.8794 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03807/2.361, allocations: 19.44 MB / 0.8984 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03547/2.397, allocations: 17.92 MB / 0.9159 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001253/2.397, allocations: 39.61 kB / 0.9159 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001323/2.397, allocations: 15.94 kB / 0.9159 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07231/2.469, allocations: 36.77 MB / 0.9518 GB, free: 68.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.883e-05/2.469, allocations: 4 kB / 0.9518 GB, free: 68.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002494/2.472, allocations: 448.3 kB / 0.9523 GB, free: 68.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0248/2.497, allocations: 9.735 MB / 0.9618 GB, free: 58.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001574/2.498, allocations: 79.98 kB / 0.9619 GB, free: 58.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3334/2.832, allocations: 51.38 MB / 1.012 GB, free: 141.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0127/2.845, allocations: 9.693 MB / 1.021 GB, free: 140.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05005/2.895, allocations: 25.9 MB / 1.047 GB, free: 133.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005436/2.9, allocations: 1.49 MB / 1.048 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002527/2.903, allocations: 72.33 kB / 1.048 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00545/2.908, allocations: 413.5 kB / 1.049 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00209/2.91, allocations: 329.4 kB / 1.049 GB, free: 132.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005968/2.911, allocations: 97.78 kB / 1.049 GB, free: 132.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007654/2.919, allocations: 2.837 MB / 1.052 GB, free: 131.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.31e-07/2.919, allocations: 2.688 kB / 1.052 GB, free: 131.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01309/2.932, allocations: 2.114 MB / 1.054 GB, free: 131.5 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.001816/2.934, allocations: 200.3 kB / 1.054 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02841/2.962, allocations: 13.42 MB / 1.067 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.69e-05/2.962, allocations: 1.125 kB / 1.067 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01595/2.978, allocations: 7.445 MB / 1.075 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01277/2.991, allocations: 0.7274 MB / 1.075 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04159/3.033, allocations: 19.17 MB / 1.094 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008123/3.041, allocations: 4.167 MB / 1.098 GB, free: 105.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005339/3.046, allocations: 1.601 MB / 1.1 GB, free: 104.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/3.048, allocations: 300.3 kB / 1.1 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.423e-06/3.048, allocations: 0 / 1.1 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.4645/3.512, allocations: 122.5 MB / 1.22 GB, free: 136.5 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)