Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.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.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques2",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.001713/0.001713, allocations: 193 kB / 7.806 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.422/1.422, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0009053/0.0009053, allocations: 95.73 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.2117/0.2117, allocations: 43.5 MB / 352.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.233/0.4448, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.8169, allocations: 58.84 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.9751, allocations: 105 MB / 0.568 GB, free: 9.875 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.9754, allocations: 79.47 kB / 0.5681 GB, free: 9.801 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: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.7087/1.684, allocations: 173.9 MB / 0.7379 GB, free: 68.42 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/1.684, allocations: 8 kB / 0.7379 GB, free: 68.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04729/1.732, allocations: 11.66 MB / 0.7493 GB, free: 56.72 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0283/1.76, allocations: 11.08 MB / 0.7601 GB, free: 45.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005741/1.76, allocations: 276 kB / 0.7603 GB, free: 45.39 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005555/1.766, allocations: 0.4998 MB / 0.7608 GB, free: 44.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02599/1.792, allocations: 11.87 MB / 0.7724 GB, free: 33.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04588/1.838, allocations: 17.62 MB / 0.7896 GB, free: 13.88 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008147/1.839, allocations: 103.1 kB / 0.7897 GB, free: 13.78 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004614/1.843, allocations: 51.91 kB / 0.7898 GB, free: 13.73 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00288/1.846, allocations: 1.961 MB / 0.7917 GB, free: 11.77 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5082/2.355, allocations: 80.99 MB / 0.8708 GB, free: 102.9 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007487/2.362, allocations: 6.394 MB / 0.877 GB, free: 102.2 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005793/2.368, allocations: 4.542 MB / 0.8815 GB, free: 102.1 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02259/2.391, allocations: 14 MB / 0.8951 GB, free: 98.8 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/2.391, allocations: 71.22 kB / 0.8952 GB, free: 98.77 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=300): time 7.434e-06/2.391, allocations: 0 / 0.8952 GB, free: 98.77 MB / 0.4949 GB Notification: Performance of matching and sorting (n=327): time 0.06889/2.46, allocations: 30.89 MB / 0.9254 GB, free: 87.96 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/2.46, allocations: 296 kB / 0.9256 GB, free: 87.64 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01236/2.472, allocations: 5.65 MB / 0.9312 GB, free: 85.65 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.000905/2.473, allocations: 26.83 kB / 0.9312 GB, free: 85.62 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003634/2.477, allocations: 5.347 MB / 0.9364 GB, free: 81.59 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.00202/2.479, allocations: 1.202 MB / 0.9376 GB, free: 80.71 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006914/2.48, allocations: 0 / 0.9376 GB, free: 80.71 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006073/2.48, allocations: 0.7275 MB / 0.9383 GB, free: 80.22 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005538/2.486, allocations: 3.45 MB / 0.9417 GB, free: 79.03 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00828/2.494, allocations: 9.354 MB / 0.9508 GB, free: 69.85 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/2.504, allocations: 5.641 MB / 0.9563 GB, free: 68.19 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003948/2.505, allocations: 61.16 kB / 0.9564 GB, free: 68.19 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1307) (initialization): time 0.02938/2.534, allocations: 12.29 MB / 0.9684 GB, free: 59.86 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/2.534, allocations: 4 kB / 0.9684 GB, free: 59.85 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008171/2.535, allocations: 214.2 kB / 0.9686 GB, free: 59.64 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003224/2.538, allocations: 1.059 MB / 0.9696 GB, free: 58.75 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009133/2.548, allocations: 2.3 MB / 0.9719 GB, free: 56.74 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/2.559, allocations: 10.65 MB / 0.9823 GB, free: 46.59 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01047/2.569, allocations: 322 kB / 0.9826 GB, free: 46.31 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002803/2.572, allocations: 0.5959 MB / 0.9831 GB, free: 45.73 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1227): * Single equations (assignments): 1220 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00363/2.576, allocations: 0.6332 MB / 0.9838 GB, free: 45.09 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002042/2.578, allocations: 0.5978 MB / 0.9843 GB, free: 44.49 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/2.59, allocations: 5.712 MB / 0.9899 GB, free: 39.73 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001031/2.59, allocations: 32 kB / 0.99 GB, free: 39.7 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-05/2.59, allocations: 15.91 kB / 0.99 GB, free: 39.68 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.278e-05/2.59, allocations: 14.2 kB / 0.99 GB, free: 39.68 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03171/2.622, allocations: 13.21 MB / 1.003 GB, free: 28.95 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.701e-05/2.622, allocations: 4 kB / 1.003 GB, free: 28.95 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003197/2.625, allocations: 0.5179 MB / 1.003 GB, free: 28.52 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002058/2.627, allocations: 0.6957 MB / 1.004 GB, free: 27.97 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005237/2.628, allocations: 11.89 kB / 1.004 GB, free: 27.96 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009114/2.637, allocations: 9.513 MB / 1.013 GB, free: 18.79 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/2.637, allocations: 11.97 kB / 1.013 GB, free: 18.78 MB / 0.4949 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01651/2.653, allocations: 9.841 MB / 1.023 GB, free: 9.973 MB / 0.4949 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2544/2.908, allocations: 14.72 MB / 1.037 GB, free: 131.5 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004133/2.912, allocations: 1.069 MB / 1.038 GB, free: 131.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002185/2.914, allocations: 3.844 kB / 1.038 GB, free: 131.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004082/2.918, allocations: 105.3 kB / 1.039 GB, free: 131.4 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000467/2.919, allocations: 148.8 kB / 1.039 GB, free: 131.4 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003409/2.919, allocations: 86.72 kB / 1.039 GB, free: 131.4 MB / 0.4949 GB Notification: Performance of sort global known variables: time 0.00833/2.927, allocations: 3.861 MB / 1.043 GB, free: 131.2 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01203/2.94, allocations: 1.605 MB / 1.044 GB, free: 131.2 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 263 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006922/2.94, allocations: 158.3 kB / 1.044 GB, free: 131.1 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.015/2.955, allocations: 8.567 MB / 1.053 GB, free: 130.7 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/2.955, allocations: 0 / 1.053 GB, free: 130.7 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004824/2.96, allocations: 3.06 MB / 1.056 GB, free: 130.3 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005247/2.965, allocations: 0.7146 MB / 1.056 GB, free: 130.2 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04561/3.011, allocations: 15 MB / 1.071 GB, free: 127.4 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01596/3.027, allocations: 6.603 MB / 1.077 GB, free: 126.5 MB / 0.4949 GB Notification: Performance of SimCode: time 1.353e-06/3.027, allocations: 3.188 kB / 1.077 GB, free: 126.5 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1)