Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") [: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.003048/0.003048, allocations: 178.6 kB / 7.451 MB, free: 2.512 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.281/1.281, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001802/0.001802, allocations: 116.4 kB / 217.7 MB, free: 8.148 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.1954/0.1954, allocations: 37.97 MB / 294.8 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.437e-05/1.441e-05, allocations: 1.188 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1244, allocations: 48.71 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4009/0.5255, allocations: 90.43 MB / 488.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.5257, allocations: 73.47 kB / 488.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2415/0.7673, allocations: 87.89 MB / 0.5631 GB, free: 5.129 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004785/0.7678, allocations: 76 kB / 0.5632 GB, free: 5.055 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.02273/0.7906, allocations: 4.139 MB / 0.5672 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.177e-05/0.7907, allocations: 8.031 kB / 0.5672 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01671/0.8074, allocations: 2.852 MB / 0.57 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01774/0.8252, allocations: 4.699 MB / 0.5746 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004833/0.8258, allocations: 140 kB / 0.5747 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004311/0.8302, allocations: 259.9 kB / 0.575 GB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01946/0.8496, allocations: 7.964 MB / 0.5827 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03335/0.8831, allocations: 10.37 MB / 0.5929 GB, free: 6.059 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003383/0.8835, allocations: 35.7 kB / 0.5929 GB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003447/0.887, allocations: 19.94 kB / 0.5929 GB, free: 6.004 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002439/0.8894, allocations: 1.297 MB / 0.5942 GB, free: 4.707 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2607/1.15, allocations: 35.16 MB / 0.6285 GB, free: 121.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003952/1.154, allocations: 2.669 MB / 0.6311 GB, free: 121.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003308/1.157, allocations: 2.205 MB / 0.6333 GB, free: 121.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01663/1.174, allocations: 9.489 MB / 0.6425 GB, free: 118.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/1.174, allocations: 52.56 kB / 0.6426 GB, free: 118.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=213): time 6.923e-06/1.174, allocations: 0 / 0.6426 GB, free: 118.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=240): time 0.0231/1.197, allocations: 10.37 MB / 0.6527 GB, free: 117.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/1.197, allocations: 68.66 kB / 0.6528 GB, free: 117.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003773/1.201, allocations: 2.643 MB / 0.6554 GB, free: 117.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003995/1.202, allocations: 25.7 kB / 0.6554 GB, free: 117.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001418/1.203, allocations: 3.001 MB / 0.6583 GB, free: 115.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001021/1.204, allocations: 0.8829 MB / 0.6592 GB, free: 115.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/1.204, allocations: 3.5 kB / 0.6592 GB, free: 115.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003501/1.205, allocations: 0.5744 MB / 0.6597 GB, free: 115 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00301/1.208, allocations: 2.404 MB / 0.6621 GB, free: 115 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005303/1.213, allocations: 5.777 MB / 0.6677 GB, free: 110.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005629/1.219, allocations: 3.819 MB / 0.6715 GB, free: 109.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.421e-05/1.219, allocations: 34.31 kB / 0.6715 GB, free: 109.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=825) (initialization): time 0.021/1.24, allocations: 8.24 MB / 0.6795 GB, free: 107.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/1.24, allocations: 7.547 kB / 0.6795 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004022/1.24, allocations: 119.3 kB / 0.6797 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003911/1.244, allocations: 0.9321 MB / 0.6806 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005726/1.25, allocations: 1.416 MB / 0.682 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/1.253, allocations: 2.36 MB / 0.6843 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005985/1.259, allocations: 181.5 kB / 0.6844 GB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0026/1.262, allocations: 369.8 kB / 0.6848 GB, free: 105.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 545 * 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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (772): * Single equations (assignments): 763 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.003074/1.265, allocations: 401.2 kB / 0.6852 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00156/1.266, allocations: 284.6 kB / 0.6854 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/1.278, allocations: 4.686 MB / 0.69 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.814e-05/1.278, allocations: 38.92 kB / 0.6901 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.851e-05/1.278, allocations: 7.562 kB / 0.6901 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.215e-05/1.278, allocations: 13.47 kB / 0.6901 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.023/1.301, allocations: 9.115 MB / 0.699 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.301, allocations: 0 / 0.699 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/1.303, allocations: 358.1 kB / 0.6993 GB, free: 99.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003186/1.306, allocations: 0.7631 MB / 0.7001 GB, free: 99.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004067/1.307, allocations: 29.75 kB / 0.7001 GB, free: 99.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/1.309, allocations: 2.137 MB / 0.7022 GB, free: 97.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.309, allocations: 0 / 0.7022 GB, free: 97.25 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01102/1.32, allocations: 7.09 MB / 0.7091 GB, free: 90.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/1.321, allocations: 336.8 kB / 0.7094 GB, free: 90.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001046/1.322, allocations: 8 kB / 0.7094 GB, free: 90.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001886/1.324, allocations: 65.59 kB / 0.7095 GB, free: 90.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003387/1.325, allocations: 101.5 kB / 0.7096 GB, free: 90.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002389/1.325, allocations: 71.02 kB / 0.7097 GB, free: 90.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.003816/1.329, allocations: 1.737 MB / 0.7114 GB, free: 88.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006749/1.336, allocations: 0.8954 MB / 0.7122 GB, free: 88.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 184 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.0008038/1.336, allocations: 155.4 kB / 0.7124 GB, free: 87.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01102/1.347, allocations: 6.062 MB / 0.7183 GB, free: 82.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.348, allocations: 3.094 kB / 0.7183 GB, free: 82.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004122/1.352, allocations: 2.45 MB / 0.7207 GB, free: 80.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/1.354, allocations: 260.9 kB / 0.7209 GB, free: 80.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02134/1.375, allocations: 9.017 MB / 0.7297 GB, free: 72.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006177/1.381, allocations: 3.88 MB / 0.7335 GB, free: 69.02 MB / 426.7 MB Notification: Performance of SimCode: time 1.312e-06/1.381, allocations: 0 / 0.7335 GB, free: 69.02 MB / 426.7 MB Notification: Performance of Templates: time 0.06837/1.45, allocations: 37.5 MB / 0.7702 GB, free: 40.46 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1)