Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion",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 trunk/package.mo): time 0.001545/0.001545, allocations: 195.4 kB / 8.54 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008996/0.0008997, allocations: 93.06 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1708/0.1708, allocations: 45.14 MB / 383.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.185/0.3558, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0799/0.4357, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.262/0.6978, allocations: 103.6 MB / 0.6051 GB, free: 15.37 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.698, allocations: 76.95 kB / 0.6051 GB, free: 15.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: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.2259/0.9239, allocations: 89.75 MB / 0.6928 GB, free: 13.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.924, allocations: 15.98 kB / 0.6928 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01499/0.939, allocations: 2.982 MB / 0.6957 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/0.9491, allocations: 4.132 MB / 0.6997 GB, free: 6.582 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.9493, allocations: 120 kB / 0.6999 GB, free: 6.465 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008044/0.9501, allocations: 215.9 kB / 0.7001 GB, free: 6.254 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01026/0.9603, allocations: 7.247 MB / 0.7071 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01259/0.9729, allocations: 9.495 MB / 0.7164 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.505e-05/0.9731, allocations: 31.72 kB / 0.7164 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005012/0.9736, allocations: 12 kB / 0.7165 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001373/0.9749, allocations: 1.238 MB / 0.7177 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0428/1.018, allocations: 33.83 MB / 0.7507 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1325/1.15, allocations: 2.679 MB / 0.7533 GB, free: 203.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002172/1.153, allocations: 2.212 MB / 0.7555 GB, free: 203.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01115/1.164, allocations: 9.439 MB / 0.7647 GB, free: 200.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/1.164, allocations: 50.25 kB / 0.7647 GB, free: 200.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=205): time 4.579e-06/1.164, allocations: 3.875 kB / 0.7647 GB, free: 200.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=230): time 0.02771/1.191, allocations: 15.18 MB / 0.7796 GB, free: 199.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/1.192, allocations: 71.94 kB / 0.7796 GB, free: 199.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/1.194, allocations: 2.556 MB / 0.7821 GB, free: 199.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001341/1.194, allocations: 25.7 kB / 0.7822 GB, free: 199.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008946/1.195, allocations: 2.721 MB / 0.7848 GB, free: 197.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000481/1.196, allocations: 0.8385 MB / 0.7856 GB, free: 197.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/1.196, allocations: 0 / 0.7856 GB, free: 197.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002363/1.196, allocations: 0.5674 MB / 0.7862 GB, free: 196.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/1.199, allocations: 2.492 MB / 0.7886 GB, free: 196.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003575/1.203, allocations: 5.662 MB / 0.7941 GB, free: 192.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003849/1.206, allocations: 3.824 MB / 0.7979 GB, free: 191 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.194e-05/1.206, allocations: 29.34 kB / 0.7979 GB, free: 191 MB / 0.5261 GB Notification: Performance of matching and sorting (n=784) (initialization): time 0.01812/1.225, allocations: 8.801 MB / 0.8065 GB, free: 188.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/1.225, allocations: 7.781 kB / 0.8065 GB, free: 188.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01278/1.237, allocations: 4.321 MB / 0.8107 GB, free: 187.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01089/1.248, allocations: 1.589 MB / 0.8123 GB, free: 187.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004709/1.253, allocations: 1.304 MB / 0.8136 GB, free: 187 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005615/1.259, allocations: 4.554 MB / 0.818 GB, free: 182.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004072/1.263, allocations: 216 kB / 0.8182 GB, free: 182.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000514/1.263, allocations: 347.1 kB / 0.8185 GB, free: 182.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 26 (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.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.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 (722): * Single equations (assignments): 710 * 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.0006439/1.264, allocations: 391.8 kB / 0.8189 GB, free: 181.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003291/1.264, allocations: 272.4 kB / 0.8192 GB, free: 181.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007537/1.265, allocations: 444.4 kB / 0.8196 GB, free: 181.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007492/1.273, allocations: 4.413 MB / 0.8239 GB, free: 177.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/1.273, allocations: 0 / 0.8239 GB, free: 177.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/1.273, allocations: 7.828 kB / 0.8239 GB, free: 177.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01788/1.291, allocations: 11.61 MB / 0.8353 GB, free: 168.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/1.291, allocations: 4 kB / 0.8353 GB, free: 168.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/1.292, allocations: 321.7 kB / 0.8356 GB, free: 167.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004228/1.296, allocations: 1.026 MB / 0.8366 GB, free: 167.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000196/1.297, allocations: 19.73 kB / 0.8366 GB, free: 167.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003875/1.301, allocations: 4.227 MB / 0.8407 GB, free: 163.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006383/1.301, allocations: 1.374 MB / 0.8421 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01042/1.312, allocations: 7.779 MB / 0.8496 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01264/1.324, allocations: 10.95 MB / 0.8603 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005477/1.325, allocations: 340.2 kB / 0.8607 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004714/1.325, allocations: 11.7 kB / 0.8607 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/1.327, allocations: 96.92 kB / 0.8608 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/1.327, allocations: 104.5 kB / 0.8609 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001975/1.327, allocations: 63.69 kB / 0.8609 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002012/1.329, allocations: 1.687 MB / 0.8626 GB, free: 143 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004403/1.334, allocations: 0.9745 MB / 0.8635 GB, free: 142 MB / 0.5261 GB 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 (172): * Single equations (assignments): 162 * 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.0003854/1.334, allocations: 164 kB / 0.8637 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008068/1.342, allocations: 6.365 MB / 0.8699 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/1.342, allocations: 0 / 0.8699 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003926/1.346, allocations: 2.696 MB / 0.8725 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/1.347, allocations: 242 kB / 0.8728 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/1.36, allocations: 8.684 MB / 0.8812 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004027/1.364, allocations: 3.603 MB / 0.8848 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/1.364, allocations: 0 / 0.8848 GB, free: 122.3 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1)