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.001435/0.001435, allocations: 109.6 kB / 16.41 MB, free: 6.473 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.001155/0.001155, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.447/1.447, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2187/0.2187, allocations: 43.54 MB / 314.1 MB, free: 464 kB / 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.001211/0.001211, allocations: 63.91 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.141, allocations: 57.8 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01637/0.1574, allocations: 16.97 MB / 0.5045 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.1713, allocations: 5.452 MB / 0.5098 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004474/0.1758, allocations: 131.6 kB / 0.5099 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008694/0.1846, allocations: 4.661 MB / 0.5145 GB, free: 480 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008322/0.193, allocations: 2.478 MB / 0.5169 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.1962, allocations: 1.314 MB / 0.5182 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01336/0.2096, allocations: 7.735 MB / 0.5257 GB, free: 4.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3182/0.5278, allocations: 5.537 MB / 0.5311 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006081/0.5339, allocations: 2.604 MB / 0.5337 GB, free: 8.809 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00722/0.5412, allocations: 3.223 MB / 0.5368 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003092/0.5443, allocations: 0.4933 MB / 0.5373 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006161/0.5505, allocations: 1.279 MB / 0.5386 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00638/0.5569, allocations: 2.9 MB / 0.5414 GB, free: 8.266 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009131/0.5661, allocations: 3.061 MB / 0.5444 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01671/0.5828, allocations: 9.206 MB / 0.5534 GB, free: 5.961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5829, allocations: 1.406 kB / 0.5534 GB, free: 5.961 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5829, allocations: 2.344 kB / 0.5534 GB, free: 5.961 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004181/0.5833, allocations: 0 / 0.5534 GB, free: 5.961 MB / 414.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.02714/0.6105, allocations: 7.171 MB / 0.5604 GB, free: 2.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.6105, allocations: 17.3 kB / 0.5604 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01365/0.6242, allocations: 1.954 MB / 0.5623 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01535/0.6396, allocations: 5.867 MB / 0.568 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005009/0.6401, allocations: 324.8 kB / 0.5683 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003208/0.6434, allocations: 417.6 kB / 0.5687 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03294/0.6763, allocations: 11.02 MB / 0.5795 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004019/0.6768, allocations: 56.58 kB / 0.5796 GB, free: 6.555 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002/0.6788, allocations: 175.4 kB / 0.5797 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00375/0.6826, allocations: 1.728 MB / 0.5814 GB, free: 4.695 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02571/0.7083, allocations: 9.536 MB / 0.5907 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07796/0.7863, allocations: 45.14 MB / 0.6348 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02281/0.8091, allocations: 7.864 MB / 0.6425 GB, free: 5.715 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006941/0.8161, allocations: 5.376 MB / 0.6477 GB, free: 340 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0232/0.8394, allocations: 13.3 MB / 0.6607 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.726e-05/0.8395, allocations: 68.45 kB / 0.6608 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=283): time 5.68e-06/0.8395, allocations: 4 kB / 0.6608 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=406): time 0.2617/1.101, allocations: 78.04 MB / 0.737 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0175/1.119, allocations: 11.1 MB / 0.7478 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01001/1.129, allocations: 4.343 MB / 0.7521 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001608/1.13, allocations: 93.7 kB / 0.7522 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00294/1.133, allocations: 2.878 MB / 0.755 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00295/1.136, allocations: 1.412 MB / 0.7564 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3007/1.437, allocations: 1.276 MB / 0.7576 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.187e-05/1.437, allocations: 303.9 kB / 0.7579 GB, free: 208 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008428/1.446, allocations: 5.087 MB / 0.7629 GB, free: 208 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01006/1.456, allocations: 7.164 MB / 0.7699 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01943/1.475, allocations: 12.83 MB / 0.7824 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.743e-05/1.475, allocations: 19.78 kB / 0.7824 GB, free: 198.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.03886/1.514, allocations: 21 MB / 0.8029 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.32e-05/1.514, allocations: 35.94 kB / 0.8029 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-05/1.514, allocations: 64 kB / 0.803 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02444/1.539, allocations: 9.732 MB / 0.8125 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004464/1.543, allocations: 1.123 MB / 0.8136 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06212/1.605, allocations: 57.04 MB / 0.8693 GB, free: 124.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00719/1.613, allocations: 0.5326 MB / 0.8698 GB, free: 124 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001819/1.614, allocations: 296.7 kB / 0.8701 GB, free: 123.7 MB / 0.5919 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.005374/1.62, allocations: 2.283 MB / 0.8723 GB, free: 121.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/1.621, allocations: 468.6 kB / 0.8728 GB, free: 121.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03364/1.655, allocations: 19.43 MB / 0.8918 GB, free: 101.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03463/1.69, allocations: 17.92 MB / 0.9093 GB, free: 83.77 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001198/1.69, allocations: 28 kB / 0.9093 GB, free: 83.74 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001414/1.69, allocations: 27.86 kB / 0.9093 GB, free: 83.71 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06414/1.754, allocations: 36.56 MB / 0.945 GB, free: 46.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-05/1.754, allocations: 7.938 kB / 0.945 GB, free: 46.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00238/1.757, allocations: 448.2 kB / 0.9455 GB, free: 46.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02409/1.781, allocations: 9.6 MB / 0.9548 GB, free: 36.86 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001251/1.782, allocations: 76.09 kB / 0.9549 GB, free: 36.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.317/2.099, allocations: 55.56 MB / 1.009 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01242/2.111, allocations: 9.807 MB / 1.019 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04378/2.155, allocations: 25.93 MB / 1.044 GB, free: 168 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004265/2.16, allocations: 1.491 MB / 1.046 GB, free: 166.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001838/2.161, allocations: 72 kB / 1.046 GB, free: 166.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004729/2.166, allocations: 413.6 kB / 1.046 GB, free: 166.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001776/2.168, allocations: 330.4 kB / 1.046 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003837/2.168, allocations: 103.8 kB / 1.046 GB, free: 166.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00451/2.173, allocations: 2.836 MB / 1.049 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.2e-07/2.173, allocations: 0 / 1.049 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00948/2.182, allocations: 2.115 MB / 1.051 GB, free: 161.8 MB / 0.5919 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.001017/2.183, allocations: 202.4 kB / 1.051 GB, free: 161.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01991/2.203, allocations: 13.46 MB / 1.065 GB, free: 148.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/2.203, allocations: 0 / 1.065 GB, free: 148.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01281/2.216, allocations: 7.398 MB / 1.072 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006181/2.222, allocations: 0.7895 MB / 1.073 GB, free: 140 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02441/2.247, allocations: 16.51 MB / 1.089 GB, free: 123.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004716/2.252, allocations: 4.161 MB / 1.093 GB, free: 119.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003867/2.256, allocations: 1.608 MB / 1.094 GB, free: 117.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/2.257, allocations: 295.3 kB / 1.095 GB, free: 117.5 MB / 0.5919 GB Notification: Performance of SimCode: time 2.855e-06/2.257, allocations: 0 / 1.095 GB, free: 117.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.3971/2.654, allocations: 125.1 MB / 1.217 GB, free: 180.6 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (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)