Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001228/0.001229, allocations: 114 kB / 17.75 MB, free: 5.32 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.001234/0.001234, allocations: 192.1 kB / 18.68 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.195/0.195, allocations: 44.17 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.84 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3678, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01757/0.3854, allocations: 16.85 MB / 0.5353 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0125/0.398, allocations: 5.471 MB / 0.5407 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003699/0.4017, allocations: 131.6 kB / 0.5408 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01148/0.4132, allocations: 4.658 MB / 0.5453 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.4235, allocations: 2.46 MB / 0.5477 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003833/0.4273, allocations: 1.298 MB / 0.549 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01465/0.442, allocations: 8.403 MB / 0.5572 GB, free: 4.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007063/0.4491, allocations: 5.534 MB / 0.5626 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005308/0.4545, allocations: 2.567 MB / 0.5651 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005073/0.4596, allocations: 3.198 MB / 0.5682 GB, free: 9.344 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.4607, allocations: 0.4922 MB / 0.5687 GB, free: 8.852 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.4634, allocations: 1.272 MB / 0.57 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002492/0.4659, allocations: 2.845 MB / 0.5728 GB, free: 4.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003994/0.4699, allocations: 3.05 MB / 0.5757 GB, free: 1.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.48, allocations: 9.17 MB / 0.5847 GB, free: 8.461 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.48, allocations: 3.938 kB / 0.5847 GB, free: 8.457 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.48, allocations: 3.984 kB / 0.5847 GB, free: 8.453 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002925/0.4803, allocations: 0 / 0.5847 GB, free: 8.453 MB / 446.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.02003/0.5004, allocations: 7.145 MB / 0.5917 GB, free: 1.227 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.5004, allocations: 8.031 kB / 0.5917 GB, free: 1.219 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01303/0.5135, allocations: 1.955 MB / 0.5936 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.015/0.5285, allocations: 5.653 MB / 0.5991 GB, free: 9.527 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004099/0.529, allocations: 329.7 kB / 0.5994 GB, free: 9.199 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001947/0.5309, allocations: 415.6 kB / 0.5998 GB, free: 8.793 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03015/0.5611, allocations: 11.01 MB / 0.6106 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004969/0.5616, allocations: 67.45 kB / 0.6106 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00215/0.5638, allocations: 179.8 kB / 0.6108 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004068/0.5679, allocations: 1.722 MB / 0.6125 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02625/0.5942, allocations: 9.54 MB / 0.6218 GB, free: 1.688 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07585/0.6701, allocations: 45.11 MB / 0.6659 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02318/0.6933, allocations: 7.873 MB / 0.6735 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007361/0.7007, allocations: 5.376 MB / 0.6788 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02427/0.725, allocations: 13.29 MB / 0.6918 GB, free: 8.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001122/0.7252, allocations: 60.8 kB / 0.6918 GB, free: 8.449 MB / 0.545 GB Notification: Performance of pre-optimization done (n=283): time 9.157e-06/0.7253, allocations: 0 / 0.6918 GB, free: 8.449 MB / 0.545 GB Notification: Performance of matching and sorting (n=406): time 0.5827/1.308, allocations: 77.97 MB / 0.768 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01298/1.321, allocations: 11.09 MB / 0.7788 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005351/1.326, allocations: 4.297 MB / 0.783 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001375/1.328, allocations: 97.55 kB / 0.7831 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00156/1.329, allocations: 2.868 MB / 0.7859 GB, free: 121 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001661/1.331, allocations: 1.416 MB / 0.7873 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001882/1.333, allocations: 1.275 MB / 0.7885 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.075e-05/1.333, allocations: 316.8 kB / 0.7888 GB, free: 118 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005439/1.338, allocations: 5.084 MB / 0.7938 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006546/1.345, allocations: 7.156 MB / 0.8008 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01493/1.36, allocations: 12.83 MB / 0.8133 GB, free: 91.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.693e-05/1.36, allocations: 20 kB / 0.8133 GB, free: 91.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.03864/1.399, allocations: 20.99 MB / 0.8338 GB, free: 70.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/1.399, allocations: 32 kB / 0.8338 GB, free: 70 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-05/1.399, allocations: 64 kB / 0.8339 GB, free: 69.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02529/1.424, allocations: 9.737 MB / 0.8434 GB, free: 60.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004585/1.429, allocations: 1.131 MB / 0.8445 GB, free: 59.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06361/1.492, allocations: 57.05 MB / 0.9002 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007302/1.5, allocations: 0.5343 MB / 0.9008 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001371/1.501, allocations: 295.9 kB / 0.901 GB, free: 0.7695 MB / 0.5606 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.005266/1.506, allocations: 2.27 MB / 0.9033 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001644/1.508, allocations: 466.1 kB / 0.9037 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04002/1.548, allocations: 19.44 MB / 0.9227 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03888/1.587, allocations: 17.92 MB / 0.9402 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.042e-05/1.587, allocations: 31.98 kB / 0.9402 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001087/1.587, allocations: 15.94 kB / 0.9402 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4268/2.014, allocations: 36.54 MB / 0.9759 GB, free: 192.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.496e-05/2.014, allocations: 3.938 kB / 0.9759 GB, free: 192.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002551/2.017, allocations: 458.6 kB / 0.9764 GB, free: 192.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02479/2.042, allocations: 9.59 MB / 0.9857 GB, free: 187.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001072/2.043, allocations: 75.98 kB / 0.9858 GB, free: 187.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06493/2.108, allocations: 55.57 MB / 1.04 GB, free: 131.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01202/2.12, allocations: 9.826 MB / 1.05 GB, free: 122 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04194/2.162, allocations: 25.91 MB / 1.075 GB, free: 96.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/2.164, allocations: 0.5175 MB / 1.075 GB, free: 95.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001362/2.165, allocations: 75.56 kB / 1.076 GB, free: 95.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003667/2.169, allocations: 415.3 kB / 1.076 GB, free: 95.46 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001377/2.17, allocations: 320.1 kB / 1.076 GB, free: 95.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003336/2.17, allocations: 106.6 kB / 1.076 GB, free: 95.04 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00384/2.174, allocations: 2.801 MB / 1.079 GB, free: 92.24 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.62e-07/2.174, allocations: 0 / 1.079 GB, free: 92.24 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00979/2.184, allocations: 2.105 MB / 1.081 GB, free: 90.14 MB / 0.6075 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%), (4,37,100.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.001054/2.185, allocations: 200.6 kB / 1.081 GB, free: 89.94 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01963/2.205, allocations: 13.45 MB / 1.094 GB, free: 76.46 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/2.205, allocations: 0 / 1.094 GB, free: 76.46 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01279/2.218, allocations: 7.399 MB / 1.102 GB, free: 69.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005555/2.223, allocations: 0.79 MB / 1.102 GB, free: 68.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02564/2.249, allocations: 16.45 MB / 1.119 GB, free: 51.74 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00429/2.253, allocations: 4.14 MB / 1.123 GB, free: 47.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003981/2.257, allocations: 1.605 MB / 1.124 GB, free: 45.96 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/2.259, allocations: 299.3 kB / 1.124 GB, free: 45.67 MB / 0.6075 GB Notification: Performance of SimCode: time 1.222e-06/2.259, allocations: 0 / 1.124 GB, free: 45.67 MB / 0.6075 GB Notification: Performance of Templates: time 0.4829/2.742, allocations: 122.8 MB / 1.244 GB, free: 145.3 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)