Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Joints,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints") translateModel(ModelicaTest.MultiBody.InitializationConversion.Joints,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.003518/0.003518, allocations: 187.6 kB / 7.456 MB, free: 2.312 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.281/1.281, allocations: 194.2 MB / 202.1 MB, free: 8.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001749/0.001749, allocations: 120.1 kB / 247.1 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1547/0.1547, allocations: 39.94 MB / 331.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.224e-06/7.244e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08274/0.08277, allocations: 54.86 MB / 447.6 MB, free: 21.03 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.259/0.3418, allocations: 106.4 MB / 0.541 GB, free: 10.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.3421, allocations: 71.47 kB / 0.5411 GB, free: 10.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.8269/1.169, allocations: 250.2 MB / 0.7854 GB, free: 56.52 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001273/1.17, allocations: 263.8 kB / 0.7857 GB, free: 56.27 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3972 * Number of variables: 3972 Notification: Performance of Generate backend data structure: time 0.05176/1.222, allocations: 13.25 MB / 0.7986 GB, free: 42.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/1.222, allocations: 8.031 kB / 0.7986 GB, free: 42.95 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09377/1.316, allocations: 25.53 MB / 0.8235 GB, free: 17.35 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07486/1.391, allocations: 27.25 MB / 0.8502 GB, free: 6.332 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008655/1.392, allocations: 388 kB / 0.8505 GB, free: 5.953 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007126/1.399, allocations: 0.7455 MB / 0.8513 GB, free: 5.207 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.291/1.69, allocations: 16.7 MB / 0.8676 GB, free: 110.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06249/1.752, allocations: 24.35 MB / 0.8913 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001434/1.754, allocations: 183.2 kB / 0.8915 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006915/1.761, allocations: 57.25 kB / 0.8916 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004064/1.765, allocations: 2.636 MB / 0.8942 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1695/1.934, allocations: 120.8 MB / 1.012 GB, free: 30.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01473/1.949, allocations: 11.2 MB / 1.023 GB, free: 25.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01137/1.961, allocations: 9.727 MB / 1.033 GB, free: 16.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3071/2.268, allocations: 25.54 MB / 1.057 GB, free: 106.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.251e-05/2.268, allocations: 93.66 kB / 1.058 GB, free: 106.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=544): time 1.07e-05/2.268, allocations: 3.562 kB / 1.058 GB, free: 106.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=757): time 0.3021/2.57, allocations: 105.2 MB / 1.16 GB, free: 87.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001863/2.57, allocations: 0.66 MB / 1.161 GB, free: 87.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01953/2.59, allocations: 8.398 MB / 1.169 GB, free: 79.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002956/2.593, allocations: 25.7 kB / 1.169 GB, free: 79.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006057/2.599, allocations: 6.792 MB / 1.176 GB, free: 73.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0058/2.605, allocations: 2.659 MB / 1.178 GB, free: 71.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002478/2.607, allocations: 0 / 1.178 GB, free: 71.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000846/2.608, allocations: 0.9238 MB / 1.179 GB, free: 70.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01416/2.622, allocations: 9.718 MB / 1.189 GB, free: 62.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02144/2.644, allocations: 16.71 MB / 1.205 GB, free: 43.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2925/2.936, allocations: 13.33 MB / 1.218 GB, free: 93.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001979/2.937, allocations: 66.59 kB / 1.218 GB, free: 93.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=1898) (initialization): time 0.1286/3.065, allocations: 40.96 MB / 1.258 GB, free: 92.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/3.065, allocations: 7.281 kB / 1.258 GB, free: 92.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09412/3.16, allocations: 31.06 MB / 1.289 GB, free: 92.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08155/3.241, allocations: 17.09 MB / 1.305 GB, free: 90.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01526/3.256, allocations: 3.148 MB / 1.308 GB, free: 90 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08871/3.345, allocations: 57.53 MB / 1.364 GB, free: 43.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01913/3.364, allocations: 0.7408 MB / 1.365 GB, free: 43.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005093/3.37, allocations: 0.8023 MB / 1.366 GB, free: 42.67 MB / 490.7 MB 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): 5 * Torn equation systems: 2 * 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: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,67.5%) 194} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.005482/3.375, allocations: 0.7596 MB / 1.367 GB, free: 42.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003511/3.379, allocations: 1.023 MB / 1.368 GB, free: 41.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3751/3.754, allocations: 27.65 MB / 1.395 GB, free: 89.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06309/3.817, allocations: 25.02 MB / 1.419 GB, free: 89.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002219/3.817, allocations: 40.44 kB / 1.419 GB, free: 89.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003689/3.817, allocations: 36.84 kB / 1.419 GB, free: 89.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1359/3.953, allocations: 56.13 MB / 1.474 GB, free: 76.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.469e-05/3.954, allocations: 2.719 kB / 1.474 GB, free: 76.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007164/3.961, allocations: 1.069 MB / 1.475 GB, free: 76.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03625/3.997, allocations: 10.97 MB / 1.486 GB, free: 74.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003579/4.001, allocations: 55.08 kB / 1.486 GB, free: 74.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07265/4.073, allocations: 48.25 MB / 1.533 GB, free: 38.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001372/4.075, allocations: 1.608 MB / 1.535 GB, free: 37.23 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3287/4.403, allocations: 41.12 MB / 1.575 GB, free: 85.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009624/4.413, allocations: 2.79 MB / 1.577 GB, free: 85.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005/4.418, allocations: 21.7 kB / 1.577 GB, free: 85.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01076/4.429, allocations: 404.2 kB / 1.578 GB, free: 85.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002965/4.432, allocations: 358.6 kB / 1.578 GB, free: 85.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001171/4.433, allocations: 199.4 kB / 1.578 GB, free: 85.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.01472/4.448, allocations: 5.907 MB / 1.584 GB, free: 85.17 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02421/4.472, allocations: 3.808 MB / 1.588 GB, free: 85.17 MB / 490.7 MB 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.003566/4.476, allocations: 198.5 kB / 1.588 GB, free: 85.08 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.04779/4.524, allocations: 25.03 MB / 1.612 GB, free: 84.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/4.524, allocations: 1.719 kB / 1.612 GB, free: 84.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02301/4.547, allocations: 12.39 MB / 1.625 GB, free: 79.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01228/4.559, allocations: 1.326 MB / 1.626 GB, free: 79.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0859/4.645, allocations: 33.14 MB / 1.658 GB, free: 65.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02274/4.668, allocations: 10.01 MB / 1.668 GB, free: 57.92 MB / 490.7 MB Notification: Performance of SimCode: time 2.224e-06/4.668, allocations: 0 / 1.668 GB, free: 57.92 MB / 490.7 MB Notification: Performance of Templates: time 0.5861/5.254, allocations: 203.7 MB / 1.867 GB, free: 14.04 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe 2>&1)