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.00126/0.001259, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00152/0.00152, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.601/1.601, allocations: 205.1 MB / 222 MB, free: 4.762 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.3836/0.3836, allocations: 39.93 MB / 309.3 MB, free: 9.672 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.001403/0.001403, allocations: 66.56 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.18, allocations: 56.89 MB / 433.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.3958/0.5758, allocations: 83.39 MB / 0.5051 GB, free: 184 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05869/0.6346, allocations: 16.47 MB / 0.5212 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02842/0.663, allocations: 387.3 kB / 0.5215 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01091/0.6741, allocations: 4.666 MB / 0.5261 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009613/0.6837, allocations: 2.334 MB / 0.5284 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004437/0.6882, allocations: 1.205 MB / 0.5295 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02069/0.7089, allocations: 10.79 MB / 0.5401 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009554/0.7185, allocations: 5.39 MB / 0.5453 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006565/0.7251, allocations: 2.359 MB / 0.5476 GB, free: 4.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007103/0.7323, allocations: 3.443 MB / 0.551 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002036/0.7344, allocations: 344 kB / 0.5513 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004528/0.7389, allocations: 1.194 MB / 0.5525 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004711/0.7437, allocations: 2.735 MB / 0.5552 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007226/0.7509, allocations: 2.89 MB / 0.558 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.7614, allocations: 8.886 MB / 0.5667 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.7614, allocations: 3.938 kB / 0.5667 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.7614, allocations: 4 kB / 0.5667 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002369/0.7616, allocations: 0 / 0.5667 GB, free: 0.9453 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.01884/0.7805, allocations: 7.176 MB / 0.5737 GB, free: 9.688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.7806, allocations: 8.031 kB / 0.5737 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/0.7919, allocations: 1.952 MB / 0.5756 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01446/0.8064, allocations: 5.727 MB / 0.5812 GB, free: 1.922 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006141/0.8071, allocations: 321.9 kB / 0.5815 GB, free: 1.602 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003254/0.8104, allocations: 415.6 kB / 0.5819 GB, free: 1.195 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02945/0.8399, allocations: 11.01 MB / 0.5926 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002773/0.8402, allocations: 63.45 kB / 0.5927 GB, free: 5.555 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005699/0.8408, allocations: 179.8 kB / 0.5929 GB, free: 5.379 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003318/0.8441, allocations: 1.725 MB / 0.5946 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02406/0.8682, allocations: 9.54 MB / 0.6039 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4282/1.297, allocations: 45.37 MB / 0.6482 GB, free: 122.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02052/1.317, allocations: 7.876 MB / 0.6559 GB, free: 121.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006768/1.324, allocations: 5.377 MB / 0.6611 GB, free: 119.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02174/1.346, allocations: 13.28 MB / 0.6741 GB, free: 113.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.291e-05/1.346, allocations: 64.16 kB / 0.6742 GB, free: 113.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=283): time 4.819e-06/1.346, allocations: 0 / 0.6742 GB, free: 113.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=406): time 0.2291/1.575, allocations: 78.05 MB / 0.7504 GB, free: 59.42 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01391/1.589, allocations: 10.93 MB / 0.7611 GB, free: 48.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005849/1.595, allocations: 4.339 MB / 0.7653 GB, free: 43.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001504/1.596, allocations: 97.7 kB / 0.7654 GB, free: 43.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001738/1.598, allocations: 2.872 MB / 0.7682 GB, free: 40.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002353/1.6, allocations: 1.42 MB / 0.7696 GB, free: 39.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002412/1.603, allocations: 1.278 MB / 0.7708 GB, free: 38.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.879e-05/1.603, allocations: 305.1 kB / 0.7711 GB, free: 37.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0057/1.609, allocations: 5.088 MB / 0.7761 GB, free: 32.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006917/1.616, allocations: 7.156 MB / 0.7831 GB, free: 24.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/1.631, allocations: 12.84 MB / 0.7956 GB, free: 11.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.761e-05/1.631, allocations: 20 kB / 0.7956 GB, free: 11.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.04349/1.675, allocations: 20.98 MB / 0.8161 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.7e-05/1.675, allocations: 32 kB / 0.8162 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/1.675, allocations: 72.12 kB / 0.8162 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3882/2.063, allocations: 9.726 MB / 0.8257 GB, free: 146.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004655/2.068, allocations: 1.122 MB / 0.8268 GB, free: 146.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08241/2.15, allocations: 53.07 MB / 0.8786 GB, free: 126.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007731/2.158, allocations: 0.5313 MB / 0.8792 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001669/2.16, allocations: 296.4 kB / 0.8794 GB, free: 126.6 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.00574/2.166, allocations: 2.286 MB / 0.8817 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001614/2.167, allocations: 469.9 kB / 0.8821 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03692/2.204, allocations: 19.43 MB / 0.9011 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03951/2.244, allocations: 17.93 MB / 0.9186 GB, free: 98.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001412/2.244, allocations: 28 kB / 0.9186 GB, free: 98.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001176/2.244, allocations: 19.92 kB / 0.9187 GB, free: 98.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07227/2.316, allocations: 36.76 MB / 0.9546 GB, free: 61.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.373e-05/2.316, allocations: 4.5 kB / 0.9546 GB, free: 61.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002412/2.319, allocations: 459.2 kB / 0.955 GB, free: 61.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02527/2.344, allocations: 9.722 MB / 0.9645 GB, free: 51.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001566/2.346, allocations: 72.61 kB / 0.9646 GB, free: 51.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.408/2.754, allocations: 51.39 MB / 1.015 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01355/2.767, allocations: 9.695 MB / 1.024 GB, free: 137.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05674/2.824, allocations: 25.9 MB / 1.05 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005346/2.83, allocations: 1.496 MB / 1.051 GB, free: 128 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002142/2.832, allocations: 75.17 kB / 1.051 GB, free: 128 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005215/2.837, allocations: 413.8 kB / 1.051 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002198/2.839, allocations: 331 kB / 1.052 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000448/2.84, allocations: 97.25 kB / 1.052 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006813/2.847, allocations: 2.838 MB / 1.055 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.11e-07/2.847, allocations: 0 / 1.055 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01274/2.859, allocations: 2.114 MB / 1.057 GB, free: 126.7 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.001388/2.861, allocations: 194.7 kB / 1.057 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02326/2.884, allocations: 13.43 MB / 1.07 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/2.884, allocations: 0 / 1.07 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0149/2.899, allocations: 7.423 MB / 1.077 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006643/2.906, allocations: 0.7279 MB / 1.078 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03731/2.943, allocations: 19.18 MB / 1.097 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009421/2.953, allocations: 4.174 MB / 1.101 GB, free: 97.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006394/2.959, allocations: 1.597 MB / 1.102 GB, free: 96.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002586/2.962, allocations: 303.3 kB / 1.103 GB, free: 96.39 MB / 0.4981 GB Notification: Performance of SimCode: time 1.874e-06/2.962, allocations: 0 / 1.103 GB, free: 96.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.4706/3.432, allocations: 122.5 MB / 1.222 GB, free: 128.8 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)