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.001153/0.001153, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001137/0.001137, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.388/1.388, allocations: 222.9 MB / 243 MB, free: 15.13 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.2131/0.2131, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.25 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1051, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.0171/0.1223, allocations: 16.86 MB / 487.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.1338, allocations: 5.459 MB / 493 MB, free: 7.223 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003118/0.1369, allocations: 139.5 kB / 493.2 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008373/0.1453, allocations: 4.653 MB / 497.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00603/0.1514, allocations: 2.455 MB / 0.4885 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.154, allocations: 1.307 MB / 0.4898 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01043/0.1644, allocations: 8.398 MB / 0.498 GB, free: 6.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005864/0.1703, allocations: 5.525 MB / 0.5034 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2204/0.3907, allocations: 2.561 MB / 0.5059 GB, free: 19.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00711/0.3979, allocations: 3.2 MB / 0.509 GB, free: 19.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00205/0.4, allocations: 0.4914 MB / 0.5095 GB, free: 19.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004118/0.4041, allocations: 1.274 MB / 0.5108 GB, free: 19.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0058/0.4099, allocations: 2.84 MB / 0.5135 GB, free: 19.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008926/0.4189, allocations: 3.05 MB / 0.5165 GB, free: 18.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01475/0.4337, allocations: 9.168 MB / 0.5255 GB, free: 16.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.4337, allocations: 0 / 0.5255 GB, free: 16.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4337, allocations: 0.5 kB / 0.5255 GB, free: 16.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004102/0.4342, allocations: 4.5 kB / 0.5255 GB, free: 16.21 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.02288/0.4571, allocations: 7.151 MB / 0.5325 GB, free: 11.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.91e-05/0.4572, allocations: 17.05 kB / 0.5325 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01233/0.4695, allocations: 1.942 MB / 0.5344 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01286/0.4824, allocations: 5.67 MB / 0.5399 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/0.4827, allocations: 326 kB / 0.5402 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001697/0.4844, allocations: 415.1 kB / 0.5406 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02144/0.5059, allocations: 11.01 MB / 0.5514 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002398/0.5062, allocations: 55 kB / 0.5514 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006237/0.5068, allocations: 189.5 kB / 0.5516 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003196/0.51, allocations: 1.725 MB / 0.5533 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02384/0.5338, allocations: 9.538 MB / 0.5626 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07037/0.6043, allocations: 45.12 MB / 0.6067 GB, free: 4.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02251/0.6268, allocations: 7.863 MB / 0.6143 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007464/0.6344, allocations: 5.387 MB / 0.6196 GB, free: 7.395 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02414/0.6585, allocations: 13.29 MB / 0.6326 GB, free: 9.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/0.6587, allocations: 60.8 kB / 0.6326 GB, free: 9.859 MB / 478.1 MB Notification: Performance of pre-optimization done (n=283): time 4.889e-06/0.6587, allocations: 0 / 0.6326 GB, free: 9.859 MB / 478.1 MB Notification: Performance of matching and sorting (n=406): time 0.4835/1.142, allocations: 77.94 MB / 0.7087 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0158/1.158, allocations: 11.09 MB / 0.7196 GB, free: 182 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005715/1.164, allocations: 4.306 MB / 0.7238 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001156/1.165, allocations: 89.52 kB / 0.7239 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001565/1.167, allocations: 2.867 MB / 0.7267 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001835/1.168, allocations: 1.415 MB / 0.728 GB, free: 178 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002252/1.171, allocations: 1.287 MB / 0.7293 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.354e-05/1.171, allocations: 301.7 kB / 0.7296 GB, free: 177.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005912/1.177, allocations: 5.085 MB / 0.7346 GB, free: 175.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008999/1.186, allocations: 7.153 MB / 0.7415 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01536/1.201, allocations: 12.84 MB / 0.7541 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.185e-05/1.201, allocations: 24 kB / 0.7541 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.03854/1.24, allocations: 20.99 MB / 0.7746 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.867e-05/1.24, allocations: 32 kB / 0.7746 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.836e-05/1.24, allocations: 67.83 kB / 0.7747 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02397/1.264, allocations: 9.729 MB / 0.7842 GB, free: 132.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00422/1.268, allocations: 1.131 MB / 0.7853 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06281/1.331, allocations: 57.04 MB / 0.841 GB, free: 73.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006253/1.337, allocations: 0.5284 MB / 0.8415 GB, free: 73.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001126/1.338, allocations: 299.9 kB / 0.8418 GB, free: 72.98 MB / 0.5294 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.004654/1.343, allocations: 2.284 MB / 0.844 GB, free: 70.69 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/1.344, allocations: 462.1 kB / 0.8445 GB, free: 70.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03264/1.377, allocations: 19.43 MB / 0.8635 GB, free: 50.74 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03994/1.417, allocations: 17.92 MB / 0.881 GB, free: 32.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.043e-05/1.417, allocations: 31.94 kB / 0.881 GB, free: 32.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001089/1.417, allocations: 23.91 kB / 0.881 GB, free: 32.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3535/1.771, allocations: 36.54 MB / 0.9167 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.857e-05/1.771, allocations: 4.688 kB / 0.9167 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002522/1.773, allocations: 450 kB / 0.9171 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02406/1.797, allocations: 9.6 MB / 0.9265 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001328/1.799, allocations: 77.09 kB / 0.9266 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06422/1.863, allocations: 55.44 MB / 0.9807 GB, free: 128.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01179/1.875, allocations: 9.772 MB / 0.9903 GB, free: 118.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04114/1.916, allocations: 25.91 MB / 1.016 GB, free: 92.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/1.918, allocations: 0.5177 MB / 1.016 GB, free: 92.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001728/1.919, allocations: 75.88 kB / 1.016 GB, free: 92.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003756/1.923, allocations: 419.3 kB / 1.017 GB, free: 92.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001476/1.925, allocations: 320.1 kB / 1.017 GB, free: 91.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003812/1.925, allocations: 104 kB / 1.017 GB, free: 91.65 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004209/1.929, allocations: 2.802 MB / 1.02 GB, free: 88.85 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/1.929, allocations: 0 / 1.02 GB, free: 88.85 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00885/1.938, allocations: 2.111 MB / 1.022 GB, free: 86.74 MB / 0.5294 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.0007783/1.939, allocations: 191.7 kB / 1.022 GB, free: 86.54 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01863/1.958, allocations: 13.46 MB / 1.035 GB, free: 73.04 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/1.958, allocations: 0 / 1.035 GB, free: 73.04 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0118/1.969, allocations: 7.426 MB / 1.042 GB, free: 65.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005421/1.975, allocations: 0.7849 MB / 1.043 GB, free: 64.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02403/1.999, allocations: 16.44 MB / 1.059 GB, free: 48.31 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004255/2.003, allocations: 4.148 MB / 1.063 GB, free: 44.13 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003969/2.007, allocations: 1.593 MB / 1.065 GB, free: 42.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/2.009, allocations: 299.3 kB / 1.065 GB, free: 42.24 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/2.009, allocations: 0 / 1.065 GB, free: 42.24 MB / 0.5294 GB Notification: Performance of Templates: time 0.4287/2.437, allocations: 122.8 MB / 1.185 GB, free: 107.7 MB / 0.5294 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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)