Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Joints.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="me",version="2.0",platforms={"static"}) [: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 trunk/package.mo): time 0.001144/0.001144, allocations: 203.4 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.196/1.196, allocations: 225.5 MB / 234.4 MB, free: 3.422 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009347/0.0009347, allocations: 96.41 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1754/0.1754, allocations: 45.15 MB / 383.4 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1857/0.3611, allocations: 69.36 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08109/0.4422, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2704/0.7127, allocations: 114.9 MB / 0.6161 GB, free: 4.273 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/0.7129, allocations: 76.77 kB / 0.6162 GB, free: 4.234 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.8046/1.518, allocations: 282.2 MB / 0.8917 GB, free: 61.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/1.518, allocations: 8 kB / 0.8917 GB, free: 61.65 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09548/1.613, allocations: 25.96 MB / 0.9171 GB, free: 35.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05607/1.669, allocations: 24.97 MB / 0.9415 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004237/1.67, allocations: 384 kB / 0.9418 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003559/1.673, allocations: 0.7337 MB / 0.9426 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3029/1.976, allocations: 16.5 MB / 0.9587 GB, free: 119.7 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.037/2.013, allocations: 24.1 MB / 0.9822 GB, free: 114.3 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005674/2.014, allocations: 181.2 kB / 0.9824 GB, free: 114.3 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001515/2.015, allocations: 58.78 kB / 0.9824 GB, free: 114.3 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002883/2.018, allocations: 2.603 MB / 0.985 GB, free: 114.3 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1175/2.136, allocations: 119.8 MB / 1.102 GB, free: 42.36 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01251/2.148, allocations: 11.12 MB / 1.113 GB, free: 37.31 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009249/2.158, allocations: 9.654 MB / 1.122 GB, free: 33.06 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03395/2.192, allocations: 25.16 MB / 1.147 GB, free: 12.75 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/2.192, allocations: 94.25 kB / 1.147 GB, free: 12.64 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=532): time 8.286e-06/2.192, allocations: 0 / 1.147 GB, free: 12.64 MB / 0.5262 GB Notification: Performance of matching and sorting (n=747): time 0.4346/2.626, allocations: 106.7 MB / 1.251 GB, free: 108.6 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/2.626, allocations: 0.6586 MB / 1.252 GB, free: 107.9 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01242/2.639, allocations: 8.23 MB / 1.26 GB, free: 105.1 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001763/2.641, allocations: 29.52 kB / 1.26 GB, free: 105.1 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003071/2.644, allocations: 6.718 MB / 1.266 GB, free: 100.3 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.003334/2.647, allocations: 2.629 MB / 1.269 GB, free: 98.29 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/2.648, allocations: 0 / 1.269 GB, free: 98.29 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0005677/2.649, allocations: 0.9183 MB / 1.27 GB, free: 97.72 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0119/2.661, allocations: 9.644 MB / 1.279 GB, free: 94.05 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01402/2.675, allocations: 16.56 MB / 1.296 GB, free: 77.69 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01503/2.69, allocations: 12.59 MB / 1.308 GB, free: 66.96 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.761e-05/2.69, allocations: 68 kB / 1.308 GB, free: 66.9 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1875) (initialization): time 0.279/2.969, allocations: 39.61 MB / 1.347 GB, free: 97.67 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/2.969, allocations: 7.812 kB / 1.347 GB, free: 97.67 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08895/3.058, allocations: 30.11 MB / 1.376 GB, free: 97.39 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08199/3.14, allocations: 16.1 MB / 1.392 GB, free: 97.28 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01263/3.153, allocations: 3.107 MB / 1.395 GB, free: 97.28 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08821/3.241, allocations: 57.23 MB / 1.451 GB, free: 83.22 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01468/3.256, allocations: 0.7227 MB / 1.451 GB, free: 83.22 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002579/3.258, allocations: 0.7901 MB / 1.452 GB, free: 83.11 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1078 * Number of states: 0 () * Number of discrete variables: 113 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1603): * Single equations (assignments): 1591 * 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.002656/3.261, allocations: 0.7446 MB / 1.453 GB, free: 82.92 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002025/3.263, allocations: 1.015 MB / 1.454 GB, free: 82.92 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.053/3.316, allocations: 27.49 MB / 1.481 GB, free: 66.26 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04828/3.364, allocations: 24.89 MB / 1.505 GB, free: 46.26 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.297e-05/3.364, allocations: 41.75 kB / 1.505 GB, free: 46.22 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001127/3.364, allocations: 39.06 kB / 1.505 GB, free: 46.22 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2587/3.623, allocations: 55.73 MB / 1.559 GB, free: 95.57 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.263e-05/3.623, allocations: 3.719 kB / 1.559 GB, free: 95.57 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006655/3.63, allocations: 1.048 MB / 1.561 GB, free: 95.57 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03489/3.665, allocations: 10.96 MB / 1.571 GB, free: 95.46 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001541/3.666, allocations: 56.12 kB / 1.571 GB, free: 95.46 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06923/3.735, allocations: 47.99 MB / 1.618 GB, free: 85.92 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001062/3.737, allocations: 1.602 MB / 1.62 GB, free: 84.52 MB / 0.5262 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06595/3.803, allocations: 40.47 MB / 1.659 GB, free: 66.21 MB / 0.5262 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07743/3.88, allocations: 54.67 MB / 1.713 GB, free: 19.65 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002416/3.882, allocations: 0.9851 MB / 1.714 GB, free: 18.76 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002848/3.885, allocations: 29.62 kB / 1.714 GB, free: 18.74 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007588/3.893, allocations: 396.5 kB / 1.714 GB, free: 18.51 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001299/3.894, allocations: 354.3 kB / 1.714 GB, free: 18.32 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001026/3.895, allocations: 190.8 kB / 1.714 GB, free: 18.15 MB / 0.5262 GB Notification: Performance of sort global known variables: time 0.1763/4.072, allocations: 7.112 MB / 1.721 GB, free: 99.38 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01509/4.087, allocations: 3.786 MB / 1.725 GB, free: 99.38 MB / 0.5262 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 (508): * Single equations (assignments): 499 * 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 {(20,66.0%) 191} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001101/4.088, allocations: 210.1 kB / 1.725 GB, free: 99.29 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.03553/4.123, allocations: 24.82 MB / 1.75 GB, free: 98.35 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/4.123, allocations: 3.562 kB / 1.75 GB, free: 98.35 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.01875/4.142, allocations: 12.22 MB / 1.762 GB, free: 97.61 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007088/4.149, allocations: 1.336 MB / 1.763 GB, free: 97.57 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05811/4.207, allocations: 32.86 MB / 1.795 GB, free: 92.35 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01563/4.223, allocations: 10.2 MB / 1.805 GB, free: 91.02 MB / 0.5262 GB Notification: Performance of SimCode: time 7.11e-07/4.223, allocations: 7.734 kB / 1.805 GB, free: 91.02 MB / 0.5262 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Joints.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Joints_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Joints.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe 2>&1)