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.001535/0.001535, allocations: 108 kB / 15.6 MB, free: 132 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.001715/0.001715, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.602/1.602, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.3676/0.3676, allocations: 39.94 MB / 309.7 MB, free: 9.332 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.001653/0.001654, allocations: 70.41 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1814, allocations: 56.88 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.02172/0.2032, allocations: 16.97 MB / 451.5 MB, free: 2.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3654/0.5686, allocations: 5.441 MB / 456.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005492/0.5743, allocations: 129.9 kB / 457 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01056/0.5849, allocations: 4.668 MB / 461.7 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008697/0.5936, allocations: 2.473 MB / 464.2 MB, free: 35.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004123/0.5978, allocations: 1.313 MB / 465.5 MB, free: 35.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01255/0.6104, allocations: 7.742 MB / 473.2 MB, free: 33.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006641/0.617, allocations: 5.551 MB / 478.8 MB, free: 31.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004899/0.622, allocations: 2.58 MB / 481.4 MB, free: 30.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005743/0.6278, allocations: 3.206 MB / 484.6 MB, free: 29.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002286/0.6301, allocations: 0.4973 MB / 485.1 MB, free: 29.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004632/0.6348, allocations: 1.281 MB / 486.3 MB, free: 29.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005195/0.64, allocations: 2.861 MB / 489.2 MB, free: 28.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01057/0.6506, allocations: 3.056 MB / 492.3 MB, free: 26.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02043/0.671, allocations: 9.038 MB / 0.4895 GB, free: 22.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.652e-05/0.6711, allocations: 0 / 0.4895 GB, free: 22.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.684e-06/0.6712, allocations: 1.188 kB / 0.4895 GB, free: 22.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008274/0.672, allocations: 0 / 0.4895 GB, free: 22.53 MB / 382.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.04127/0.7133, allocations: 7.175 MB / 0.4966 GB, free: 17.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.152e-05/0.7134, allocations: 13.27 kB / 0.4966 GB, free: 17.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01679/0.7302, allocations: 1.956 MB / 0.4985 GB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0225/0.7527, allocations: 5.725 MB / 0.5041 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006263/0.7534, allocations: 325.1 kB / 0.5044 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003634/0.7571, allocations: 422 kB / 0.5048 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03442/0.7915, allocations: 11.01 MB / 0.5155 GB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004608/0.7921, allocations: 63.45 kB / 0.5156 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002263/0.7943, allocations: 177.6 kB / 0.5158 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003685/0.798, allocations: 1.718 MB / 0.5174 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02924/0.8273, allocations: 9.553 MB / 0.5268 GB, free: 6.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09569/0.9231, allocations: 45.36 MB / 0.5711 GB, free: 8.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02668/0.9498, allocations: 7.878 MB / 0.5788 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009275/0.9592, allocations: 5.377 MB / 0.584 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02936/0.9886, allocations: 13.29 MB / 0.597 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.552e-05/0.9887, allocations: 64.8 kB / 0.5971 GB, free: 13.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=283): time 7.304e-06/0.9887, allocations: 0 / 0.5971 GB, free: 13.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=406): time 0.6498/1.639, allocations: 78.09 MB / 0.6733 GB, free: 136 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01438/1.653, allocations: 11.11 MB / 0.6842 GB, free: 128.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008426/1.661, allocations: 4.355 MB / 0.6884 GB, free: 124.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001684/1.663, allocations: 86.56 kB / 0.6885 GB, free: 124.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00218/1.665, allocations: 2.883 MB / 0.6913 GB, free: 121.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002684/1.668, allocations: 1.409 MB / 0.6927 GB, free: 120.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00233/1.67, allocations: 1.281 MB / 0.6939 GB, free: 118.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.406e-05/1.67, allocations: 313 kB / 0.6942 GB, free: 118.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006392/1.677, allocations: 5.084 MB / 0.6992 GB, free: 113.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007787/1.685, allocations: 7.16 MB / 0.7062 GB, free: 105.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01797/1.703, allocations: 12.83 MB / 0.7187 GB, free: 91.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.748e-05/1.703, allocations: 16 kB / 0.7187 GB, free: 91.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.04652/1.749, allocations: 20.99 MB / 0.7392 GB, free: 70.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.051e-05/1.749, allocations: 35.98 kB / 0.7393 GB, free: 70.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.871e-05/1.75, allocations: 64 kB / 0.7393 GB, free: 70.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02706/1.777, allocations: 9.757 MB / 0.7489 GB, free: 60.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004961/1.782, allocations: 1.123 MB / 0.7499 GB, free: 59.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06723/1.849, allocations: 57.06 MB / 0.8057 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01005/1.859, allocations: 0.5299 MB / 0.8062 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001885/1.861, allocations: 299.8 kB / 0.8065 GB, free: 1.262 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 (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.3346/2.196, allocations: 2.277 MB / 0.8087 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001958/2.197, allocations: 471.8 kB / 0.8092 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03837/2.236, allocations: 19.44 MB / 0.8281 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04443/2.28, allocations: 17.93 MB / 0.8456 GB, free: 127.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003144/2.281, allocations: 28.91 kB / 0.8457 GB, free: 127.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002421/2.281, allocations: 18.66 kB / 0.8457 GB, free: 127.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0846/2.366, allocations: 36.77 MB / 0.8816 GB, free: 105 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.932e-05/2.366, allocations: 7.938 kB / 0.8816 GB, free: 105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002758/2.369, allocations: 455.2 kB / 0.882 GB, free: 104.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02684/2.395, allocations: 9.629 MB / 0.8914 GB, free: 95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002362/2.398, allocations: 75.98 kB / 0.8915 GB, free: 94.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07277/2.471, allocations: 55.44 MB / 0.9457 GB, free: 39.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01222/2.483, allocations: 9.801 MB / 0.9552 GB, free: 29.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0482/2.531, allocations: 25.9 MB / 0.9805 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006083/2.537, allocations: 1.502 MB / 0.982 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002588/2.54, allocations: 72 kB / 0.9821 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005807/2.546, allocations: 415.3 kB / 0.9825 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002041/2.548, allocations: 320.1 kB / 0.9828 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004981/2.548, allocations: 99.98 kB / 0.9829 GB, free: 1.301 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005727/2.554, allocations: 2.841 MB / 0.9856 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/2.554, allocations: 0 / 0.9856 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01285/2.567, allocations: 2.113 MB / 0.9877 GB, free: 12.35 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.001897/2.569, allocations: 191.2 kB / 0.9879 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.3279/2.897, allocations: 19.82 MB / 1.007 GB, free: 149.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/2.897, allocations: 0 / 1.007 GB, free: 149.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01905/2.916, allocations: 7.427 MB / 1.014 GB, free: 147.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01352/2.929, allocations: 0.7804 MB / 1.015 GB, free: 147.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05066/2.98, allocations: 16.65 MB / 1.032 GB, free: 140.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01082/2.991, allocations: 4.173 MB / 1.036 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007305/2.998, allocations: 1.597 MB / 1.037 GB, free: 139.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002418/3.001, allocations: 298.6 kB / 1.037 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/3.001, allocations: 4 kB / 1.037 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.2059/3.207, allocations: 127.5 MB / 1.162 GB, free: 23.61 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (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)