Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") [: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.003839/0.003839, allocations: 173.5 kB / 7.449 MB, free: 2.508 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.331/1.331, allocations: 170.6 MB / 178.4 MB, free: 15.43 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.001744/0.001744, allocations: 115.9 kB / 217.7 MB, free: 8.207 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.1986/0.1986, allocations: 37.97 MB / 294.8 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.588e-06/9.618e-06, allocations: 1.469 kB / 349.5 MB, free: 37.12 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1161, allocations: 48.71 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3781/0.4943, allocations: 94.15 MB / 492.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.4946, allocations: 71.14 kB / 492.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2571/0.7518, allocations: 94.47 MB / 0.5731 GB, free: 11.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003067/0.7521, allocations: 91.94 kB / 0.5732 GB, free: 11.74 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.02301/0.7752, allocations: 4.536 MB / 0.5777 GB, free: 7.145 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.7752, allocations: 12.03 kB / 0.5777 GB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01724/0.7925, allocations: 2.91 MB / 0.5805 GB, free: 4.211 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01664/0.8092, allocations: 4.911 MB / 0.5853 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000454/0.8097, allocations: 160 kB / 0.5855 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003616/0.8133, allocations: 299.8 kB / 0.5858 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01962/0.833, allocations: 8.618 MB / 0.5942 GB, free: 6.211 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03172/0.8647, allocations: 11.3 MB / 0.6052 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000307/0.8651, allocations: 43.64 kB / 0.6052 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002696/0.8678, allocations: 16 kB / 0.6053 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002295/0.8701, allocations: 1.392 MB / 0.6066 GB, free: 8.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2444/1.114, allocations: 39.9 MB / 0.6456 GB, free: 115.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003974/1.119, allocations: 2.917 MB / 0.6484 GB, free: 115.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002827/1.121, allocations: 2.415 MB / 0.6508 GB, free: 115.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01499/1.136, allocations: 10.01 MB / 0.6606 GB, free: 111.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/1.136, allocations: 53.5 kB / 0.6606 GB, free: 111.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=227): time 5.51e-06/1.136, allocations: 0 / 0.6606 GB, free: 111.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=236): time 0.02616/1.163, allocations: 12.61 MB / 0.6729 GB, free: 109.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/1.163, allocations: 71.69 kB / 0.673 GB, free: 109.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005129/1.168, allocations: 2.831 MB / 0.6758 GB, free: 108.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002854/1.168, allocations: 31.69 kB / 0.6758 GB, free: 108 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001782/1.17, allocations: 3.262 MB / 0.679 GB, free: 105.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009047/1.171, allocations: 0.8737 MB / 0.6798 GB, free: 105.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005042/1.171, allocations: 0 / 0.6798 GB, free: 105.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004991/1.172, allocations: 0.5822 MB / 0.6804 GB, free: 104.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003384/1.175, allocations: 2.426 MB / 0.6828 GB, free: 103.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005483/1.181, allocations: 6.023 MB / 0.6887 GB, free: 98.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006162/1.187, allocations: 3.891 MB / 0.6925 GB, free: 97.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001416/1.187, allocations: 37.12 kB / 0.6925 GB, free: 97.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.01836/1.206, allocations: 8.542 MB / 0.7008 GB, free: 94.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/1.206, allocations: 7.531 kB / 0.7008 GB, free: 94.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003676/1.206, allocations: 128.7 kB / 0.701 GB, free: 94.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003869/1.21, allocations: 1.066 MB / 0.702 GB, free: 94.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005595/1.216, allocations: 1.456 MB / 0.7034 GB, free: 94.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005538/1.221, allocations: 4.461 MB / 0.7078 GB, free: 91.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007424/1.229, allocations: 174.8 kB / 0.7079 GB, free: 91.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001736/1.23, allocations: 386.2 kB / 0.7083 GB, free: 91.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],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 (801): * Single equations (assignments): 793 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.003397/1.234, allocations: 424.1 kB / 0.7087 GB, free: 90.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001313/1.235, allocations: 308.1 kB / 0.709 GB, free: 90.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008778/1.244, allocations: 4.404 MB / 0.7133 GB, free: 86.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.509e-05/1.244, allocations: 38.38 kB / 0.7133 GB, free: 86.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/1.244, allocations: 4 kB / 0.7134 GB, free: 86.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-05/1.244, allocations: 10.22 kB / 0.7134 GB, free: 86.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01919/1.263, allocations: 8.864 MB / 0.722 GB, free: 79.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/1.263, allocations: 4 kB / 0.722 GB, free: 79.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/1.265, allocations: 351.4 kB / 0.7224 GB, free: 79.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001913/1.267, allocations: 0.6062 MB / 0.7229 GB, free: 78.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002617/1.267, allocations: 15.47 kB / 0.723 GB, free: 78.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/1.269, allocations: 2.301 MB / 0.7252 GB, free: 76.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.27, allocations: 4 kB / 0.7252 GB, free: 76.49 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008596/1.278, allocations: 6.821 MB / 0.7319 GB, free: 70.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009129/1.279, allocations: 347.4 kB / 0.7322 GB, free: 70 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008476/1.28, allocations: 11.75 kB / 0.7322 GB, free: 69.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/1.282, allocations: 58.97 kB / 0.7323 GB, free: 69.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/1.282, allocations: 107.5 kB / 0.7324 GB, free: 69.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002073/1.282, allocations: 67.64 kB / 0.7324 GB, free: 69.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.003308/1.286, allocations: 1.858 MB / 0.7343 GB, free: 68.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00794/1.294, allocations: 0.9463 MB / 0.7352 GB, free: 67.28 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * 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): 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.0005653/1.294, allocations: 157.7 kB / 0.7353 GB, free: 67.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008196/1.302, allocations: 5.764 MB / 0.741 GB, free: 61.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.303, allocations: 0 / 0.741 GB, free: 61.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003469/1.306, allocations: 2.339 MB / 0.7432 GB, free: 59.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/1.308, allocations: 299.2 kB / 0.7435 GB, free: 59.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/1.328, allocations: 9.457 MB / 0.7528 GB, free: 51.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006583/1.334, allocations: 4.11 MB / 0.7568 GB, free: 47.87 MB / 426.7 MB Notification: Performance of SimCode: time 1.332e-06/1.334, allocations: 4 kB / 0.7568 GB, free: 47.86 MB / 426.7 MB Notification: Performance of Templates: time 0.07221/1.407, allocations: 38.38 MB / 0.7943 GB, free: 15.93 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1)