Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity",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 4.0.0+maint.om/package.mo): time 0.0009931/0.0009932, allocations: 182.8 kB / 8.525 MB, free: 1.73 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 221.4 MB / 230.3 MB, free: 7.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009007/0.0009007, allocations: 84.72 kB / 281.2 MB, free: 5.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1622/0.1622, allocations: 44.15 MB / 376.1 MB, free: 3.266 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1974/0.3597, allocations: 68.03 MB / 444.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.4612, allocations: 61.91 MB / 0.4942 GB, free: 1.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2824/0.7437, allocations: 107.9 MB / 0.5996 GB, free: 4.805 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.744, allocations: 75.95 kB / 0.5997 GB, free: 4.73 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: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.2258/0.9698, allocations: 82.75 MB / 0.6805 GB, free: 1.363 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.9699, allocations: 11.94 kB / 0.6805 GB, free: 1.352 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009984/0.9799, allocations: 1.847 MB / 0.6823 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/0.993, allocations: 4.589 MB / 0.6868 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002177/0.9932, allocations: 143.9 kB / 0.6869 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001566/0.9948, allocations: 248 kB / 0.6871 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0118/1.007, allocations: 6.123 MB / 0.6931 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1685/1.175, allocations: 9.386 MB / 0.7023 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001356/1.175, allocations: 56.5 kB / 0.7023 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005199/1.176, allocations: 33.09 kB / 0.7024 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001144/1.177, allocations: 1.037 MB / 0.7034 GB, free: 170.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03983/1.217, allocations: 47.83 MB / 0.7501 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/1.22, allocations: 2.543 MB / 0.7526 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/1.222, allocations: 1.674 MB / 0.7542 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008669/1.23, allocations: 6.033 MB / 0.7601 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/1.23, allocations: 50.38 kB / 0.7602 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=141): time 5.15e-06/1.231, allocations: 1.031 kB / 0.7602 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=148): time 0.01912/1.25, allocations: 9.581 MB / 0.7695 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/1.25, allocations: 146.4 kB / 0.7697 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004422/1.254, allocations: 2.942 MB / 0.7725 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002373/1.254, allocations: 25.7 kB / 0.7726 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001124/1.256, allocations: 2.93 MB / 0.7754 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005903/1.256, allocations: 0.5896 MB / 0.776 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/1.256, allocations: 0 / 0.776 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002873/1.257, allocations: 0.5566 MB / 0.7765 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/1.259, allocations: 1.953 MB / 0.7784 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003276/1.262, allocations: 5.684 MB / 0.784 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003644/1.266, allocations: 3.306 MB / 0.7872 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-05/1.266, allocations: 38.31 kB / 0.7873 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.01756/1.284, allocations: 7.881 MB / 0.795 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.284, allocations: 4.312 kB / 0.795 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01006/1.294, allocations: 2.979 MB / 0.7979 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009963/1.304, allocations: 1.581 MB / 0.7994 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004728/1.308, allocations: 1.359 MB / 0.8007 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006987/1.315, allocations: 5.34 MB / 0.806 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004804/1.32, allocations: 233.1 kB / 0.8062 GB, free: 111 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001003/1.321, allocations: 370 kB / 0.8065 GB, free: 110.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.arrowLine.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (738): * Single equations (assignments): 729 * Array equations: 5 * 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 {(3,100.0%),(4,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.001378/1.323, allocations: 445.3 kB / 0.807 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006835/1.323, allocations: 300.2 kB / 0.8072 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005585/1.329, allocations: 2.789 MB / 0.81 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00418/1.333, allocations: 2.367 MB / 0.8123 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/1.333, allocations: 0 / 0.8123 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/1.333, allocations: 10.84 kB / 0.8123 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/1.348, allocations: 7.865 MB / 0.82 GB, free: 99.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/1.348, allocations: 3.656 kB / 0.82 GB, free: 99.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/1.349, allocations: 229.8 kB / 0.8202 GB, free: 99.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002938/1.352, allocations: 0.9595 MB / 0.8211 GB, free: 98.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/1.353, allocations: 23.16 kB / 0.8211 GB, free: 98.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00481/1.357, allocations: 4.82 MB / 0.8259 GB, free: 94.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006181/1.358, allocations: 1.376 MB / 0.8272 GB, free: 92.66 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007039/1.365, allocations: 5.213 MB / 0.8323 GB, free: 88.04 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009155/1.374, allocations: 7.27 MB / 0.8394 GB, free: 81.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007745/1.375, allocations: 350.2 kB / 0.8397 GB, free: 81.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007038/1.376, allocations: 10.67 kB / 0.8397 GB, free: 81.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/1.378, allocations: 75 kB / 0.8398 GB, free: 81.14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/1.378, allocations: 69.19 kB / 0.8399 GB, free: 81.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/1.378, allocations: 43.78 kB / 0.8399 GB, free: 81.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002804/1.381, allocations: 1.944 MB / 0.8418 GB, free: 79.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005384/1.386, allocations: 0.9405 MB / 0.8427 GB, free: 78.36 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 107 * Array equations: 3 * 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.0004691/1.387, allocations: 151.7 kB / 0.8429 GB, free: 78.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008134/1.395, allocations: 5.219 MB / 0.848 GB, free: 72.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.395, allocations: 0 / 0.848 GB, free: 72.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003525/1.398, allocations: 2.01 MB / 0.8499 GB, free: 70.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/1.4, allocations: 335.5 kB / 0.8503 GB, free: 70.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/1.414, allocations: 7.693 MB / 0.8578 GB, free: 62.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003657/1.418, allocations: 3.538 MB / 0.8612 GB, free: 59.29 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/1.418, allocations: 0 / 0.8612 GB, free: 59.29 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1)