Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Joints.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 187.9 kB / 7.802 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 99.55 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1984/0.1984, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2179/0.4164, allocations: 64.96 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.7521, allocations: 58.84 MB / 476.6 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.8996, allocations: 112.5 MB / 0.5754 GB, free: 2.328 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.8999, allocations: 75.47 kB / 0.5754 GB, free: 2.258 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: 3975 * Number of variables: 3975 Notification: Performance of Generate backend data structure: time 1.339/2.239, allocations: 265.9 MB / 0.8351 GB, free: 32.88 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/2.239, allocations: 14.47 kB / 0.8351 GB, free: 32.88 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09544/2.335, allocations: 25.52 MB / 0.86 GB, free: 31.98 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07469/2.41, allocations: 27.32 MB / 0.8867 GB, free: 30.2 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009298/2.411, allocations: 391.9 kB / 0.8871 GB, free: 30.2 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007614/2.418, allocations: 0.7417 MB / 0.8878 GB, free: 30.17 MB / 490.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03816/2.456, allocations: 16.71 MB / 0.9041 GB, free: 30.11 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07173/2.528, allocations: 24.37 MB / 0.9279 GB, free: 23.89 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001684/2.53, allocations: 183.9 kB / 0.9281 GB, free: 23.85 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006695/2.537, allocations: 57.84 kB / 0.9282 GB, free: 23.85 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006039/2.543, allocations: 2.638 MB / 0.9307 GB, free: 23.13 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5033/3.046, allocations: 122.3 MB / 1.05 GB, free: 81.36 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01421/3.06, allocations: 11.21 MB / 1.061 GB, free: 80.7 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01187/3.072, allocations: 9.729 MB / 1.071 GB, free: 80.63 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04859/3.121, allocations: 25.51 MB / 1.095 GB, free: 76.18 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/3.121, allocations: 89.28 kB / 1.096 GB, free: 76.13 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=544): time 1.017e-05/3.121, allocations: 1.312 kB / 1.096 GB, free: 76.13 MB / 0.5418 GB Notification: Performance of matching and sorting (n=757): time 0.304/3.425, allocations: 105.2 MB / 1.198 GB, free: 32.4 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000203/3.425, allocations: 0.6599 MB / 1.199 GB, free: 31.61 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02077/3.446, allocations: 8.427 MB / 1.207 GB, free: 24.39 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.002922/3.449, allocations: 25.7 kB / 1.207 GB, free: 24.36 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.004896/3.454, allocations: 6.8 MB / 1.214 GB, free: 18.43 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.00476/3.459, allocations: 2.66 MB / 1.216 GB, free: 16.01 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002801/3.462, allocations: 0 / 1.216 GB, free: 16.01 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0009175/3.463, allocations: 0.9217 MB / 1.217 GB, free: 15.26 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01627/3.479, allocations: 9.726 MB / 1.227 GB, free: 6.473 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3213/3.8, allocations: 17.66 MB / 1.244 GB, free: 119.3 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0206/3.821, allocations: 12.7 MB / 1.256 GB, free: 119.2 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005479/3.821, allocations: 65.84 kB / 1.257 GB, free: 119.2 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1901) (initialization): time 0.1333/3.955, allocations: 40.97 MB / 1.297 GB, free: 118.9 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/3.955, allocations: 9.719 kB / 1.297 GB, free: 118.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09663/4.051, allocations: 31.07 MB / 1.327 GB, free: 118.6 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08196/4.133, allocations: 17.09 MB / 1.344 GB, free: 117.9 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01366/4.147, allocations: 3.154 MB / 1.347 GB, free: 117.5 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08743/4.235, allocations: 57.53 MB / 1.403 GB, free: 76.76 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01611/4.251, allocations: 0.7462 MB / 1.404 GB, free: 76.25 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004581/4.255, allocations: 0.8052 MB / 1.404 GB, free: 75.5 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1094 * Number of states: 0 () * Number of discrete variables: 111 (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 (1629): * Single equations (assignments): 1617 * 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.005289/4.261, allocations: 0.7523 MB / 1.405 GB, free: 74.89 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003088/4.264, allocations: 1.027 MB / 1.406 GB, free: 74.41 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05694/4.321, allocations: 27.66 MB / 1.433 GB, free: 51.68 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3462/4.667, allocations: 25.03 MB / 1.458 GB, free: 115.2 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000182/4.667, allocations: 42.78 kB / 1.458 GB, free: 115.2 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002881/4.668, allocations: 35.91 kB / 1.458 GB, free: 115.2 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1309/4.799, allocations: 56.13 MB / 1.512 GB, free: 113 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.755e-05/4.799, allocations: 7.375 kB / 1.512 GB, free: 113 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007966/4.807, allocations: 1.072 MB / 1.513 GB, free: 112.9 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0368/4.844, allocations: 10.97 MB / 1.524 GB, free: 110.8 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002951/4.847, allocations: 52.52 kB / 1.524 GB, free: 110.8 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07874/4.925, allocations: 48.26 MB / 1.571 GB, free: 91.87 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001374/4.927, allocations: 1.602 MB / 1.573 GB, free: 90.47 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07437/5.001, allocations: 40.73 MB / 1.613 GB, free: 58.45 MB / 0.5418 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3776/5.379, allocations: 55.9 MB / 1.667 GB, free: 111.8 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009942/5.389, allocations: 2.794 MB / 1.67 GB, free: 111.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005681/5.395, allocations: 24.73 kB / 1.67 GB, free: 111.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01189/5.406, allocations: 396.1 kB / 1.67 GB, free: 111.7 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003231/5.41, allocations: 359.6 kB / 1.671 GB, free: 111.7 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001392/5.411, allocations: 200.8 kB / 1.671 GB, free: 111.7 MB / 0.5418 GB Notification: Performance of sort global known variables: time 0.01397/5.425, allocations: 5.928 MB / 1.677 GB, free: 111.4 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.02333/5.448, allocations: 3.81 MB / 1.68 GB, free: 111.4 MB / 0.5418 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.00253/5.451, allocations: 200.7 kB / 1.681 GB, free: 111.3 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.04701/5.498, allocations: 25.04 MB / 1.705 GB, free: 110.4 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/5.498, allocations: 0 / 1.705 GB, free: 110.4 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.02678/5.525, allocations: 12.39 MB / 1.717 GB, free: 107.1 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01512/5.54, allocations: 1.334 MB / 1.719 GB, free: 106.6 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1028/5.643, allocations: 33.23 MB / 1.751 GB, free: 95.58 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03017/5.673, allocations: 10.33 MB / 1.761 GB, free: 89.77 MB / 0.5418 GB Notification: Performance of SimCode: time 1.453e-06/5.673, allocations: 4 kB / 1.761 GB, free: 89.77 MB / 0.5418 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Joints.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Joints_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Joints.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe 2>&1)