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.001064/0.001064, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01004/0.01004, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.735/1.735, allocations: 205.4 MB / 222.5 MB, free: 5.566 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.4753/0.4753, allocations: 40 MB / 310.7 MB, free: 9.598 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.0006615/0.0006612, allocations: 12 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1731, allocations: 57.95 MB / 437.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.3889/0.5621, allocations: 81.42 MB / 0.5067 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0519/0.6141, allocations: 16.39 MB / 0.5227 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02389/0.638, allocations: 383.4 kB / 0.523 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003141/0.6412, allocations: 494.7 kB / 0.5235 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.6515, allocations: 2.336 MB / 0.5258 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003836/0.6554, allocations: 1.215 MB / 0.527 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02137/0.6767, allocations: 10.79 MB / 0.5375 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01386/0.6907, allocations: 7.901 MB / 0.5452 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005208/0.6959, allocations: 1.973 MB / 0.5472 GB, free: 7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005506/0.7015, allocations: 2.943 MB / 0.55 GB, free: 4.047 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007558/0.7023, allocations: 184 kB / 0.5502 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002764/0.705, allocations: 1.034 MB / 0.5512 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002507/0.7076, allocations: 2.497 MB / 0.5536 GB, free: 336 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003071/0.7106, allocations: 2.626 MB / 0.5562 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01/0.7207, allocations: 8.595 MB / 0.5646 GB, free: 5.055 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7207, allocations: 0 / 0.5646 GB, free: 5.055 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.729e-06/0.7207, allocations: 0 / 0.5646 GB, free: 5.055 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000326/0.721, allocations: 3.938 kB / 0.5646 GB, free: 5.051 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.01584/0.7369, allocations: 6.019 MB / 0.5705 GB, free: 14.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.807e-05/0.737, allocations: 16.03 kB / 0.5705 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01353/0.7505, allocations: 1.975 MB / 0.5724 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/0.7659, allocations: 5.716 MB / 0.578 GB, free: 7.168 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004022/0.7664, allocations: 317.9 kB / 0.5783 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002279/0.7687, allocations: 419.5 kB / 0.5787 GB, free: 6.441 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02717/0.7959, allocations: 11.06 MB / 0.5895 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001972/0.7961, allocations: 63.45 kB / 0.5896 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004689/0.7966, allocations: 179.9 kB / 0.5898 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003368/0.8, allocations: 1.721 MB / 0.5914 GB, free: 8.848 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02186/0.8218, allocations: 9.594 MB / 0.6008 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4089/1.231, allocations: 45.41 MB / 0.6452 GB, free: 122.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02074/1.252, allocations: 7.921 MB / 0.6529 GB, free: 122.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006398/1.258, allocations: 5.373 MB / 0.6581 GB, free: 121 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02238/1.28, allocations: 13.29 MB / 0.6711 GB, free: 115.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.027e-05/1.281, allocations: 63.64 kB / 0.6712 GB, free: 115 MB / 494.1 MB Notification: Performance of pre-optimization done (n=283): time 5.68e-06/1.281, allocations: 0 / 0.6712 GB, free: 115 MB / 494.1 MB Notification: Performance of matching and sorting (n=406): time 0.2489/1.53, allocations: 79.22 MB / 0.7485 GB, free: 58.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01841/1.548, allocations: 10.96 MB / 0.7592 GB, free: 47.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009054/1.557, allocations: 4.347 MB / 0.7635 GB, free: 43.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001672/1.559, allocations: 96.98 kB / 0.7636 GB, free: 43.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002747/1.562, allocations: 2.879 MB / 0.7664 GB, free: 40.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003454/1.565, allocations: 1.409 MB / 0.7678 GB, free: 38.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002399/1.568, allocations: 0.5621 MB / 0.7683 GB, free: 38.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.696e-05/1.568, allocations: 301.1 kB / 0.7686 GB, free: 38.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007899/1.576, allocations: 5.088 MB / 0.7736 GB, free: 32.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009017/1.585, allocations: 7.152 MB / 0.7806 GB, free: 24.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0183/1.603, allocations: 12.83 MB / 0.7931 GB, free: 11.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/1.603, allocations: 20 kB / 0.7931 GB, free: 11.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.05133/1.654, allocations: 21.01 MB / 0.8136 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001447/1.655, allocations: 39.28 kB / 0.8137 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001786/1.655, allocations: 64 kB / 0.8137 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3807/2.035, allocations: 9.766 MB / 0.8233 GB, free: 143.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004936/2.04, allocations: 1.126 MB / 0.8244 GB, free: 143.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09039/2.131, allocations: 53.17 MB / 0.8763 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008143/2.139, allocations: 0.5369 MB / 0.8768 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002302/2.141, allocations: 296.6 kB / 0.8771 GB, free: 124.7 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.006668/2.148, allocations: 2.28 MB / 0.8793 GB, free: 123.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002424/2.151, allocations: 472 kB / 0.8798 GB, free: 123.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04297/2.194, allocations: 19.46 MB / 0.8988 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03911/2.233, allocations: 17.95 MB / 0.9163 GB, free: 96.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000146/2.233, allocations: 28.55 kB / 0.9163 GB, free: 96.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001506/2.233, allocations: 19.92 kB / 0.9163 GB, free: 96.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07309/2.306, allocations: 36.81 MB / 0.9523 GB, free: 59.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.859e-05/2.306, allocations: 4 kB / 0.9523 GB, free: 59.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002583/2.309, allocations: 451.3 kB / 0.9527 GB, free: 59.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0264/2.335, allocations: 9.764 MB / 0.9623 GB, free: 49.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001486/2.337, allocations: 72 kB / 0.9623 GB, free: 49.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3991/2.736, allocations: 51.51 MB / 1.013 GB, free: 136.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01359/2.75, allocations: 9.727 MB / 1.022 GB, free: 134.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0554/2.805, allocations: 25.92 MB / 1.047 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0049/2.81, allocations: 1.491 MB / 1.049 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001587/2.812, allocations: 76.59 kB / 1.049 GB, free: 126.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004567/2.816, allocations: 420.8 kB / 1.049 GB, free: 126 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001711/2.818, allocations: 325.9 kB / 1.05 GB, free: 126 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000372/2.818, allocations: 97.44 kB / 1.05 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005311/2.824, allocations: 2.84 MB / 1.053 GB, free: 125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.01e-07/2.824, allocations: 0 / 1.053 GB, free: 125 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01144/2.835, allocations: 2.115 MB / 1.055 GB, free: 124.8 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.001186/2.836, allocations: 198.9 kB / 1.055 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02416/2.86, allocations: 13.42 MB / 1.068 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/2.861, allocations: 2.5 kB / 1.068 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01388/2.874, allocations: 7.42 MB / 1.075 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01055/2.885, allocations: 0.7356 MB / 1.076 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03876/2.924, allocations: 19.23 MB / 1.095 GB, free: 99.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006121/2.93, allocations: 4.171 MB / 1.099 GB, free: 95.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004873/2.935, allocations: 1.599 MB / 1.1 GB, free: 94.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001463/2.936, allocations: 303.3 kB / 1.101 GB, free: 94.38 MB / 0.4981 GB Notification: Performance of SimCode: time 1.383e-06/2.936, allocations: 0 / 1.101 GB, free: 94.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.4425/3.379, allocations: 118.8 MB / 1.217 GB, free: 133.3 MB / 0.4981 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: