Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009749/0.009749, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002281/0.002282, allocations: 197.1 kB / 16.68 MB, free: 5.93 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.603/1.603, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3435/0.3435, allocations: 37.99 MB / 307.9 MB, free: 10.02 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.1. 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.001731/0.001731, allocations: 72.56 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3341, allocations: 56.47 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01497/0.3492, allocations: 12.67 MB / 0.4904 GB, free: 11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.3599, allocations: 3.973 MB / 0.4942 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003017/0.3629, allocations: 62.34 kB / 0.4943 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003659/0.3666, allocations: 1.328 MB / 0.4956 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006605/0.3733, allocations: 1.826 MB / 0.4974 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.3754, allocations: 493.5 kB / 0.4979 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006914/0.3823, allocations: 3.67 MB / 0.5014 GB, free: 5.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004114/0.3865, allocations: 2.041 MB / 0.5034 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003024/0.3895, allocations: 1.237 MB / 0.5046 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.3927, allocations: 1.743 MB / 0.5063 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001209/0.3939, allocations: 240.3 kB / 0.5066 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002891/0.3968, allocations: 0.9439 MB / 0.5075 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002667/0.3995, allocations: 1.631 MB / 0.5091 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00487/0.4044, allocations: 1.949 MB / 0.511 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01224/0.4167, allocations: 6.354 MB / 0.5172 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.4167, allocations: 3.938 kB / 0.5172 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4167, allocations: 1.062 kB / 0.5172 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003551/0.4171, allocations: 0 / 0.5172 GB, free: 10.94 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01439/0.4315, allocations: 4.243 MB / 0.5213 GB, free: 6.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.4315, allocations: 11.89 kB / 0.5214 GB, free: 6.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.4424, allocations: 3.076 MB / 0.5244 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004674/0.4471, allocations: 1.967 MB / 0.5263 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.4473, allocations: 193.2 kB / 0.5265 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001277/0.4486, allocations: 259.9 kB / 0.5267 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01984/0.4685, allocations: 10.7 MB / 0.5372 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001342/0.4686, allocations: 27.72 kB / 0.5372 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001022/0.4697, allocations: 115.8 kB / 0.5373 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004706/0.4744, allocations: 2.647 MB / 0.5399 GB, free: 3.461 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02263/0.4971, allocations: 10.02 MB / 0.5497 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05738/0.5545, allocations: 35.09 MB / 0.5839 GB, free: 5.441 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.011/0.5655, allocations: 5.187 MB / 0.589 GB, free: 24 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003797/0.5694, allocations: 2.302 MB / 0.5912 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001795/0.5712, allocations: 1.872 MB / 0.5931 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.5713, allocations: 52.56 kB / 0.5931 GB, free: 11.45 MB / 478.1 MB Notification: Performance of pre-optimization done (n=229): time 6.512e-06/0.5713, allocations: 0 / 0.5931 GB, free: 11.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.0351/0.6064, allocations: 14.03 MB / 0.6068 GB, free: 13.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.6065, allocations: 73.41 kB / 0.6069 GB, free: 13.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004398/0.6109, allocations: 2.684 MB / 0.6095 GB, free: 10.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001786/0.6111, allocations: 49.7 kB / 0.6096 GB, free: 10.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001921/0.6131, allocations: 2.705 MB / 0.6122 GB, free: 7.773 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008791/0.614, allocations: 0.8517 MB / 0.613 GB, free: 6.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001647/0.6156, allocations: 1.056 MB / 0.6141 GB, free: 5.844 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.6157, allocations: 301.1 kB / 0.6144 GB, free: 5.547 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00338/0.6191, allocations: 2.216 MB / 0.6165 GB, free: 3.324 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006022/0.6252, allocations: 5.134 MB / 0.6215 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/0.636, allocations: 8.062 MB / 0.6294 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000135/0.6362, allocations: 28 kB / 0.6294 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=704) (initialization): time 0.2543/0.8905, allocations: 7.952 MB / 0.6372 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.8907, allocations: 53.28 kB / 0.6373 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002105/0.8909, allocations: 100.8 kB / 0.6373 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002584/0.8935, allocations: 0.7896 MB / 0.6381 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004206/0.8977, allocations: 1.205 MB / 0.6393 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00573/0.9035, allocations: 4.518 MB / 0.6437 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003427/0.9069, allocations: 297.9 kB / 0.644 GB, free: 122 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008303/0.9078, allocations: 304.1 kB / 0.6443 GB, free: 122 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (644): * Single equations (assignments): 637 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00397/0.9117, allocations: 2.057 MB / 0.6463 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005172/0.9123, allocations: 265.3 kB / 0.6465 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008183/0.9204, allocations: 4.728 MB / 0.6512 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-05/0.9205, allocations: 44.69 kB / 0.6512 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.333e-05/0.9206, allocations: 2.719 kB / 0.6512 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/0.9206, allocations: 9 kB / 0.6512 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02326/0.9439, allocations: 10.59 MB / 0.6616 GB, free: 116 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.025e-05/0.9439, allocations: 7.844 kB / 0.6616 GB, free: 116 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002507/0.9465, allocations: 363.3 kB / 0.6619 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003165/0.9497, allocations: 0.6589 MB / 0.6626 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003631/0.95, allocations: 45.25 kB / 0.6626 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006362/0.9564, allocations: 3.906 MB / 0.6664 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.9565, allocations: 11.47 kB / 0.6664 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/0.9669, allocations: 7.137 MB / 0.6734 GB, free: 111 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/0.9687, allocations: 0.6465 MB / 0.674 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007166/0.9694, allocations: 49.8 kB / 0.6741 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/0.9713, allocations: 142.1 kB / 0.6742 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005201/0.9719, allocations: 126.7 kB / 0.6743 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002669/0.9722, allocations: 69.86 kB / 0.6744 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004448/0.9766, allocations: 1.646 MB / 0.676 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.5e-07/0.9767, allocations: 0 / 0.676 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007436/0.9841, allocations: 0.9487 MB / 0.6769 GB, free: 108.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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 {(1,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.0008024/0.9849, allocations: 176.6 kB / 0.6771 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009706/0.9947, allocations: 5.419 MB / 0.6824 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/0.9947, allocations: 0 / 0.6824 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003224/0.9979, allocations: 2.023 MB / 0.6844 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/1.001, allocations: 362.9 kB / 0.6847 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/1.019, allocations: 9.48 MB / 0.694 GB, free: 91.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0049/1.024, allocations: 3.232 MB / 0.6971 GB, free: 88.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005996/1.03, allocations: 1.969 MB / 0.699 GB, free: 86.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.031, allocations: 211.3 kB / 0.6993 GB, free: 85.84 MB / 0.4981 GB Notification: Performance of SimCode: time 1.303e-06/1.031, allocations: 0 / 0.6993 GB, free: 85.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.04553/1.077, allocations: 28.88 MB / 0.7275 GB, free: 57.02 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1)