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.0007995/0.000803, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008555/0.0008555, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.4722/0.4722, allocations: 40.01 MB / 310.4 MB, free: 9.984 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.0007359/0.0007362, allocations: 16 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1756, allocations: 57.97 MB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.4052/0.5809, allocations: 75.69 MB / 0.5005 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05034/0.6313, allocations: 15.73 MB / 0.5158 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.024/0.6554, allocations: 383.2 kB / 0.5162 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01677/0.6722, allocations: 3.802 MB / 0.5199 GB, free: 8.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04656/0.7188, allocations: 11.38 MB / 0.531 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007918/0.7267, allocations: 1.148 MB / 0.5322 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.09268/0.8195, allocations: 65.05 MB / 0.5957 GB, free: 5.199 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01215/0.8317, allocations: 7.083 MB / 0.6026 GB, free: 14.08 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005405/0.8371, allocations: 2.094 MB / 0.6047 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005782/0.843, allocations: 2.952 MB / 0.6075 GB, free: 9.016 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009169/0.8439, allocations: 184 kB / 0.6077 GB, free: 8.836 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.8467, allocations: 0.8466 MB / 0.6085 GB, free: 7.988 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002904/0.8496, allocations: 2.478 MB / 0.611 GB, free: 5.504 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00189/0.8515, allocations: 1.061 MB / 0.612 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009894/0.8614, allocations: 7.123 MB / 0.6189 GB, free: 13.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/0.8615, allocations: 4 kB / 0.619 GB, free: 13.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.047e-06/0.8615, allocations: 4 kB / 0.619 GB, free: 13.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004202/0.8619, allocations: 0 / 0.619 GB, free: 13.29 MB / 494.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.01653/0.8785, allocations: 6.089 MB / 0.6249 GB, free: 7.117 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.8785, allocations: 8.031 kB / 0.6249 GB, free: 7.109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/0.8901, allocations: 1.978 MB / 0.6268 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3912/1.281, allocations: 5.602 MB / 0.6323 GB, free: 79.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003919/1.282, allocations: 325 kB / 0.6326 GB, free: 79.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001988/1.284, allocations: 413.4 kB / 0.633 GB, free: 79.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02393/1.308, allocations: 11.03 MB / 0.6438 GB, free: 77.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002476/1.308, allocations: 57.59 kB / 0.6438 GB, free: 77.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005114/1.309, allocations: 177.9 kB / 0.644 GB, free: 77.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002962/1.311, allocations: 1.724 MB / 0.6457 GB, free: 77.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02614/1.338, allocations: 9.55 MB / 0.655 GB, free: 77.85 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08062/1.418, allocations: 45.41 MB / 0.6994 GB, free: 56.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02119/1.44, allocations: 7.908 MB / 0.7071 GB, free: 50.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007514/1.447, allocations: 5.37 MB / 0.7123 GB, free: 47.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02339/1.471, allocations: 13.29 MB / 0.7253 GB, free: 36.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.093e-05/1.471, allocations: 64.8 kB / 0.7254 GB, free: 36.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=283): time 7.234e-06/1.471, allocations: 0 / 0.7254 GB, free: 36.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=406): time 0.2673/1.738, allocations: 79.1 MB / 0.8026 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01862/1.757, allocations: 10.95 MB / 0.8133 GB, free: 10.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01014/1.767, allocations: 4.317 MB / 0.8175 GB, free: 6.301 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00152/1.768, allocations: 89.7 kB / 0.8176 GB, free: 6.207 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003165/1.772, allocations: 2.884 MB / 0.8204 GB, free: 3.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003102/1.775, allocations: 1.411 MB / 0.8218 GB, free: 1.941 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001679/1.776, allocations: 124 kB / 0.8219 GB, free: 1.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0007707/1.777, allocations: 0.5585 MB / 0.8225 GB, free: 1.254 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01056/1.788, allocations: 5.059 MB / 0.8274 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.013/1.801, allocations: 7.139 MB / 0.8344 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3313/2.132, allocations: 6.054 MB / 0.8403 GB, free: 210.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.499e-05/2.132, allocations: 18.94 kB / 0.8403 GB, free: 210.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.0428/2.175, allocations: 20.95 MB / 0.8608 GB, free: 207 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.034e-05/2.175, allocations: 31.97 kB / 0.8608 GB, free: 207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.38e-05/2.175, allocations: 65.36 kB / 0.8609 GB, free: 207 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0272/2.203, allocations: 9.764 MB / 0.8704 GB, free: 205.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005008/2.208, allocations: 1.128 MB / 0.8715 GB, free: 205.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0706/2.278, allocations: 53.14 MB / 0.9234 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008067/2.286, allocations: 0.5379 MB / 0.9239 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/2.288, allocations: 299.8 kB / 0.9242 GB, free: 172.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(11,51.2%) 104,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.004794/2.293, allocations: 2.285 MB / 0.9264 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/2.294, allocations: 467.7 kB / 0.9269 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03256/2.327, allocations: 19.42 MB / 0.9458 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03243/2.359, allocations: 17.9 MB / 0.9633 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001215/2.359, allocations: 28 kB / 0.9634 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001588/2.359, allocations: 19.92 kB / 0.9634 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06127/2.421, allocations: 36.76 MB / 0.9993 GB, free: 95.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.499e-05/2.421, allocations: 4 kB / 0.9993 GB, free: 95.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002293/2.423, allocations: 459.2 kB / 0.9997 GB, free: 94.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0242/2.447, allocations: 9.747 MB / 1.009 GB, free: 85.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001392/2.449, allocations: 75.98 kB / 1.009 GB, free: 85.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06187/2.511, allocations: 51.45 MB / 1.06 GB, free: 33.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01221/2.523, allocations: 9.695 MB / 1.069 GB, free: 23.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.379/2.902, allocations: 25.87 MB / 1.094 GB, free: 195.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004508/2.906, allocations: 1.497 MB / 1.096 GB, free: 195.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001705/2.908, allocations: 74.31 kB / 1.096 GB, free: 195.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004531/2.913, allocations: 417.1 kB / 1.096 GB, free: 195.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001659/2.914, allocations: 326.2 kB / 1.097 GB, free: 195.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003807/2.915, allocations: 99.64 kB / 1.097 GB, free: 195.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005288/2.92, allocations: 2.81 MB / 1.099 GB, free: 195.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.41e-07/2.92, allocations: 4.969 kB / 1.099 GB, free: 195.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01013/2.93, allocations: 2.116 MB / 1.101 GB, free: 195.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(9,61.7%) 99,(5,88.0%) 36} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.001203/2.932, allocations: 197.8 kB / 1.102 GB, free: 195 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02494/2.956, allocations: 13.39 MB / 1.115 GB, free: 191.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/2.957, allocations: 1.25 kB / 1.115 GB, free: 191.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0177/2.974, allocations: 7.409 MB / 1.122 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007267/2.982, allocations: 0.7388 MB / 1.123 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03265/3.014, allocations: 18.56 MB / 1.141 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005/3.019, allocations: 4.171 MB / 1.145 GB, free: 178 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004496/3.024, allocations: 1.601 MB / 1.146 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/3.025, allocations: 292.6 kB / 1.147 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.523e-06/3.025, allocations: 3.812 kB / 1.147 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.1743/3.2, allocations: 116.3 MB / 1.26 GB, free: 73.94 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: