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.00124/0.00124, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00148/0.00148, allocations: 177.3 kB / 15.94 MB, free: 228 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.571/1.571, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.2859/0.2859, allocations: 40 MB / 310.4 MB, free: 10.1 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.0004871/0.0004872, allocations: 16 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1041, allocations: 57.96 MB / 436.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.2345/0.3387, allocations: 71.38 MB / 0.4962 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03187/0.3706, allocations: 16.48 MB / 0.5123 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01667/0.3873, allocations: 376 kB / 0.5127 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01163/0.399, allocations: 3.576 MB / 0.5162 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03391/0.4329, allocations: 10.37 MB / 0.5263 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005217/0.4382, allocations: 1.128 MB / 0.5274 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.07033/0.5085, allocations: 51.42 MB / 0.5776 GB, free: 7.418 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0104/0.519, allocations: 7.029 MB / 0.5845 GB, free: 364 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003559/0.5226, allocations: 1.733 MB / 0.5862 GB, free: 14.62 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00316/0.5258, allocations: 2.049 MB / 0.5882 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009037/0.5267, allocations: 184 kB / 0.5884 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.5289, allocations: 0.8155 MB / 0.5891 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00222/0.5311, allocations: 2.322 MB / 0.5914 GB, free: 9.238 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.5324, allocations: 1.084 MB / 0.5925 GB, free: 8.145 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007272/0.5397, allocations: 7.392 MB / 0.5997 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5397, allocations: 0 / 0.5997 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5398, allocations: 0 / 0.5997 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000336/0.5401, allocations: 0 / 0.5997 GB, free: 0.7344 MB / 462.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.01701/0.5571, allocations: 6.768 MB / 0.6063 GB, free: 9.887 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.5572, allocations: 8.031 kB / 0.6063 GB, free: 9.879 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0733/0.6305, allocations: 12.14 MB / 0.6182 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/0.6446, allocations: 6.334 MB / 0.6244 GB, free: 7.312 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003672/0.6451, allocations: 321.3 kB / 0.6247 GB, free: 6.992 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001144/0.6462, allocations: 415.6 kB / 0.6251 GB, free: 6.586 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2229/0.8691, allocations: 11.02 MB / 0.6358 GB, free: 145.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001654/0.8693, allocations: 58.72 kB / 0.6359 GB, free: 145.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003954/0.8697, allocations: 178.8 kB / 0.636 GB, free: 145.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002766/0.8725, allocations: 1.725 MB / 0.6377 GB, free: 145.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01917/0.8917, allocations: 9.317 MB / 0.6468 GB, free: 143.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06305/0.9548, allocations: 44.78 MB / 0.6906 GB, free: 116.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02311/0.9779, allocations: 7.955 MB / 0.6983 GB, free: 113.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01883/0.9968, allocations: 12.86 MB / 0.7109 GB, free: 103.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.997, allocations: 64.73 kB / 0.7109 GB, free: 103.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=283): time 4.629e-06/0.997, allocations: 0 / 0.7109 GB, free: 103.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=406): time 0.2259/1.223, allocations: 77.16 MB / 0.7863 GB, free: 26.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01385/1.237, allocations: 11.37 MB / 0.7974 GB, free: 15.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005841/1.243, allocations: 4.856 MB / 0.8021 GB, free: 10.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001312/1.244, allocations: 89.7 kB / 0.8022 GB, free: 10.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001683/1.246, allocations: 2.977 MB / 0.8051 GB, free: 7.098 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001856/1.248, allocations: 1.406 MB / 0.8065 GB, free: 5.703 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005061/1.248, allocations: 112 kB / 0.8066 GB, free: 5.594 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002539/1.248, allocations: 0.5376 MB / 0.8071 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005563/1.254, allocations: 4.63 MB / 0.8117 GB, free: 424 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009332/1.263, allocations: 6.637 MB / 0.8181 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008979/1.272, allocations: 5.594 MB / 0.8236 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.63e-05/1.272, allocations: 24 kB / 0.8236 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.2578/1.53, allocations: 18.98 MB / 0.8422 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.447e-05/1.53, allocations: 32.28 kB / 0.8422 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.202e-05/1.53, allocations: 64.12 kB / 0.8423 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02411/1.555, allocations: 8.795 MB / 0.8508 GB, free: 146.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004561/1.559, allocations: 1.014 MB / 0.8518 GB, free: 146.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06931/1.628, allocations: 52.22 MB / 0.9028 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006802/1.635, allocations: 0.4949 MB / 0.9033 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001664/1.637, allocations: 282.8 kB / 0.9036 GB, free: 117 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.004284/1.641, allocations: 2.267 MB / 0.9058 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/1.643, allocations: 493.5 kB / 0.9063 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03033/1.673, allocations: 17.94 MB / 0.9238 GB, free: 96.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02859/1.702, allocations: 16.45 MB / 0.9399 GB, free: 80.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-05/1.702, allocations: 35.2 kB / 0.9399 GB, free: 80.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.894e-05/1.702, allocations: 19.92 kB / 0.9399 GB, free: 80.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05483/1.757, allocations: 35.35 MB / 0.9744 GB, free: 44.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.497e-05/1.757, allocations: 5.75 kB / 0.9744 GB, free: 44.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00244/1.759, allocations: 455.3 kB / 0.9749 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02153/1.781, allocations: 8.797 MB / 0.9835 GB, free: 35.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008928/1.782, allocations: 75.98 kB / 0.9835 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2709/2.052, allocations: 50.79 MB / 1.033 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01506/2.068, allocations: 10.16 MB / 1.043 GB, free: 133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04371/2.111, allocations: 24.5 MB / 1.067 GB, free: 124.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004045/2.115, allocations: 1.466 MB / 1.068 GB, free: 123.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001192/2.117, allocations: 74.95 kB / 1.068 GB, free: 123.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003409/2.12, allocations: 389.5 kB / 1.069 GB, free: 123.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001235/2.121, allocations: 321 kB / 1.069 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003092/2.122, allocations: 102.2 kB / 1.069 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004052/2.126, allocations: 3.247 MB / 1.072 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/2.126, allocations: 0 / 1.072 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006832/2.133, allocations: 2.019 MB / 1.074 GB, free: 122.2 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.0007201/2.133, allocations: 205.7 kB / 1.075 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01698/2.15, allocations: 12.61 MB / 1.087 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/2.15, allocations: 0 / 1.087 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01068/2.161, allocations: 7.206 MB / 1.094 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/2.165, allocations: 0.7333 MB / 1.095 GB, free: 107.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02278/2.187, allocations: 18.04 MB / 1.112 GB, free: 89.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005012/2.193, allocations: 4.282 MB / 1.116 GB, free: 85.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004826/2.197, allocations: 1.626 MB / 1.118 GB, free: 84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/2.199, allocations: 315.3 kB / 1.118 GB, free: 83.7 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/2.199, allocations: 0 / 1.118 GB, free: 83.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.3796/2.578, allocations: 113.9 MB / 1.23 GB, free: 131.1 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: