Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_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.000846/0.0008459, allocations: 92.83 kB / 15.69 MB, free: 484 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009722/0.0009723, allocations: 173.6 kB / 16.57 MB, free: 6.363 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.513/1.513, allocations: 205.4 MB / 222.7 MB, free: 5.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3816/0.3816, allocations: 43.54 MB / 314.5 MB, free: 9.066 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: Performance of FrontEnd - loaded program: time 0.0005014/0.0005014, allocations: 12 kB / 383.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1352, allocations: 58.86 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.2949/0.4301, allocations: 71.37 MB / 0.5021 GB, free: 4.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04124/0.4714, allocations: 16.48 MB / 0.5182 GB, free: 8.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02185/0.4933, allocations: 375.8 kB / 0.5185 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01497/0.5083, allocations: 3.577 MB / 0.522 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04027/0.5486, allocations: 10.37 MB / 0.5322 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007103/0.5557, allocations: 1.129 MB / 0.5333 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.07343/0.6292, allocations: 51.43 MB / 0.5835 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01213/0.6414, allocations: 7.024 MB / 0.5903 GB, free: 8.875 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004557/0.646, allocations: 1.737 MB / 0.592 GB, free: 7.133 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003599/0.6496, allocations: 2.045 MB / 0.594 GB, free: 5.082 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009374/0.6506, allocations: 184 kB / 0.5942 GB, free: 4.902 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.6529, allocations: 0.8194 MB / 0.595 GB, free: 4.082 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002377/0.6553, allocations: 2.315 MB / 0.5973 GB, free: 1.762 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.6569, allocations: 1.084 MB / 0.5983 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008352/0.6653, allocations: 7.384 MB / 0.6055 GB, free: 9.266 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.6653, allocations: 0 / 0.6055 GB, free: 9.266 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.6653, allocations: 3.938 kB / 0.6055 GB, free: 9.262 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003362/0.6657, allocations: 0 / 0.6055 GB, free: 9.262 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.01929/0.685, allocations: 6.768 MB / 0.6121 GB, free: 2.414 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.685, allocations: 12.02 kB / 0.6122 GB, free: 2.402 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07124/0.7563, allocations: 12.14 MB / 0.624 GB, free: 6.238 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2394/0.9958, allocations: 6.328 MB / 0.6302 GB, free: 144.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/0.9961, allocations: 325.8 kB / 0.6305 GB, free: 144.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001313/0.9975, allocations: 412 kB / 0.6309 GB, free: 144.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01785/1.015, allocations: 11.02 MB / 0.6417 GB, free: 142.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/1.015, allocations: 59.12 kB / 0.6417 GB, free: 142.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003945/1.016, allocations: 182 kB / 0.6419 GB, free: 142.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002594/1.018, allocations: 1.722 MB / 0.6436 GB, free: 142.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0173/1.036, allocations: 9.315 MB / 0.6527 GB, free: 139.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06434/1.1, allocations: 44.79 MB / 0.6964 GB, free: 111.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01952/1.12, allocations: 7.947 MB / 0.7042 GB, free: 105.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01665/1.136, allocations: 12.87 MB / 0.7167 GB, free: 92.08 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/1.137, allocations: 68.73 kB / 0.7168 GB, free: 92 MB / 494.1 MB Notification: Performance of pre-optimization done (n=283): time 4.278e-06/1.137, allocations: 0 / 0.7168 GB, free: 92 MB / 494.1 MB Notification: Performance of matching and sorting (n=406): time 0.2229/1.359, allocations: 77.15 MB / 0.7921 GB, free: 14.85 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0142/1.374, allocations: 11.38 MB / 0.8033 GB, free: 3.289 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008389/1.382, allocations: 4.852 MB / 0.808 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001354/1.384, allocations: 93.7 kB / 0.8081 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002735/1.386, allocations: 2.979 MB / 0.811 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00255/1.389, allocations: 1.399 MB / 0.8124 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001424/1.39, allocations: 112 kB / 0.8125 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0005948/1.391, allocations: 0.5337 MB / 0.813 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00886/1.4, allocations: 4.63 MB / 0.8175 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2632/1.663, allocations: 6.638 MB / 0.824 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007811/1.671, allocations: 5.589 MB / 0.8295 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.558e-05/1.671, allocations: 17.12 kB / 0.8295 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03346/1.704, allocations: 18.99 MB / 0.848 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.396e-05/1.705, allocations: 32.3 kB / 0.8481 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.279e-05/1.705, allocations: 64.5 kB / 0.8481 GB, free: 140.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02623/1.731, allocations: 8.794 MB / 0.8567 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004111/1.735, allocations: 1.014 MB / 0.8577 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06291/1.798, allocations: 52.24 MB / 0.9087 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007921/1.806, allocations: 0.4886 MB / 0.9092 GB, free: 104.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00134/1.807, allocations: 275.9 kB / 0.9094 GB, free: 103.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 (515): * Single equations (assignments): 506 * 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 {(12,52.1%) 103,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.00409/1.811, allocations: 2.275 MB / 0.9117 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/1.813, allocations: 481.8 kB / 0.9121 GB, free: 101.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02898/1.842, allocations: 17.95 MB / 0.9297 GB, free: 83.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02788/1.869, allocations: 16.44 MB / 0.9457 GB, free: 66.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.541e-05/1.87, allocations: 35.45 kB / 0.9457 GB, free: 66.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.547e-05/1.87, allocations: 19.94 kB / 0.9458 GB, free: 66.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05572/1.925, allocations: 35.35 MB / 0.9803 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.134e-05/1.926, allocations: 5.781 kB / 0.9803 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/1.928, allocations: 459.2 kB / 0.9807 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0217/1.95, allocations: 8.79 MB / 0.9893 GB, free: 21.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001044/1.951, allocations: 75.98 kB / 0.9894 GB, free: 21.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3257/2.276, allocations: 50.79 MB / 1.039 GB, free: 131 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01517/2.292, allocations: 10.17 MB / 1.049 GB, free: 126.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04189/2.333, allocations: 24.5 MB / 1.073 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003754/2.337, allocations: 1.468 MB / 1.074 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008246/2.338, allocations: 71.78 kB / 1.074 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00316/2.341, allocations: 388.5 kB / 1.075 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001161/2.342, allocations: 334.6 kB / 1.075 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003069/2.343, allocations: 96.52 kB / 1.075 GB, free: 117.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003757/2.347, allocations: 3.248 MB / 1.078 GB, free: 115.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/2.347, allocations: 0 / 1.078 GB, free: 115.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00662/2.353, allocations: 2.012 MB / 1.08 GB, free: 113.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 (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,54.5%) 97,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.000704/2.354, allocations: 214.1 kB / 1.08 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01784/2.372, allocations: 12.61 MB / 1.093 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/2.372, allocations: 0 / 1.093 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01126/2.383, allocations: 7.194 MB / 1.1 GB, free: 94.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004161/2.387, allocations: 0.733 MB / 1.101 GB, free: 94.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02166/2.409, allocations: 18.03 MB / 1.118 GB, free: 76.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003577/2.413, allocations: 4.292 MB / 1.122 GB, free: 72.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003907/2.416, allocations: 1.625 MB / 1.124 GB, free: 70.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/2.418, allocations: 311.3 kB / 1.124 GB, free: 70.14 MB / 0.4981 GB Notification: Performance of SimCode: time 1.232e-06/2.418, allocations: 2.406 kB / 1.124 GB, free: 70.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.328/2.746, allocations: 113.9 MB / 1.235 GB, free: 133 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) Environment - environmentSimulation: