Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Joints,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints") translateModel(ModelicaTest.MultiBody.InitializationConversion.Joints,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004496/0.004495, allocations: 178.1 kB / 7.454 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.219/1.219, allocations: 170.6 MB / 178.4 MB, free: 15.47 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001877/0.001877, allocations: 119.8 kB / 217.7 MB, free: 8.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1601/0.1601, allocations: 37.97 MB / 294.8 MB, free: 9.645 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.063e-05/1.08e-05, allocations: 1.188 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1361, allocations: 48.71 MB / 398.2 MB, free: 5.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4668/0.6029, allocations: 99.54 MB / 497.7 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.6033, allocations: 72.03 kB / 497.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.9352/1.538, allocations: 249.7 MB / 0.73 GB, free: 25.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.004122/1.543, allocations: 266.3 kB / 0.7302 GB, free: 25.43 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3966 * Number of variables: 3966 Notification: Performance of Generate backend data structure: time 0.07774/1.621, allocations: 13.24 MB / 0.7431 GB, free: 17.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.221e-05/1.621, allocations: 8.75 kB / 0.7431 GB, free: 17.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1042/1.725, allocations: 25.51 MB / 0.7681 GB, free: 7.746 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4424/2.167, allocations: 27.24 MB / 0.7947 GB, free: 52.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008646/2.168, allocations: 388.7 kB / 0.795 GB, free: 52.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008423/2.177, allocations: 0.7381 MB / 0.7957 GB, free: 52.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0424/2.219, allocations: 16.69 MB / 0.812 GB, free: 52.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07731/2.296, allocations: 24.33 MB / 0.8358 GB, free: 47.02 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001588/2.298, allocations: 178.4 kB / 0.836 GB, free: 47.02 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00753/2.306, allocations: 61.38 kB / 0.836 GB, free: 47.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005332/2.311, allocations: 2.637 MB / 0.8386 GB, free: 47 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2014/2.512, allocations: 120.8 MB / 0.9566 GB, free: 15.26 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01877/2.531, allocations: 11.2 MB / 0.9675 GB, free: 4.836 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.417/2.948, allocations: 11.13 MB / 0.9784 GB, free: 99.39 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05573/3.004, allocations: 25.5 MB / 1.003 GB, free: 94.92 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/3.004, allocations: 95.19 kB / 1.003 GB, free: 94.88 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=544): time 5.796e-05/3.004, allocations: 0 / 1.003 GB, free: 94.88 MB / 0.4949 GB Notification: Performance of matching and sorting (n=757): time 0.3437/3.348, allocations: 105.2 MB / 1.106 GB, free: 60.31 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002624/3.348, allocations: 0.6529 MB / 1.107 GB, free: 59.51 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02368/3.372, allocations: 8.403 MB / 1.115 GB, free: 52.23 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.003036/3.375, allocations: 25.7 kB / 1.115 GB, free: 52.2 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006026/3.381, allocations: 6.787 MB / 1.122 GB, free: 46.19 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.005807/3.387, allocations: 2.662 MB / 1.124 GB, free: 43.77 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003644/3.391, allocations: 0 / 1.124 GB, free: 43.77 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001006/3.392, allocations: 0.9258 MB / 1.125 GB, free: 43.02 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01585/3.408, allocations: 9.703 MB / 1.135 GB, free: 34.25 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02493/3.433, allocations: 16.7 MB / 1.151 GB, free: 15.48 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3876/3.82, allocations: 14.17 MB / 1.165 GB, free: 82.5 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001775/3.821, allocations: 72.28 kB / 1.165 GB, free: 82.5 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1898) (initialization): time 0.1282/3.949, allocations: 40.53 MB / 1.204 GB, free: 81.84 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/3.949, allocations: 3.656 kB / 1.204 GB, free: 81.84 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09315/4.042, allocations: 30.62 MB / 1.234 GB, free: 81.32 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07688/4.119, allocations: 16.58 MB / 1.25 GB, free: 79.02 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0165/4.136, allocations: 3.146 MB / 1.254 GB, free: 78.67 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1011/4.237, allocations: 56.82 MB / 1.309 GB, free: 33.94 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0234/4.26, allocations: 0.7324 MB / 1.31 GB, free: 33.41 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007391/4.268, allocations: 0.8045 MB / 1.311 GB, free: 32.61 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1091 * Number of states: 0 () * Number of discrete variables: 108 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],bodyBox8.color[3],bodyBox8.color[2],bodyBox8.color[1],bodyBox8.body.sphereColor[3],bodyBox8.body.sphereColor[2],bodyBox8.body.sphereColor[1],bodyBox7.color[3],bodyBox7.color[2],bodyBox7.color[1],bodyBox7.body.sphereColor[3],bodyBox7.body.sphereColor[2],bodyBox7.body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],bodyBox6.color[3],bodyBox6.color[2],bodyBox6.color[1],bodyBox6.body.sphereColor[3],bodyBox6.body.sphereColor[2],bodyBox6.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],bodyBox5.color[3],bodyBox5.color[2],bodyBox5.color[1],bodyBox5.body.sphereColor[3],bodyBox5.body.sphereColor[2],bodyBox5.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox4.color[3],bodyBox4.color[2],bodyBox4.color[1],bodyBox4.body.sphereColor[3],bodyBox4.body.sphereColor[2],bodyBox4.body.sphereColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],actuatedPrismatic.boxColor[3],actuatedPrismatic.boxColor[2],actuatedPrismatic.boxColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],actuatedRevolute.cylinderColor[3],actuatedRevolute.cylinderColor[2],actuatedRevolute.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1626): * Single equations (assignments): 1614 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,67.5%) 194} * Non-linear torn systems: 2 {4 9,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.01102/4.279, allocations: 0.7538 MB / 1.311 GB, free: 32 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006789/4.286, allocations: 1.025 MB / 1.312 GB, free: 31.52 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06383/4.349, allocations: 27.65 MB / 1.339 GB, free: 3.988 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4464/4.796, allocations: 25.03 MB / 1.364 GB, free: 91.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001983/4.796, allocations: 40.03 kB / 1.364 GB, free: 91.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004597/4.797, allocations: 39.22 kB / 1.364 GB, free: 91.71 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1345/4.931, allocations: 56.11 MB / 1.419 GB, free: 84.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.84e-05/4.931, allocations: 0 / 1.419 GB, free: 84.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007543/4.939, allocations: 1.081 MB / 1.42 GB, free: 84.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03684/4.976, allocations: 10.97 MB / 1.43 GB, free: 82.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004186/4.98, allocations: 50.84 kB / 1.43 GB, free: 82.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08676/5.067, allocations: 48.25 MB / 1.478 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001402/5.068, allocations: 1.605 MB / 1.479 GB, free: 54.9 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.08216/5.15, allocations: 40.73 MB / 1.519 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01176/5.162, allocations: 2.794 MB / 1.522 GB, free: 18.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006533/5.169, allocations: 23.7 kB / 1.522 GB, free: 18.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01172/5.18, allocations: 400.8 kB / 1.522 GB, free: 18.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002842/5.183, allocations: 357.6 kB / 1.522 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001196/5.185, allocations: 195.9 kB / 1.523 GB, free: 18.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.4356/5.62, allocations: 5.909 MB / 1.528 GB, free: 93.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02455/5.645, allocations: 3.787 MB / 1.532 GB, free: 93.71 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 40 ($STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],revolute.phi,revolute.w,actuatedRevolute.phi,actuatedRevolute.w,prismatic.s,prismatic.v,actuatedPrismatic.s,actuatedPrismatic.v,cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w,universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w,bodyBox7.body.w_a[1],bodyBox7.body.w_a[2],bodyBox7.body.w_a[3],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (519): * Single equations (assignments): 510 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(21,63.9%) 190} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002449/5.647, allocations: 205.5 kB / 1.532 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.05007/5.697, allocations: 25 MB / 1.557 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/5.697, allocations: 5.719 kB / 1.557 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02787/5.725, allocations: 12.39 MB / 1.569 GB, free: 91.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01767/5.743, allocations: 1.331 MB / 1.57 GB, free: 91.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.12/5.863, allocations: 33.13 MB / 1.602 GB, free: 86.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03333/5.897, allocations: 10 MB / 1.612 GB, free: 85.04 MB / 0.5105 GB Notification: Performance of SimCode: time 2.885e-06/5.897, allocations: 0 / 1.612 GB, free: 85.04 MB / 0.5105 GB Notification: Performance of Templates: time 0.8288/6.725, allocations: 202.2 MB / 1.81 GB, free: 74.06 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe 2>&1)