Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.004037/0.004037, allocations: 181.9 kB / 7.456 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.084/1.084, allocations: 170.6 MB / 178.4 MB, free: 15.45 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001851/0.001851, allocations: 124.9 kB / 217.7 MB, free: 8.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1832/0.1832, allocations: 37.98 MB / 294.8 MB, free: 9.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.233e-06/7.334e-06, allocations: 1.438 kB / 349.5 MB, free: 37.12 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1126, allocations: 48.7 MB / 398.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3915/0.5042, allocations: 92.21 MB / 490.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.5045, allocations: 74.42 kB / 490.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.3097/0.8143, allocations: 113.1 MB / 0.5894 GB, free: 11.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004166/0.8147, allocations: 91.94 kB / 0.5895 GB, free: 10.94 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: 1910 * Number of variables: 1910 Notification: Performance of Generate backend data structure: time 0.02312/0.8379, allocations: 4.401 MB / 0.5938 GB, free: 6.484 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.8379, allocations: 11.97 kB / 0.5938 GB, free: 6.473 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01752/0.8555, allocations: 2.945 MB / 0.5967 GB, free: 3.516 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0194/0.8749, allocations: 4.848 MB / 0.6014 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004774/0.8754, allocations: 160 kB / 0.6016 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003717/0.8792, allocations: 287.9 kB / 0.6019 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02048/0.8997, allocations: 8.657 MB / 0.6103 GB, free: 5.547 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2724/1.172, allocations: 11.39 MB / 0.6214 GB, free: 123 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001574/1.172, allocations: 35.91 kB / 0.6215 GB, free: 123 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006301/1.173, allocations: 16.75 kB / 0.6215 GB, free: 123 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001874/1.175, allocations: 1.476 MB / 0.6229 GB, free: 123 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06129/1.236, allocations: 40.14 MB / 0.6621 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004887/1.241, allocations: 3.084 MB / 0.6651 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003669/1.245, allocations: 2.498 MB / 0.6676 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01894/1.264, allocations: 10.06 MB / 0.6774 GB, free: 102.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/1.264, allocations: 54.38 kB / 0.6774 GB, free: 102.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=218): time 6.342e-06/1.264, allocations: 0 / 0.6774 GB, free: 102.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=245): time 0.03497/1.299, allocations: 16.61 MB / 0.6937 GB, free: 96.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/1.299, allocations: 72.72 kB / 0.6937 GB, free: 96.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007098/1.306, allocations: 2.883 MB / 0.6966 GB, free: 95.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004531/1.307, allocations: 29.67 kB / 0.6966 GB, free: 95.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002453/1.309, allocations: 3.339 MB / 0.6998 GB, free: 93.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001444/1.31, allocations: 0.8866 MB / 0.7007 GB, free: 92.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008382/1.311, allocations: 0 / 0.7007 GB, free: 92.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008101/1.312, allocations: 0.588 MB / 0.7013 GB, free: 92.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005078/1.317, allocations: 2.543 MB / 0.7038 GB, free: 91.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007724/1.325, allocations: 6.182 MB / 0.7098 GB, free: 85.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006041/1.331, allocations: 4.03 MB / 0.7137 GB, free: 84.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000139/1.331, allocations: 36.88 kB / 0.7138 GB, free: 84.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=867) (initialization): time 0.01863/1.35, allocations: 8.789 MB / 0.7224 GB, free: 80.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/1.35, allocations: 8 kB / 0.7224 GB, free: 80.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004692/1.35, allocations: 128 kB / 0.7225 GB, free: 80.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003685/1.354, allocations: 1.006 MB / 0.7235 GB, free: 79.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007091/1.361, allocations: 1.467 MB / 0.7249 GB, free: 78.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006949/1.368, allocations: 4.791 MB / 0.7296 GB, free: 74.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005908/1.374, allocations: 178.5 kB / 0.7297 GB, free: 73.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001778/1.376, allocations: 383.5 kB / 0.7301 GB, free: 73.59 MB / 426.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.002324/1.378, allocations: 445.5 kB / 0.7305 GB, free: 73.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/1.379, allocations: 308 kB / 0.7308 GB, free: 72.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009512/1.389, allocations: 4.955 MB / 0.7357 GB, free: 68.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.714e-05/1.389, allocations: 32 kB / 0.7357 GB, free: 68.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.763e-05/1.389, allocations: 11.84 kB / 0.7357 GB, free: 68.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.971e-05/1.389, allocations: 7.781 kB / 0.7357 GB, free: 68.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02398/1.413, allocations: 10.17 MB / 0.7456 GB, free: 60.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/1.413, allocations: 11.84 kB / 0.7457 GB, free: 60.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/1.415, allocations: 349.5 kB / 0.746 GB, free: 60 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002782/1.418, allocations: 0.7915 MB / 0.7468 GB, free: 59.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003545/1.418, allocations: 15.84 kB / 0.7468 GB, free: 59.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005542/1.424, allocations: 4.162 MB / 0.7508 GB, free: 55.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/1.424, allocations: 7.938 kB / 0.7509 GB, free: 55.74 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01206/1.436, allocations: 7.955 MB / 0.7586 GB, free: 48.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/1.438, allocations: 0.7155 MB / 0.7593 GB, free: 47.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001289/1.439, allocations: 11.7 kB / 0.7593 GB, free: 47.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/1.441, allocations: 66.16 kB / 0.7594 GB, free: 47.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/1.442, allocations: 98.14 kB / 0.7595 GB, free: 47.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002024/1.442, allocations: 79.69 kB / 0.7596 GB, free: 47.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.004953/1.447, allocations: 1.901 MB / 0.7614 GB, free: 46.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007326/1.454, allocations: 0.987 MB / 0.7624 GB, free: 45.08 MB / 426.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.0006912/1.455, allocations: 155.3 kB / 0.7625 GB, free: 44.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009314/1.464, allocations: 5.988 MB / 0.7684 GB, free: 39.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.086e-06/1.464, allocations: 4 kB / 0.7684 GB, free: 39.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002935/1.467, allocations: 2.123 MB / 0.7705 GB, free: 37.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/1.47, allocations: 261.2 kB / 0.7707 GB, free: 37.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02616/1.496, allocations: 9.428 MB / 0.7799 GB, free: 28.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01076/1.507, allocations: 4.208 MB / 0.784 GB, free: 25.57 MB / 426.7 MB Notification: Performance of SimCode: time 2.064e-06/1.507, allocations: 0 / 0.784 GB, free: 25.57 MB / 426.7 MB Notification: Performance of Templates: time 0.307/1.814, allocations: 39.33 MB / 0.8224 GB, free: 107.8 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1)