Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) [: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.3+maint.om/package.mo): time 0.001827/0.001827, allocations: 192.1 kB / 7.805 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.184/1.184, allocations: 205.2 MB / 213.4 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009491/0.0009488, allocations: 92.45 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1741/0.1741, allocations: 43.5 MB / 352.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.525/0.6992, allocations: 64.96 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.9962, allocations: 58.83 MB / 476.6 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1512/1.147, allocations: 108.3 MB / 0.5712 GB, free: 6.598 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/1.148, allocations: 75.95 kB / 0.5713 GB, free: 6.523 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.4725/1.62, allocations: 100.6 MB / 0.6696 GB, free: 107.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/1.62, allocations: 9.969 kB / 0.6696 GB, free: 107.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01542/1.636, allocations: 2.92 MB / 0.6724 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/1.649, allocations: 4.953 MB / 0.6773 GB, free: 106 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/1.65, allocations: 159.4 kB / 0.6774 GB, free: 106 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002808/1.653, allocations: 300.9 kB / 0.6777 GB, free: 106 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01645/1.669, allocations: 8.705 MB / 0.6862 GB, free: 104.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03197/1.701, allocations: 11.41 MB / 0.6974 GB, free: 99.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005058/1.702, allocations: 30.47 kB / 0.6974 GB, free: 99.64 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002849/1.704, allocations: 19.66 kB / 0.6974 GB, free: 99.64 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002446/1.707, allocations: 1.41 MB / 0.6988 GB, free: 99.39 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06681/1.774, allocations: 40.33 MB / 0.7382 GB, free: 66.77 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004232/1.778, allocations: 2.951 MB / 0.741 GB, free: 63.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003243/1.781, allocations: 2.441 MB / 0.7434 GB, free: 61.35 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01717/1.799, allocations: 10.4 MB / 0.7536 GB, free: 50.39 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/1.799, allocations: 64.5 kB / 0.7536 GB, free: 50.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=234): time 6.392e-06/1.799, allocations: 3.375 kB / 0.7536 GB, free: 50.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=243): time 0.02609/1.825, allocations: 12.64 MB / 0.766 GB, free: 37.58 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/1.825, allocations: 69.41 kB / 0.7661 GB, free: 37.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006169/1.831, allocations: 2.854 MB / 0.7688 GB, free: 34.64 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005827/1.832, allocations: 25.7 kB / 0.7689 GB, free: 34.61 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002262/1.834, allocations: 3.283 MB / 0.7721 GB, free: 31.28 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001363/1.835, allocations: 0.8864 MB / 0.7729 GB, free: 30.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008104/1.836, allocations: 0 / 0.7729 GB, free: 30.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007305/1.837, allocations: 0.5988 MB / 0.7735 GB, free: 29.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00382/1.841, allocations: 2.434 MB / 0.7759 GB, free: 27.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005199/1.846, allocations: 6.059 MB / 0.7818 GB, free: 19.47 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005057/1.851, allocations: 3.911 MB / 0.7856 GB, free: 15.56 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/1.851, allocations: 39.91 kB / 0.7857 GB, free: 15.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=871) (initialization): time 0.01526/1.866, allocations: 8.564 MB / 0.794 GB, free: 6.949 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/1.866, allocations: 4.938 kB / 0.794 GB, free: 6.945 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002482/1.867, allocations: 132 kB / 0.7942 GB, free: 6.816 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003376/1.87, allocations: 1.059 MB / 0.7952 GB, free: 5.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005494/1.876, allocations: 1.474 MB / 0.7966 GB, free: 4.273 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00532/1.881, allocations: 4.449 MB / 0.801 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005562/1.887, allocations: 187.7 kB / 0.8012 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002115/1.889, allocations: 380 kB / 0.8015 GB, free: 15.13 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring.e_rel_0[2]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.e_rel_0[1]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.e_rel_0[3]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.f:VARIABLE(unit = "N" ) "Line force acting on frame_a and on frame_b (positive, if acting on frame_b and directed from frame_a to frame_b)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 586 * Number of states: 0 () * Number of discrete variables: 30 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (810): * Single equations (assignments): 802 * 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 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.002715/1.891, allocations: 441.1 kB / 0.8019 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/1.893, allocations: 304 kB / 0.8022 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009523/1.902, allocations: 4.437 MB / 0.8066 GB, free: 9.941 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-05/1.902, allocations: 39.98 kB / 0.8066 GB, free: 9.902 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.162e-05/1.902, allocations: 4 kB / 0.8066 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.161e-05/1.902, allocations: 15.91 kB / 0.8066 GB, free: 9.883 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02223/1.925, allocations: 8.927 MB / 0.8153 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/1.925, allocations: 7.906 kB / 0.8154 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/1.927, allocations: 363.5 kB / 0.8157 GB, free: 0.543 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002175/1.929, allocations: 0.5997 MB / 0.8163 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003481/1.929, allocations: 19.98 kB / 0.8163 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003349/1.933, allocations: 2.311 MB / 0.8186 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/1.933, allocations: 0 / 0.8186 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01269/1.945, allocations: 6.954 MB / 0.8254 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2053/2.151, allocations: 9.859 MB / 0.835 GB, free: 176.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/2.152, allocations: 352.6 kB / 0.8353 GB, free: 176.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005357/2.152, allocations: 10.09 kB / 0.8353 GB, free: 176.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/2.154, allocations: 63.42 kB / 0.8354 GB, free: 176.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/2.154, allocations: 112.5 kB / 0.8355 GB, free: 176.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001777/2.154, allocations: 59.83 kB / 0.8356 GB, free: 176.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003071/2.157, allocations: 1.882 MB / 0.8374 GB, free: 176.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006518/2.164, allocations: 0.962 MB / 0.8383 GB, free: 176.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (196): * Single equations (assignments): 187 * 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.0005365/2.164, allocations: 158.2 kB / 0.8385 GB, free: 176.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008359/2.173, allocations: 5.844 MB / 0.8442 GB, free: 176.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/2.173, allocations: 2.812 kB / 0.8442 GB, free: 176.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00345/2.176, allocations: 2.353 MB / 0.8465 GB, free: 175.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/2.178, allocations: 295.5 kB / 0.8468 GB, free: 175.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01922/2.197, allocations: 9.57 MB / 0.8561 GB, free: 174.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006256/2.204, allocations: 4.189 MB / 0.8602 GB, free: 173.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.673e-06/2.204, allocations: 0 / 0.8602 GB, free: 173.3 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1)