Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",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.001386/0.001386, allocations: 186 kB / 7.799 MB, free: 2.504 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.122/1.122, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0009175/0.0009175, allocations: 91.27 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.1894/0.1894, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2039/0.3933, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.7254, allocations: 58.83 MB / 476.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.8808, allocations: 103.8 MB / 0.5668 GB, free: 11.21 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.8811, allocations: 83.12 kB / 0.5669 GB, free: 11.14 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.5399/1.421, allocations: 97.18 MB / 0.6618 GB, free: 88.74 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/1.421, allocations: 11.06 kB / 0.6618 GB, free: 88.74 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/1.435, allocations: 2.884 MB / 0.6646 GB, free: 88.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01327/1.449, allocations: 4.857 MB / 0.6693 GB, free: 87.86 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/1.449, allocations: 151.4 kB / 0.6695 GB, free: 87.86 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002053/1.451, allocations: 274.1 kB / 0.6697 GB, free: 87.86 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01236/1.463, allocations: 8.244 MB / 0.6778 GB, free: 87.83 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02223/1.486, allocations: 10.76 MB / 0.6883 GB, free: 86.43 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/1.486, allocations: 39.41 kB / 0.6883 GB, free: 86.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006837/1.487, allocations: 13.62 kB / 0.6884 GB, free: 86.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001675/1.488, allocations: 1.321 MB / 0.6896 GB, free: 86.36 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04962/1.538, allocations: 36.31 MB / 0.7251 GB, free: 64.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003375/1.541, allocations: 2.462 MB / 0.7275 GB, free: 62.25 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002724/1.544, allocations: 2.21 MB / 0.7297 GB, free: 60.22 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0133/1.557, allocations: 9.512 MB / 0.739 GB, free: 50.33 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/1.557, allocations: 51.88 kB / 0.739 GB, free: 50.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=213): time 4.929e-06/1.558, allocations: 0 / 0.739 GB, free: 50.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=233): time 0.01951/1.577, allocations: 10.78 MB / 0.7495 GB, free: 39.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/1.577, allocations: 73.41 kB / 0.7496 GB, free: 39.41 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003354/1.58, allocations: 2.785 MB / 0.7523 GB, free: 36.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001573/1.581, allocations: 25.7 kB / 0.7523 GB, free: 36.59 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001053/1.582, allocations: 3.159 MB / 0.7554 GB, free: 33.38 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005206/1.582, allocations: 0.8635 MB / 0.7563 GB, free: 32.51 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/1.582, allocations: 0 / 0.7563 GB, free: 32.51 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000255/1.583, allocations: 0.5865 MB / 0.7568 GB, free: 31.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002496/1.585, allocations: 2.379 MB / 0.7592 GB, free: 29.53 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003676/1.589, allocations: 5.885 MB / 0.7649 GB, free: 21.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003962/1.593, allocations: 3.813 MB / 0.7686 GB, free: 18.07 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-05/1.593, allocations: 36 kB / 0.7687 GB, free: 18.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=842) (initialization): time 0.01282/1.606, allocations: 8.263 MB / 0.7767 GB, free: 9.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.606, allocations: 8 kB / 0.7768 GB, free: 9.762 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.984e-05/1.606, allocations: 124 kB / 0.7769 GB, free: 9.641 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00335/1.609, allocations: 0.9431 MB / 0.7778 GB, free: 8.691 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004514/1.614, allocations: 1.435 MB / 0.7792 GB, free: 7.254 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/1.616, allocations: 2.363 MB / 0.7815 GB, free: 4.773 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004272/1.62, allocations: 175.8 kB / 0.7817 GB, free: 4.602 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007394/1.621, allocations: 380 kB / 0.782 GB, free: 4.23 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 27 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (789): * Single equations (assignments): 780 * 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.0007745/1.622, allocations: 420.1 kB / 0.7824 GB, free: 3.816 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000446/1.622, allocations: 300.1 kB / 0.7827 GB, free: 3.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007712/1.63, allocations: 4.526 MB / 0.7871 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-05/1.63, allocations: 36 kB / 0.7872 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.63, allocations: 4 kB / 0.7872 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.629e-05/1.63, allocations: 11.95 kB / 0.7872 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02039/1.65, allocations: 8.986 MB / 0.796 GB, free: 5.902 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/1.65, allocations: 0 / 0.796 GB, free: 5.902 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002089/1.652, allocations: 343.5 kB / 0.7963 GB, free: 5.566 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003424/1.656, allocations: 0.7631 MB / 0.797 GB, free: 4.793 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003736/1.656, allocations: 27.91 kB / 0.7971 GB, free: 4.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002599/1.659, allocations: 2.13 MB / 0.7991 GB, free: 2.527 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/1.659, allocations: 0 / 0.7991 GB, free: 2.527 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01257/1.672, allocations: 6.866 MB / 0.8058 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0147/1.686, allocations: 9.727 MB / 0.8153 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/1.688, allocations: 345.1 kB / 0.8157 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00054/1.688, allocations: 8 kB / 0.8157 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/1.689, allocations: 59.91 kB / 0.8157 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/1.69, allocations: 101.8 kB / 0.8158 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/1.69, allocations: 63.97 kB / 0.8159 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.00305/1.693, allocations: 1.831 MB / 0.8177 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005723/1.699, allocations: 0.9256 MB / 0.8186 GB, free: 14.47 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 177 * 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.0005737/1.699, allocations: 151.5 kB / 0.8187 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01191/1.711, allocations: 6.007 MB / 0.8246 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.711, allocations: 0 / 0.8246 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004517/1.716, allocations: 2.364 MB / 0.8269 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/1.718, allocations: 331.9 kB / 0.8272 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.226/1.944, allocations: 9.252 MB / 0.8363 GB, free: 197.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005713/1.95, allocations: 4.063 MB / 0.8402 GB, free: 196.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.645e-06/1.95, allocations: 0 / 0.8402 GB, free: 196.2 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1)