Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion") [: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.002476/0.002476, allocations: 185.9 kB / 7.457 MB, free: 2.004 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.29/1.29, allocations: 194.2 MB / 202.1 MB, free: 8.73 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.001803/0.001803, allocations: 115 kB / 247.1 MB, free: 6.359 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.1713/0.1713, allocations: 39.95 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.774e-06/7.814e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09559/0.09561, allocations: 54.87 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3117/0.4073, allocations: 95.2 MB / 0.5301 GB, free: 5.227 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.4076, allocations: 69.28 kB / 0.5302 GB, free: 5.191 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2187/0.6264, allocations: 84.01 MB / 0.6122 GB, free: 9.098 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001693/0.6266, allocations: 72 kB / 0.6123 GB, free: 9.027 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01003/0.6366, allocations: 3.623 MB / 0.6158 GB, free: 5.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.6367, allocations: 8.031 kB / 0.6158 GB, free: 5.332 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01552/0.6522, allocations: 2.95 MB / 0.6187 GB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01461/0.6669, allocations: 4.998 MB / 0.6236 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000435/0.6674, allocations: 124 kB / 0.6237 GB, free: 13.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002878/0.6703, allocations: 216 kB / 0.6239 GB, free: 12.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01529/0.6856, allocations: 7.45 MB / 0.6312 GB, free: 5.531 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02146/0.7072, allocations: 9.744 MB / 0.6407 GB, free: 11.29 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001946/0.7074, allocations: 31.66 kB / 0.6408 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001613/0.709, allocations: 16 kB / 0.6408 GB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001864/0.7109, allocations: 1.269 MB / 0.642 GB, free: 9.969 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2209/0.9319, allocations: 34.46 MB / 0.6757 GB, free: 156.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003604/0.9355, allocations: 2.722 MB / 0.6783 GB, free: 156.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002333/0.9379, allocations: 2.251 MB / 0.6805 GB, free: 156.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/0.95, allocations: 9.564 MB / 0.6899 GB, free: 153.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.95, allocations: 51.88 kB / 0.6899 GB, free: 153 MB / 474.7 MB Notification: Performance of pre-optimization done (n=214): time 5.15e-06/0.9501, allocations: 0 / 0.6899 GB, free: 153 MB / 474.7 MB Notification: Performance of matching and sorting (n=239): time 0.0297/0.9798, allocations: 15.47 MB / 0.705 GB, free: 151.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.9798, allocations: 74.75 kB / 0.7051 GB, free: 151.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004748/0.9846, allocations: 2.604 MB / 0.7076 GB, free: 151.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004315/0.9851, allocations: 32.83 kB / 0.7077 GB, free: 151.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001981/0.987, allocations: 2.79 MB / 0.7104 GB, free: 149.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009938/0.9881, allocations: 0.8757 MB / 0.7112 GB, free: 149.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005826/0.9887, allocations: 0 / 0.7112 GB, free: 149.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005098/0.9892, allocations: 0.5688 MB / 0.7118 GB, free: 148.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003678/0.9929, allocations: 2.543 MB / 0.7143 GB, free: 148.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005087/0.998, allocations: 5.792 MB / 0.7199 GB, free: 143.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005253/1.003, allocations: 3.922 MB / 0.7238 GB, free: 142.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.832e-05/1.003, allocations: 33.59 kB / 0.7238 GB, free: 142.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=806) (initialization): time 0.02184/1.025, allocations: 9.001 MB / 0.7326 GB, free: 140.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/1.025, allocations: 3.406 kB / 0.7326 GB, free: 140.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01257/1.038, allocations: 4.434 MB / 0.7369 GB, free: 137.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009975/1.048, allocations: 1.605 MB / 0.7385 GB, free: 136.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005066/1.053, allocations: 1.353 MB / 0.7398 GB, free: 135.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005751/1.059, allocations: 4.57 MB / 0.7443 GB, free: 130.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005254/1.064, allocations: 222.2 kB / 0.7445 GB, free: 130.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/1.065, allocations: 352.3 kB / 0.7448 GB, free: 130.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 524 * Number of states: 0 () * Number of discrete variables: 21 (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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (744): * Single equations (assignments): 732 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001683/1.067, allocations: 396.6 kB / 0.7452 GB, free: 130 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006557/1.068, allocations: 280.3 kB / 0.7455 GB, free: 129.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009353/1.077, allocations: 5.024 MB / 0.7504 GB, free: 125.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008632/1.086, allocations: 4.502 MB / 0.7548 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.29e-05/1.086, allocations: 7.938 kB / 0.7548 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.688e-05/1.086, allocations: 7.453 kB / 0.7548 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02309/1.109, allocations: 11.86 MB / 0.7664 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/1.109, allocations: 0 / 0.7664 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/1.111, allocations: 346.5 kB / 0.7667 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003981/1.115, allocations: 1.025 MB / 0.7677 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003536/1.115, allocations: 22.98 kB / 0.7677 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003924/1.119, allocations: 4.22 MB / 0.7718 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006903/1.12, allocations: 1.369 MB / 0.7732 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01114/1.131, allocations: 7.939 MB / 0.7809 GB, free: 98.75 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009647/1.132, allocations: 351 kB / 0.7813 GB, free: 98.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008525/1.133, allocations: 18.73 kB / 0.7813 GB, free: 98.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/1.135, allocations: 98.7 kB / 0.7814 GB, free: 98.33 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/1.135, allocations: 104.5 kB / 0.7815 GB, free: 98.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001933/1.135, allocations: 62.05 kB / 0.7815 GB, free: 98.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003353/1.139, allocations: 1.727 MB / 0.7832 GB, free: 96.71 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00551/1.144, allocations: 0.9819 MB / 0.7842 GB, free: 95.73 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],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 (182): * Single equations (assignments): 172 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005233/1.145, allocations: 159.8 kB / 0.7843 GB, free: 95.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009334/1.154, allocations: 6.497 MB / 0.7907 GB, free: 89.72 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/1.154, allocations: 0 / 0.7907 GB, free: 89.72 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003994/1.158, allocations: 2.733 MB / 0.7933 GB, free: 87.26 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/1.16, allocations: 233.6 kB / 0.7936 GB, free: 87.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/1.181, allocations: 8.899 MB / 0.8023 GB, free: 78.57 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005976/1.187, allocations: 3.653 MB / 0.8058 GB, free: 74.91 MB / 474.7 MB Notification: Performance of SimCode: time 8.72e-07/1.187, allocations: 0 / 0.8058 GB, free: 74.91 MB / 474.7 MB Notification: Performance of Templates: time 0.06474/1.251, allocations: 39.74 MB / 0.8446 GB, free: 36.07 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1)