Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Joints.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 171.4 kB / 8.514 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.179/1.179, allocations: 221.4 MB / 230.3 MB, free: 7.707 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009413/0.0009413, allocations: 81.97 kB / 281.2 MB, free: 5.523 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1624/0.1624, allocations: 44.14 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1598/0.3223, allocations: 68.03 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08414/0.4064, allocations: 61.92 MB / 0.4942 GB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2433/0.6498, allocations: 114 MB / 0.6055 GB, free: 14.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001835/0.65, allocations: 80.61 kB / 0.6056 GB, free: 14.69 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: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.7265/1.377, allocations: 266 MB / 0.8653 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/1.377, allocations: 15.94 kB / 0.8653 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09108/1.468, allocations: 25.5 MB / 0.8902 GB, free: 3.332 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3084/1.776, allocations: 25.83 MB / 0.9155 GB, free: 98.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000293/1.776, allocations: 383.2 kB / 0.9158 GB, free: 98.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002147/1.779, allocations: 0.7319 MB / 0.9166 GB, free: 98.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02088/1.8, allocations: 16.5 MB / 0.9327 GB, free: 98.03 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02702/1.827, allocations: 24.12 MB / 0.9562 GB, free: 92.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004153/1.827, allocations: 185.3 kB / 0.9564 GB, free: 92.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001163/1.828, allocations: 57.31 kB / 0.9565 GB, free: 92.62 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002689/1.831, allocations: 2.601 MB / 0.959 GB, free: 92.59 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2627/2.094, allocations: 119.8 MB / 1.076 GB, free: 45.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/2.105, allocations: 11.12 MB / 1.087 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008503/2.113, allocations: 9.648 MB / 1.096 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03016/2.144, allocations: 25.18 MB / 1.121 GB, free: 40.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/2.144, allocations: 92.25 kB / 1.121 GB, free: 40.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=532): time 7.674e-06/2.144, allocations: 0 / 1.121 GB, free: 40.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=747): time 0.2372/2.381, allocations: 105.4 MB / 1.224 GB, free: 9.668 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002265/2.381, allocations: 0.6628 MB / 1.225 GB, free: 8.867 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01102/2.392, allocations: 8.224 MB / 1.233 GB, free: 1.684 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001157/2.393, allocations: 29.7 kB / 1.233 GB, free: 1.648 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003639/2.397, allocations: 6.72 MB / 1.239 GB, free: 11.69 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.002997/2.4, allocations: 2.622 MB / 1.242 GB, free: 9.309 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009154/2.401, allocations: 4 kB / 1.242 GB, free: 9.305 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0006399/2.401, allocations: 0.9139 MB / 1.243 GB, free: 8.555 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01268/2.414, allocations: 9.709 MB / 1.252 GB, free: 0 / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01558/2.43, allocations: 16.56 MB / 1.268 GB, free: 13.35 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01548/2.445, allocations: 12.58 MB / 1.281 GB, free: 2.629 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.254e-05/2.445, allocations: 68 kB / 1.281 GB, free: 2.562 MB / 0.573 GB Notification: Performance of matching and sorting (n=1875) (initialization): time 0.283/2.728, allocations: 42.6 MB / 1.322 GB, free: 144.6 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/2.728, allocations: 6.219 kB / 1.322 GB, free: 144.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0836/2.812, allocations: 30.94 MB / 1.352 GB, free: 144.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07847/2.891, allocations: 17.09 MB / 1.369 GB, free: 144.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01181/2.902, allocations: 3.109 MB / 1.372 GB, free: 144 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08404/2.986, allocations: 57.47 MB / 1.428 GB, free: 117.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01376/3, allocations: 0.7342 MB / 1.429 GB, free: 117.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002542/3.003, allocations: 0.7896 MB / 1.43 GB, free: 116.4 MB / 0.573 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.003278/3.006, allocations: 0.7511 MB / 1.431 GB, free: 115.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002155/3.008, allocations: 1.013 MB / 1.432 GB, free: 115.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05097/3.059, allocations: 27.48 MB / 1.458 GB, free: 93.69 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.045/3.104, allocations: 24.9 MB / 1.483 GB, free: 71.41 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.854e-05/3.104, allocations: 47.38 kB / 1.483 GB, free: 71.37 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.997e-05/3.104, allocations: 35.86 kB / 1.483 GB, free: 71.33 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2423/3.347, allocations: 55.74 MB / 1.537 GB, free: 134.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.338e-05/3.347, allocations: 1.859 kB / 1.537 GB, free: 134.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006018/3.353, allocations: 1.048 MB / 1.538 GB, free: 134.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03233/3.385, allocations: 10.97 MB / 1.549 GB, free: 134.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001099/3.386, allocations: 51.89 kB / 1.549 GB, free: 134.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06365/3.45, allocations: 47.98 MB / 1.596 GB, free: 127.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009843/3.451, allocations: 1.605 MB / 1.597 GB, free: 125.9 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06271/3.514, allocations: 40.48 MB / 1.637 GB, free: 111.8 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07486/3.589, allocations: 54.67 MB / 1.69 GB, free: 67.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002341/3.591, allocations: 0.9854 MB / 1.691 GB, free: 66.38 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002255/3.593, allocations: 26.75 kB / 1.691 GB, free: 66.36 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006641/3.6, allocations: 393.9 kB / 1.692 GB, free: 66.14 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001181/3.601, allocations: 355.5 kB / 1.692 GB, free: 65.94 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008243/3.602, allocations: 191.9 kB / 1.692 GB, free: 65.77 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.007035/3.609, allocations: 5.789 MB / 1.698 GB, free: 60.77 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01221/3.621, allocations: 3.772 MB / 1.702 GB, free: 57.01 MB / 0.573 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.001061/3.622, allocations: 211.3 kB / 1.702 GB, free: 56.87 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.1965/3.819, allocations: 26.68 MB / 1.728 GB, free: 145 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/3.819, allocations: 2.906 kB / 1.728 GB, free: 145 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01844/3.837, allocations: 12.22 MB / 1.74 GB, free: 144.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006643/3.844, allocations: 1.331 MB / 1.741 GB, free: 144.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05386/3.898, allocations: 32.87 MB / 1.773 GB, free: 139.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01344/3.911, allocations: 10.21 MB / 1.783 GB, free: 138.1 MB / 0.573 GB Notification: Performance of SimCode: time 7.52e-07/3.911, allocations: 0 / 1.783 GB, free: 138.1 MB / 0.573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Joints.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Joints_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Joints.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Joints.pipe 2>&1)