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.007912/0.007912, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.00151/0.00151, allocations: 195.1 kB / 16.68 MB, free: 5.926 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.699/1.699, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.3254/0.3254, allocations: 38 MB / 307.9 MB, free: 10.18 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.001676/0.001676, allocations: 71.84 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3359, allocations: 56.47 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01195/0.3479, allocations: 12.67 MB / 0.4904 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009057/0.357, allocations: 3.968 MB / 0.4942 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002598/0.3596, allocations: 62.81 kB / 0.4943 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003013/0.3627, allocations: 1.333 MB / 0.4956 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004843/0.3676, allocations: 1.781 MB / 0.4973 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.369, allocations: 0.4926 MB / 0.4978 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005756/0.3748, allocations: 3.664 MB / 0.5014 GB, free: 5.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002541/0.3774, allocations: 2.041 MB / 0.5034 GB, free: 3.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.3797, allocations: 1.228 MB / 0.5046 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002623/0.3823, allocations: 1.748 MB / 0.5063 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000694/0.383, allocations: 242.8 kB / 0.5065 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002304/0.3853, allocations: 0.9455 MB / 0.5075 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001926/0.3873, allocations: 1.626 MB / 0.509 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002429/0.3897, allocations: 1.94 MB / 0.5109 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01104/0.4008, allocations: 6.364 MB / 0.5172 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4008, allocations: 0 / 0.5172 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.4008, allocations: 0.875 kB / 0.5172 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002719/0.4011, allocations: 0 / 0.5172 GB, free: 10.93 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.01083/0.4119, allocations: 4.24 MB / 0.5213 GB, free: 7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.412, allocations: 15.89 kB / 0.5213 GB, free: 6.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/0.4226, allocations: 3.072 MB / 0.5243 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004999/0.4276, allocations: 1.967 MB / 0.5262 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.4278, allocations: 197.1 kB / 0.5264 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005768/0.4284, allocations: 263.8 kB / 0.5267 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01619/0.4446, allocations: 10.69 MB / 0.5371 GB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.361e-05/0.4447, allocations: 27.72 kB / 0.5371 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003842/0.4451, allocations: 127.8 kB / 0.5373 GB, free: 6.129 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004572/0.4497, allocations: 2.639 MB / 0.5398 GB, free: 3.484 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02245/0.4721, allocations: 10.02 MB / 0.5496 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05508/0.5273, allocations: 35.09 MB / 0.5839 GB, free: 5.461 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0091/0.5364, allocations: 5.191 MB / 0.589 GB, free: 40 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002929/0.5394, allocations: 2.295 MB / 0.5912 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/0.541, allocations: 1.884 MB / 0.593 GB, free: 11.53 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.5411, allocations: 48.56 kB / 0.5931 GB, free: 11.47 MB / 478.1 MB Notification: Performance of pre-optimization done (n=229): time 5.11e-06/0.5411, allocations: 4 kB / 0.5931 GB, free: 11.46 MB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.03266/0.5737, allocations: 14.03 MB / 0.6068 GB, free: 13.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.5738, allocations: 69.41 kB / 0.6069 GB, free: 13.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003972/0.5778, allocations: 2.676 MB / 0.6095 GB, free: 10.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.578, allocations: 53.7 kB / 0.6095 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001591/0.5796, allocations: 2.705 MB / 0.6122 GB, free: 7.793 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008004/0.5804, allocations: 0.8557 MB / 0.613 GB, free: 6.926 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/0.5818, allocations: 1.052 MB / 0.614 GB, free: 5.863 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.5819, allocations: 301.1 kB / 0.6143 GB, free: 5.566 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/0.5849, allocations: 2.216 MB / 0.6165 GB, free: 3.344 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004809/0.5897, allocations: 5.138 MB / 0.6215 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009505/0.5992, allocations: 8.062 MB / 0.6294 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.75e-05/0.5993, allocations: 28 kB / 0.6294 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=704) (initialization): time 0.3214/0.9207, allocations: 7.951 MB / 0.6372 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-05/0.9209, allocations: 52.22 kB / 0.6372 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001753/0.9211, allocations: 102.7 kB / 0.6373 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002466/0.9235, allocations: 0.789 MB / 0.6381 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004219/0.9278, allocations: 1.206 MB / 0.6393 GB, free: 124.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005706/0.9335, allocations: 4.516 MB / 0.6437 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003539/0.937, allocations: 293.1 kB / 0.6439 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005582/0.9376, allocations: 312 kB / 0.6442 GB, free: 121.8 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.003558/0.9412, allocations: 2.049 MB / 0.6462 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004004/0.9416, allocations: 262.1 kB / 0.6465 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007824/0.9494, allocations: 4.732 MB / 0.6511 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.319e-05/0.9495, allocations: 46.44 kB / 0.6512 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.9495, allocations: 2.531 kB / 0.6512 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/0.9496, allocations: 10.33 kB / 0.6512 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01716/0.9667, allocations: 10.6 MB / 0.6615 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/0.9668, allocations: 8.594 kB / 0.6615 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/0.9683, allocations: 360.3 kB / 0.6619 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001998/0.9703, allocations: 0.6642 MB / 0.6625 GB, free: 115.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/0.9705, allocations: 37.44 kB / 0.6626 GB, free: 115.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004067/0.9746, allocations: 3.908 MB / 0.6664 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.9746, allocations: 11.56 kB / 0.6664 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008422/0.983, allocations: 7.136 MB / 0.6733 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001789/0.9849, allocations: 0.6478 MB / 0.674 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003588/0.9852, allocations: 44.5 kB / 0.674 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.9863, allocations: 145.7 kB / 0.6742 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002822/0.9866, allocations: 131.2 kB / 0.6743 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/0.9868, allocations: 61.03 kB / 0.6743 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001997/0.9888, allocations: 1.652 MB / 0.676 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9888, allocations: 0 / 0.676 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00399/0.9928, allocations: 0.9396 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.0004/0.9932, allocations: 183.8 kB / 0.677 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00611/0.9993, allocations: 5.424 MB / 0.6823 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.9994, allocations: 4 kB / 0.6824 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002026/1.001, allocations: 2.019 MB / 0.6843 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.001815/1.003, allocations: 358 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.01235/1.016, allocations: 9.488 MB / 0.6939 GB, free: 91.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002513/1.018, allocations: 3.228 MB / 0.6971 GB, free: 88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003387/1.022, allocations: 1.969 MB / 0.699 GB, free: 86.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006084/1.022, allocations: 215.4 kB / 0.6992 GB, free: 85.81 MB / 0.4981 GB Notification: Performance of SimCode: time 1.172e-06/1.022, allocations: 0 / 0.6992 GB, free: 85.81 MB / 0.4981 GB Notification: Performance of Templates: time 0.04579/1.068, allocations: 28.6 MB / 0.7271 GB, free: 57.33 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)