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.0008222/0.0008222, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007458/0.0007458, allocations: 168.7 kB / 15.95 MB, free: 204 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.522/1.522, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.325/0.325, allocations: 38.03 MB / 308.4 MB, free: 10.41 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.0006039/0.000604, allocations: 19.98 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1238, allocations: 57.53 MB / 434 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.2562/0.3801, allocations: 75.7 MB / 0.4977 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03495/0.4151, allocations: 15.73 MB / 0.5131 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01679/0.4319, allocations: 383.5 kB / 0.5134 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01339/0.4453, allocations: 3.8 MB / 0.5172 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03602/0.4814, allocations: 11.39 MB / 0.5283 GB, free: 6.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005806/0.4873, allocations: 1.141 MB / 0.5294 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08329/0.5706, allocations: 65.04 MB / 0.5929 GB, free: 9.492 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01226/0.5829, allocations: 7.088 MB / 0.5998 GB, free: 2.359 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005456/0.5884, allocations: 2.106 MB / 0.6019 GB, free: 252 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005835/0.5943, allocations: 2.941 MB / 0.6048 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001456/0.5958, allocations: 180 kB / 0.6049 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00352/0.5993, allocations: 0.8466 MB / 0.6058 GB, free: 12.27 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003144/0.6025, allocations: 2.478 MB / 0.6082 GB, free: 9.789 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002648/0.6051, allocations: 1.069 MB / 0.6092 GB, free: 8.711 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008458/0.6136, allocations: 7.123 MB / 0.6162 GB, free: 1.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.6136, allocations: 3.938 kB / 0.6162 GB, free: 1.566 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.6136, allocations: 0 / 0.6162 GB, free: 1.566 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003289/0.614, allocations: 4 kB / 0.6162 GB, free: 1.562 MB / 478.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.01373/0.6277, allocations: 6.081 MB / 0.6221 GB, free: 11.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.6278, allocations: 12.03 kB / 0.6221 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/0.6383, allocations: 1.97 MB / 0.6241 GB, free: 9.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.6494, allocations: 5.608 MB / 0.6295 GB, free: 3.734 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003479/0.6498, allocations: 328.1 kB / 0.6299 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001522/0.6513, allocations: 415.6 kB / 0.6302 GB, free: 3.004 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2377/0.889, allocations: 11.02 MB / 0.641 GB, free: 150.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001802/0.8892, allocations: 58.39 kB / 0.6411 GB, free: 150.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003974/0.8896, allocations: 178.5 kB / 0.6412 GB, free: 150.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00232/0.892, allocations: 1.723 MB / 0.6429 GB, free: 150 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0172/0.9092, allocations: 9.556 MB / 0.6523 GB, free: 147.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05817/0.9674, allocations: 45.41 MB / 0.6966 GB, free: 119.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01911/0.9866, allocations: 7.907 MB / 0.7043 GB, free: 116.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005389/0.992, allocations: 5.374 MB / 0.7096 GB, free: 111.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01555/1.008, allocations: 13.29 MB / 0.7225 GB, free: 97.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/1.008, allocations: 68.61 kB / 0.7226 GB, free: 97.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=283): time 4.438e-06/1.008, allocations: 0 / 0.7226 GB, free: 97.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=406): time 0.1987/1.206, allocations: 79.09 MB / 0.7998 GB, free: 18.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01289/1.219, allocations: 10.96 MB / 0.8105 GB, free: 7.652 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005467/1.225, allocations: 4.323 MB / 0.8148 GB, free: 3.316 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001166/1.226, allocations: 89.7 kB / 0.8148 GB, free: 3.223 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001533/1.228, allocations: 2.878 MB / 0.8177 GB, free: 352 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2298/1.457, allocations: 1.411 MB / 0.819 GB, free: 141.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008696/1.458, allocations: 127.5 kB / 0.8192 GB, free: 141.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003938/1.459, allocations: 0.5566 MB / 0.8197 GB, free: 140.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007281/1.466, allocations: 5.062 MB / 0.8246 GB, free: 140.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00767/1.474, allocations: 7.135 MB / 0.8316 GB, free: 137.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007409/1.481, allocations: 6.055 MB / 0.8375 GB, free: 134.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.426e-05/1.481, allocations: 20.09 kB / 0.8375 GB, free: 134.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.03785/1.519, allocations: 20.95 MB / 0.858 GB, free: 128.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.064e-05/1.519, allocations: 32.78 kB / 0.858 GB, free: 128.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.41e-05/1.519, allocations: 64.31 kB / 0.8581 GB, free: 128.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02671/1.546, allocations: 9.766 MB / 0.8676 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004015/1.55, allocations: 1.131 MB / 0.8687 GB, free: 126.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06194/1.612, allocations: 53.14 MB / 0.9206 GB, free: 81.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005888/1.618, allocations: 0.5267 MB / 0.9211 GB, free: 81.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008889/1.619, allocations: 299.1 kB / 0.9214 GB, free: 80.84 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 (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.003775/1.623, allocations: 2.281 MB / 0.9237 GB, free: 78.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009867/1.624, allocations: 477.9 kB / 0.9241 GB, free: 78.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03116/1.655, allocations: 19.42 MB / 0.9431 GB, free: 58.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03013/1.685, allocations: 17.89 MB / 0.9605 GB, free: 40.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.099e-05/1.685, allocations: 31.28 kB / 0.9606 GB, free: 40.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-05/1.685, allocations: 23.86 kB / 0.9606 GB, free: 40.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05553/1.741, allocations: 36.76 MB / 0.9965 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-05/1.741, allocations: 4 kB / 0.9965 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002133/1.743, allocations: 451.3 kB / 0.9969 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2554/1.998, allocations: 9.753 MB / 1.006 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009643/1.999, allocations: 80.19 kB / 1.007 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06656/2.066, allocations: 51.44 MB / 1.057 GB, free: 111.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01134/2.077, allocations: 9.712 MB / 1.066 GB, free: 107.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03886/2.116, allocations: 25.87 MB / 1.092 GB, free: 87.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003671/2.12, allocations: 1.497 MB / 1.093 GB, free: 85.99 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001432/2.121, allocations: 72 kB / 1.093 GB, free: 85.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003626/2.125, allocations: 419.3 kB / 1.093 GB, free: 85.51 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001511/2.127, allocations: 330.1 kB / 1.094 GB, free: 85.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003887/2.127, allocations: 99.98 kB / 1.094 GB, free: 85.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004226/2.131, allocations: 2.805 MB / 1.097 GB, free: 82.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/2.131, allocations: 0 / 1.097 GB, free: 82.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006811/2.138, allocations: 2.117 MB / 1.099 GB, free: 80.18 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 (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.0006749/2.139, allocations: 186.9 kB / 1.099 GB, free: 79.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01749/2.156, allocations: 13.39 MB / 1.112 GB, free: 66.58 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/2.156, allocations: 4 kB / 1.112 GB, free: 66.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01114/2.167, allocations: 7.409 MB / 1.119 GB, free: 59.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004159/2.172, allocations: 0.7434 MB / 1.12 GB, free: 58.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02198/2.194, allocations: 18.55 MB / 1.138 GB, free: 39.94 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003867/2.197, allocations: 4.172 MB / 1.142 GB, free: 35.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003801/2.201, allocations: 1.601 MB / 1.144 GB, free: 34.13 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/2.203, allocations: 303.3 kB / 1.144 GB, free: 33.83 MB / 494.1 MB Notification: Performance of SimCode: time 1.172e-06/2.203, allocations: 0 / 1.144 GB, free: 33.83 MB / 494.1 MB Notification: Performance of Templates: time 0.3679/2.57, allocations: 116.2 MB / 1.257 GB, free: 108.9 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: