Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",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.001107/0.001107, allocations: 188 kB / 7.805 MB, free: 2.488 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.53/1.53, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009567/0.0009567, allocations: 94.83 kB / 261.4 MB, free: 13.55 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.1927/0.1927, allocations: 43.49 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2129/0.4056, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.7468, allocations: 58.83 MB / 476.7 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1439/0.8907, allocations: 103.6 MB / 0.5666 GB, free: 11.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/0.8909, allocations: 75.97 kB / 0.5667 GB, free: 11.33 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: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.4921/1.383, allocations: 93.07 MB / 0.6576 GB, free: 107.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/1.383, allocations: 10.16 kB / 0.6576 GB, free: 107.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01446/1.397, allocations: 2.859 MB / 0.6604 GB, free: 107 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/1.41, allocations: 4.715 MB / 0.665 GB, free: 106.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/1.41, allocations: 139.8 kB / 0.6651 GB, free: 106.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00224/1.412, allocations: 259.5 kB / 0.6654 GB, free: 106.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01433/1.426, allocations: 7.971 MB / 0.6732 GB, free: 106.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02163/1.448, allocations: 10.38 MB / 0.6833 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001706/1.448, allocations: 30.75 kB / 0.6833 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001478/1.45, allocations: 15.34 kB / 0.6834 GB, free: 103.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001724/1.452, allocations: 1.305 MB / 0.6846 GB, free: 103.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05882/1.51, allocations: 35.26 MB / 0.7191 GB, free: 82.42 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/1.514, allocations: 2.672 MB / 0.7217 GB, free: 80.01 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002684/1.517, allocations: 2.205 MB / 0.7238 GB, free: 77.99 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0148/1.532, allocations: 9.476 MB / 0.7331 GB, free: 69.27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/1.532, allocations: 55.91 kB / 0.7331 GB, free: 69.21 MB / 474.7 MB Notification: Performance of pre-optimization done (n=213): time 3.807e-06/1.532, allocations: 0 / 0.7331 GB, free: 69.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=240): time 0.02416/1.556, allocations: 10.36 MB / 0.7432 GB, free: 60.42 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/1.556, allocations: 82.06 kB / 0.7433 GB, free: 60.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005298/1.561, allocations: 2.658 MB / 0.7459 GB, free: 57.98 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006655/1.562, allocations: 30.45 kB / 0.7459 GB, free: 57.95 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/1.563, allocations: 3.005 MB / 0.7489 GB, free: 55.01 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009638/1.564, allocations: 0.8943 MB / 0.7498 GB, free: 54.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/1.565, allocations: 0 / 0.7498 GB, free: 54.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000299/1.565, allocations: 0.5707 MB / 0.7503 GB, free: 53.52 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002798/1.568, allocations: 2.402 MB / 0.7527 GB, free: 51.12 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003913/1.572, allocations: 5.8 MB / 0.7583 GB, free: 43.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004453/1.576, allocations: 3.81 MB / 0.762 GB, free: 39.81 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.695e-05/1.576, allocations: 36 kB / 0.7621 GB, free: 39.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.01497/1.591, allocations: 8.248 MB / 0.7701 GB, free: 31.52 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/1.591, allocations: 8.172 kB / 0.7701 GB, free: 31.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001491/1.592, allocations: 124 kB / 0.7703 GB, free: 31.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003579/1.595, allocations: 0.938 MB / 0.7712 GB, free: 30.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005176/1.6, allocations: 1.415 MB / 0.7726 GB, free: 29.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/1.603, allocations: 2.36 MB / 0.7749 GB, free: 26.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004816/1.607, allocations: 171.9 kB / 0.775 GB, free: 26.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/1.609, allocations: 371.9 kB / 0.7754 GB, free: 26.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 548 * Number of states: 0 () * Number of discrete variables: 24 (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 (775): * Single equations (assignments): 766 * 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.0008896/1.609, allocations: 416.7 kB / 0.7758 GB, free: 25.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004815/1.61, allocations: 291.3 kB / 0.7761 GB, free: 25.32 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007836/1.618, allocations: 4.677 MB / 0.7806 GB, free: 20.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.187e-05/1.618, allocations: 39.98 kB / 0.7807 GB, free: 20.58 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.618, allocations: 3.906 kB / 0.7807 GB, free: 20.58 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-05/1.618, allocations: 7.969 kB / 0.7807 GB, free: 20.57 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01834/1.636, allocations: 9.115 MB / 0.7896 GB, free: 11.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/1.636, allocations: 4 kB / 0.7896 GB, free: 11.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/1.638, allocations: 359.5 kB / 0.7899 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003086/1.641, allocations: 0.763 MB / 0.7907 GB, free: 10.31 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003447/1.642, allocations: 31.91 kB / 0.7907 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001915/1.644, allocations: 2.13 MB / 0.7928 GB, free: 8.035 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.644, allocations: 4 kB / 0.7928 GB, free: 8.031 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009701/1.653, allocations: 7.067 MB / 0.7997 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01505/1.668, allocations: 10.03 MB / 0.8095 GB, free: 6.781 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/1.67, allocations: 337.2 kB / 0.8098 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008752/1.671, allocations: 12 kB / 0.8098 GB, free: 6.418 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/1.672, allocations: 55.91 kB / 0.8099 GB, free: 6.363 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003296/1.673, allocations: 113.8 kB / 0.81 GB, free: 6.254 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002022/1.673, allocations: 67.95 kB / 0.81 GB, free: 6.188 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.003194/1.676, allocations: 1.748 MB / 0.8117 GB, free: 4.438 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005655/1.682, allocations: 0.9101 MB / 0.8126 GB, free: 3.527 MB / 490.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.0005505/1.682, allocations: 150.7 kB / 0.8128 GB, free: 3.379 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01118/1.693, allocations: 6.079 MB / 0.8187 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.693, allocations: 4 kB / 0.8187 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004331/1.698, allocations: 2.446 MB / 0.8211 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/1.7, allocations: 282.5 kB / 0.8214 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02108/1.721, allocations: 9.04 MB / 0.8302 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1964/1.917, allocations: 3.917 MB / 0.834 GB, free: 180 MB / 0.4948 GB Notification: Performance of SimCode: time 1.453e-06/1.917, allocations: 0 / 0.834 GB, free: 180 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1)