Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.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.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008346/0.008346, allocations: 99.75 kB / 15.73 MB, free: 6.023 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.001355/0.001355, allocations: 187.6 kB / 16.67 MB, free: 5.961 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.556/1.556, allocations: 205.1 MB / 222.5 MB, free: 4.387 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.3362/0.3362, allocations: 39.94 MB / 309.8 MB, free: 9.598 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.002837/0.002837, allocations: 71.91 kB / 435.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3073, allocations: 56.88 MB / 492.7 MB, free: 19.37 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01441/0.3217, allocations: 15.75 MB / 0.4965 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.3322, allocations: 4.489 MB / 0.5009 GB, free: 5.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003523/0.3357, allocations: 84.44 kB / 0.501 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004367/0.3402, allocations: 2.254 MB / 0.5032 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006148/0.3463, allocations: 2.071 MB / 0.5052 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.3482, allocations: 0.6237 MB / 0.5058 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008506/0.3567, allocations: 4.453 MB / 0.5101 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004721/0.3615, allocations: 3.215 MB / 0.5133 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003372/0.3649, allocations: 1.674 MB / 0.5149 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004043/0.3689, allocations: 2.273 MB / 0.5171 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001105/0.3701, allocations: 350.2 kB / 0.5175 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/0.3729, allocations: 1.053 MB / 0.5185 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002774/0.3757, allocations: 2.057 MB / 0.5205 GB, free: 7.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003946/0.3797, allocations: 2.485 MB / 0.5229 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009961/0.3897, allocations: 8.055 MB / 0.5308 GB, free: 13.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.148e-06/0.3897, allocations: 0 / 0.5308 GB, free: 13.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.3897, allocations: 0 / 0.5308 GB, free: 13.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003087/0.3901, allocations: 0 / 0.5308 GB, free: 13.3 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01225/0.4023, allocations: 5.261 MB / 0.5359 GB, free: 7.973 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.4024, allocations: 15.89 kB / 0.536 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.4133, allocations: 3.188 MB / 0.5391 GB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007228/0.4206, allocations: 2.483 MB / 0.5415 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002571/0.4209, allocations: 262.9 kB / 0.5417 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001559/0.4224, allocations: 351.6 kB / 0.5421 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02382/0.4463, allocations: 12.65 MB / 0.5544 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001239/0.4464, allocations: 31.75 kB / 0.5545 GB, free: 4.398 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005006/0.447, allocations: 163.8 kB / 0.5546 GB, free: 4.238 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005017/0.452, allocations: 3.028 MB / 0.5576 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02324/0.4752, allocations: 11.34 MB / 0.5686 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06708/0.5424, allocations: 42.1 MB / 0.6098 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009101/0.5515, allocations: 4.704 MB / 0.6144 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003238/0.5548, allocations: 2.432 MB / 0.6167 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001264/0.5561, allocations: 1.315 MB / 0.618 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/0.5561, allocations: 56.56 kB / 0.6181 GB, free: 1.613 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 5.581e-06/0.5562, allocations: 0 / 0.6181 GB, free: 1.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=268): time 0.3345/0.8906, allocations: 19.53 MB / 0.6371 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.8907, allocations: 100.7 kB / 0.6372 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005691/0.8964, allocations: 3.264 MB / 0.6404 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006045/0.897, allocations: 60.86 kB / 0.6405 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002213/0.8993, allocations: 3.28 MB / 0.6437 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001106/0.9004, allocations: 0.977 MB / 0.6446 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001975/0.9024, allocations: 1.211 MB / 0.6458 GB, free: 120 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.169e-05/0.9024, allocations: 308.3 kB / 0.6461 GB, free: 119.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00408/0.9065, allocations: 2.494 MB / 0.6485 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005778/0.9123, allocations: 5.895 MB / 0.6543 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009826/0.9221, allocations: 9.191 MB / 0.6633 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001346/0.9223, allocations: 33.31 kB / 0.6633 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01736/0.9397, allocations: 9.177 MB / 0.6723 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.9399, allocations: 59.53 kB / 0.6723 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002815/0.9402, allocations: 117.5 kB / 0.6724 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003355/0.9435, allocations: 1.063 MB / 0.6735 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004605/0.9481, allocations: 1.387 MB / 0.6748 GB, free: 103 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006539/0.9547, allocations: 5.55 MB / 0.6803 GB, free: 100.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004769/0.9595, allocations: 327.4 kB / 0.6806 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/0.9606, allocations: 355.8 kB / 0.6809 GB, free: 100 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[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 (751): * Single equations (assignments): 744 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004741/0.9653, allocations: 2.483 MB / 0.6833 GB, free: 98.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009256/0.9663, allocations: 327.8 kB / 0.6836 GB, free: 98.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008515/0.9748, allocations: 5.377 MB / 0.6889 GB, free: 95.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.332e-05/0.9749, allocations: 47.67 kB / 0.6889 GB, free: 95.17 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.9749, allocations: 7.984 kB / 0.6889 GB, free: 95.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/0.9749, allocations: 11.91 kB / 0.689 GB, free: 95.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01976/0.9947, allocations: 13.33 MB / 0.702 GB, free: 81.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.9948, allocations: 12 kB / 0.702 GB, free: 81.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/0.9963, allocations: 419.3 kB / 0.7024 GB, free: 81.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002455/0.9988, allocations: 0.8909 MB / 0.7033 GB, free: 80.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/0.9989, allocations: 55.98 kB / 0.7033 GB, free: 80.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004707/1.004, allocations: 4.828 MB / 0.708 GB, free: 75.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.004, allocations: 18.09 kB / 0.708 GB, free: 75.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009071/1.013, allocations: 8.036 MB / 0.7159 GB, free: 67.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002126/1.015, allocations: 0.7274 MB / 0.7166 GB, free: 66.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004958/1.015, allocations: 59.92 kB / 0.7167 GB, free: 66.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/1.017, allocations: 155.7 kB / 0.7168 GB, free: 66.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003769/1.017, allocations: 171.7 kB / 0.717 GB, free: 65.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/1.017, allocations: 76.23 kB / 0.717 GB, free: 65.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002255/1.02, allocations: 2.018 MB / 0.719 GB, free: 63.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.02, allocations: 0 / 0.719 GB, free: 63.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004651/1.024, allocations: 1.118 MB / 0.7201 GB, free: 62.72 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (209): * Single equations (assignments): 202 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004709/1.025, allocations: 196.1 kB / 0.7203 GB, free: 62.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007369/1.032, allocations: 6.127 MB / 0.7263 GB, free: 56.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/1.032, allocations: 4.125 kB / 0.7263 GB, free: 56.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002438/1.035, allocations: 2.254 MB / 0.7285 GB, free: 54.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/1.037, allocations: 443.5 kB / 0.7289 GB, free: 53.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/1.053, allocations: 11.6 MB / 0.7402 GB, free: 41.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003164/1.056, allocations: 3.841 MB / 0.744 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00375/1.06, allocations: 2.177 MB / 0.7461 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000681/1.061, allocations: 247.4 kB / 0.7463 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of SimCode: time 1.523e-06/1.061, allocations: 0 / 0.7463 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.0522/1.113, allocations: 34.72 MB / 0.7802 GB, free: 1.059 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1)