Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.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.Joints.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar") [: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.002071/0.002071, allocations: 186.9 kB / 7.46 MB, free: 2.234 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.21/1.21, allocations: 194.2 MB / 202.1 MB, free: 8.715 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.001802/0.001802, allocations: 127.7 kB / 247.1 MB, free: 6.316 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.166/0.166, allocations: 39.95 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.086e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 54.87 MB / 447.6 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3295/0.4423, allocations: 99.02 MB / 0.5339 GB, free: 1.418 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001826/0.4425, allocations: 74.91 kB / 0.5339 GB, free: 1.383 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2923/0.7348, allocations: 113.2 MB / 0.6444 GB, free: 7.867 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003608/0.7352, allocations: 95.92 kB / 0.6445 GB, free: 7.77 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1911 * Number of variables: 1911 Notification: Performance of Generate backend data structure: time 0.01672/0.752, allocations: 4.41 MB / 0.6488 GB, free: 3.293 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.7521, allocations: 12.02 kB / 0.6488 GB, free: 3.281 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0165/0.7686, allocations: 2.934 MB / 0.6517 GB, free: 340 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01502/0.7836, allocations: 4.858 MB / 0.6565 GB, free: 11.42 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003824/0.7841, allocations: 160 kB / 0.6566 GB, free: 11.26 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003337/0.7874, allocations: 291.9 kB / 0.6569 GB, free: 10.98 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01778/0.8052, allocations: 8.654 MB / 0.6653 GB, free: 2.316 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1957/1.001, allocations: 11.39 MB / 0.6765 GB, free: 153.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002002/1.001, allocations: 32.48 kB / 0.6765 GB, free: 153.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001466/1.003, allocations: 15.84 kB / 0.6765 GB, free: 153.6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001823/1.004, allocations: 1.473 MB / 0.678 GB, free: 153.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0563/1.061, allocations: 40.15 MB / 0.7172 GB, free: 137.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004183/1.065, allocations: 3.077 MB / 0.7202 GB, free: 137.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00296/1.068, allocations: 2.505 MB / 0.7226 GB, free: 137.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0157/1.084, allocations: 10.06 MB / 0.7324 GB, free: 131.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/1.084, allocations: 48.22 kB / 0.7325 GB, free: 131.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=218): time 4.499e-06/1.084, allocations: 7.188 kB / 0.7325 GB, free: 131.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=245): time 0.0341/1.118, allocations: 16.61 MB / 0.7487 GB, free: 126.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/1.118, allocations: 75.81 kB / 0.7488 GB, free: 126.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006728/1.125, allocations: 2.891 MB / 0.7516 GB, free: 125.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00021/1.125, allocations: 27.17 kB / 0.7516 GB, free: 125.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001846/1.127, allocations: 3.334 MB / 0.7549 GB, free: 122.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008367/1.128, allocations: 0.8843 MB / 0.7557 GB, free: 122 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005193/1.128, allocations: 0 / 0.7557 GB, free: 122 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000538/1.129, allocations: 0.5887 MB / 0.7563 GB, free: 121.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003533/1.132, allocations: 2.545 MB / 0.7588 GB, free: 120.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005255/1.138, allocations: 6.174 MB / 0.7648 GB, free: 113.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005197/1.143, allocations: 4.03 MB / 0.7688 GB, free: 110.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/1.143, allocations: 43.56 kB / 0.7688 GB, free: 110.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=867) (initialization): time 0.01407/1.157, allocations: 8.803 MB / 0.7774 GB, free: 102.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.157, allocations: 4 kB / 0.7774 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002274/1.157, allocations: 128 kB / 0.7775 GB, free: 102.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00301/1.16, allocations: 1.002 MB / 0.7785 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005053/1.165, allocations: 1.471 MB / 0.78 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005787/1.171, allocations: 4.779 MB / 0.7846 GB, free: 96.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005037/1.176, allocations: 177.8 kB / 0.7848 GB, free: 96.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009098/1.177, allocations: 383.1 kB / 0.7852 GB, free: 95.95 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 39 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],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],axis2.color[3],axis2.color[2],axis2.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (805): * Single equations (assignments): 798 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,76.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009365/1.178, allocations: 437.5 kB / 0.7856 GB, free: 95.51 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004584/1.179, allocations: 315.6 kB / 0.7859 GB, free: 95.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00736/1.186, allocations: 4.958 MB / 0.7907 GB, free: 91.12 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.823e-05/1.186, allocations: 31.89 kB / 0.7907 GB, free: 91.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.186, allocations: 4 kB / 0.7907 GB, free: 91.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/1.186, allocations: 13.88 kB / 0.7908 GB, free: 91.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0163/1.202, allocations: 10.17 MB / 0.8007 GB, free: 82.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/1.203, allocations: 7.75 kB / 0.8007 GB, free: 82.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/1.204, allocations: 345.4 kB / 0.801 GB, free: 82.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002607/1.207, allocations: 0.8024 MB / 0.8018 GB, free: 81.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002033/1.207, allocations: 10.2 kB / 0.8018 GB, free: 81.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004805/1.212, allocations: 4.164 MB / 0.8059 GB, free: 78.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.212, allocations: 8 kB / 0.8059 GB, free: 78.09 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009569/1.221, allocations: 7.964 MB / 0.8137 GB, free: 70.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001865/1.223, allocations: 0.7158 MB / 0.8144 GB, free: 70.22 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006132/1.224, allocations: 5.875 kB / 0.8144 GB, free: 70.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/1.225, allocations: 65.5 kB / 0.8144 GB, free: 70.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002871/1.226, allocations: 108.9 kB / 0.8145 GB, free: 70.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/1.226, allocations: 69.53 kB / 0.8146 GB, free: 70.05 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.002753/1.228, allocations: 1.9 MB / 0.8165 GB, free: 68.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004695/1.233, allocations: 0.9945 MB / 0.8174 GB, free: 67.39 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 181 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004017/1.234, allocations: 153.5 kB / 0.8176 GB, free: 67.23 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00694/1.241, allocations: 5.998 MB / 0.8234 GB, free: 61.25 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.241, allocations: 0 / 0.8234 GB, free: 61.25 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002232/1.243, allocations: 2.123 MB / 0.8255 GB, free: 59.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/1.244, allocations: 257.4 kB / 0.8258 GB, free: 58.88 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/1.26, allocations: 9.431 MB / 0.835 GB, free: 49.35 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004533/1.264, allocations: 4.202 MB / 0.8391 GB, free: 45.14 MB / 474.7 MB Notification: Performance of SimCode: time 7.51e-07/1.264, allocations: 0 / 0.8391 GB, free: 45.14 MB / 474.7 MB Notification: Performance of Templates: time 0.06441/1.329, allocations: 39.34 MB / 0.8775 GB, free: 6.773 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1)