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.001341/0.001341, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002179/0.002179, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.646/1.646, allocations: 205.1 MB / 222 MB, free: 4.754 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.3447/0.3447, allocations: 37.97 MB / 307.3 MB, free: 10.07 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.002215/0.002214, allocations: 67.91 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1652, allocations: 56.47 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.3056/0.4708, allocations: 30.06 MB / 461.1 MB, free: 34.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01844/0.4893, allocations: 6.872 MB / 467.9 MB, free: 33.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008169/0.4975, allocations: 121.2 kB / 468.1 MB, free: 33.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003004/0.5006, allocations: 1.28 MB / 469.3 MB, free: 33.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004593/0.5052, allocations: 1.668 MB / 471 MB, free: 32.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.5065, allocations: 452 kB / 471.5 MB, free: 32.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006201/0.5127, allocations: 5.13 MB / 476.6 MB, free: 31.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00248/0.5152, allocations: 2.002 MB / 478.6 MB, free: 30.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001562/0.5168, allocations: 1.069 MB / 479.7 MB, free: 30.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.5187, allocations: 1.842 MB / 481.5 MB, free: 29.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004881/0.5192, allocations: 170 kB / 481.7 MB, free: 29.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.5211, allocations: 0.9322 MB / 482.6 MB, free: 29.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001311/0.5224, allocations: 1.578 MB / 484.2 MB, free: 29.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001718/0.5241, allocations: 1.884 MB / 486.1 MB, free: 27.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008167/0.5323, allocations: 6.006 MB / 492.1 MB, free: 25.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.5324, allocations: 4 kB / 492.1 MB, free: 25.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5324, allocations: 0 / 492.1 MB, free: 25.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003017/0.5327, allocations: 0 / 492.1 MB, free: 25.71 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.0137/0.5464, allocations: 4.24 MB / 496.3 MB, free: 23.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.5465, allocations: 14.75 kB / 496.3 MB, free: 23.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/0.5591, allocations: 3.071 MB / 499.4 MB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006599/0.5658, allocations: 1.964 MB / 0.4896 GB, free: 21.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003229/0.5662, allocations: 190.6 kB / 0.4898 GB, free: 21.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0019/0.5681, allocations: 258.9 kB / 0.49 GB, free: 21.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0228/0.5909, allocations: 10.71 MB / 0.5005 GB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001044/0.5911, allocations: 21.41 kB / 0.5005 GB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004753/0.5915, allocations: 122.3 kB / 0.5006 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004528/0.5961, allocations: 2.646 MB / 0.5032 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01897/0.6151, allocations: 10.02 MB / 0.513 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05739/0.6725, allocations: 35.29 MB / 0.5475 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009849/0.6824, allocations: 5.188 MB / 0.5525 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003442/0.6859, allocations: 2.293 MB / 0.5548 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001819/0.6878, allocations: 1.878 MB / 0.5566 GB, free: 9.895 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.6878, allocations: 56.5 kB / 0.5567 GB, free: 9.832 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 5.14e-06/0.6878, allocations: 0 / 0.5567 GB, free: 9.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.03431/0.7221, allocations: 14.04 MB / 0.5704 GB, free: 11.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.7223, allocations: 77.34 kB / 0.5704 GB, free: 11.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004134/0.7264, allocations: 2.672 MB / 0.573 GB, free: 8.973 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002795/0.7267, allocations: 61.64 kB / 0.5731 GB, free: 8.906 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001859/0.7286, allocations: 2.71 MB / 0.5758 GB, free: 6.191 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000987/0.7296, allocations: 0.8517 MB / 0.5766 GB, free: 5.348 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001484/0.7311, allocations: 1.047 MB / 0.5776 GB, free: 4.293 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.7312, allocations: 305.1 kB / 0.5779 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00366/0.7349, allocations: 2.216 MB / 0.5801 GB, free: 1.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005641/0.7405, allocations: 5.139 MB / 0.5851 GB, free: 11.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00975/0.7503, allocations: 8.054 MB / 0.5929 GB, free: 1.719 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.858e-05/0.7504, allocations: 32 kB / 0.593 GB, free: 1.688 MB / 462.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.0138/0.7643, allocations: 7.956 MB / 0.6007 GB, free: 9.723 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/0.7644, allocations: 48 kB / 0.6008 GB, free: 9.676 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/0.7645, allocations: 100 kB / 0.6009 GB, free: 9.578 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002154/0.7666, allocations: 0.7966 MB / 0.6017 GB, free: 8.781 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003559/0.7702, allocations: 1.212 MB / 0.6028 GB, free: 7.566 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005224/0.7754, allocations: 4.21 MB / 0.607 GB, free: 3.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003482/0.7789, allocations: 291.8 kB / 0.6072 GB, free: 2.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006398/0.7796, allocations: 310.6 kB / 0.6075 GB, free: 2.629 MB / 478.1 MB 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.003478/0.7831, allocations: 2.055 MB / 0.6095 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004805/0.7836, allocations: 264.5 kB / 0.6098 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007719/0.7913, allocations: 4.765 MB / 0.6144 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.772e-05/0.7914, allocations: 43.98 kB / 0.6145 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.7914, allocations: 4 kB / 0.6145 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.7914, allocations: 7.969 kB / 0.6145 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01716/0.8086, allocations: 10.62 MB / 0.6249 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/0.8087, allocations: 8 kB / 0.6249 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/0.8101, allocations: 359.4 kB / 0.6252 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2602/1.07, allocations: 0.6558 MB / 0.6259 GB, free: 148.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006624/1.071, allocations: 44.84 kB / 0.6259 GB, free: 148.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004158/1.075, allocations: 3.659 MB / 0.6295 GB, free: 147.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/1.075, allocations: 8.75 kB / 0.6295 GB, free: 147.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009352/1.085, allocations: 7.141 MB / 0.6365 GB, free: 145.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/1.086, allocations: 0.6445 MB / 0.6371 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004685/1.087, allocations: 43.25 kB / 0.6371 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/1.088, allocations: 139 kB / 0.6373 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003524/1.088, allocations: 133.4 kB / 0.6374 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/1.088, allocations: 68.97 kB / 0.6374 GB, free: 145.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002346/1.091, allocations: 1.651 MB / 0.6391 GB, free: 144.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/1.091, allocations: 0 / 0.6391 GB, free: 144.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005491/1.096, allocations: 0.9536 MB / 0.64 GB, free: 144.8 MB / 494.1 MB 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.0005604/1.097, allocations: 174.2 kB / 0.6402 GB, free: 144.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007743/1.105, allocations: 5.38 MB / 0.6454 GB, free: 143 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/1.105, allocations: 3.312 kB / 0.6454 GB, free: 143 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002636/1.107, allocations: 2.023 MB / 0.6474 GB, free: 142.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/1.11, allocations: 340.1 kB / 0.6477 GB, free: 142.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/1.13, allocations: 11.68 MB / 0.6591 GB, free: 136 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005598/1.136, allocations: 3.24 MB / 0.6623 GB, free: 134.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005321/1.141, allocations: 1.966 MB / 0.6642 GB, free: 134.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009148/1.142, allocations: 204.1 kB / 0.6644 GB, free: 134.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.943e-06/1.142, allocations: 0 / 0.6644 GB, free: 134.6 MB / 494.1 MB Notification: Performance of Templates: time 0.05683/1.199, allocations: 29.94 MB / 0.6936 GB, free: 117.8 MB / 494.1 MB 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)